Alerts pagers reset the other lists' page and acknowledged filter
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 72/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- nextjs, react, typescript
- 領域
- frontend
調査の方向性
Start with hrefFor in src/components/alerts/triggered-alerts.tsx (around lines 143-149) and pageHref in src/components/alerts/alert-settings.tsx (around lines 220-229) at commit 527f880, and trace how each link is passed the current query state. Both helpers should spread the existing acknowledged, alertsAfter, rulesAfter and budgetsAfter params and override only their own cursor; the acknowledged toggle needs the same treatment. The existing e2e suite is the place to add one cross-list case, and you are done when that test shows a budget click preserving an older alerts page with acknowledged alerts on.
索引モデルが issue の本文から書いたものです。
説明
Summary
The alerts page has three independent pagers, and each one drops the other lists' place. "Show older alerts" builds its link with hrefFor (src/components/alerts/triggered-alerts.tsx, lines 143 to 149 at 527f880), which sets only acknowledged and alertsAfter. "Show more rules" and "Show more budgets" build theirs with pageHref (src/components/alerts/alert-settings.tsx, lines 220 to 229), which sets only rulesAfter and budgetsAfter.
So paging the budgets resets the triggered alerts list to its newest page and turns off "Show acknowledged alerts", and paging the triggered alerts resets the rules and budgets lists to their first pages.
Found by the Fable review of #315 (round 1). It is the same on the base of that pull request, so it is its own issue rather than part of #313.
Scope
- Each pager link keeps every other list's query parameter (
acknowledged,alertsAfter,rulesAfter,budgetsAfter) and changes only its own cursor. - The "Show acknowledged alerts" toggle keeps
rulesAfterandbudgetsAfter.
Acceptance criteria
- With the triggered alerts on an older page and acknowledged alerts shown, "Show more budgets" keeps both.
- With rules and budgets on a later page, "Show older alerts" keeps both.
- An e2e test covers one cross-list case.
Model: anthropic/claude-opus-5-5 | Reasoning effort: low
- 主要言語
- TypeScript
- スター
- 1
- フォーク
- 1
- 平均マージ
- 6時間 56分
- マージ済み PR(30日)
- 136
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eddiejaoude/StackDash のほかの issue
-
area: docs documentation priority: P3 size: S
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
eddiejaoude/StackDash#462 ·
メンテナーはふだん 1 日以内に返信
-
area: web bug priority: P3 size: XS
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
eddiejaoude/StackDash#432 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: database bug priority: P3 size: S
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eddiejaoude/StackDash#419 ·
メンテナーはふだん 1 日以内に返信
-
area: docs bug priority: P2 size: XS
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
eddiejaoude/StackDash#418 ·
メンテナーはふだん 1 日以内に返信
-
accessibility area: timeline bug priority: P3 size: XS
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
eddiejaoude/StackDash#389 ·
メンテナーはふだん 1 日以内に返信
eddiejaoude/StackDash の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
open-webui/tether#52 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
voidzero-dev/void#835 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
AykutSarac/jsoncrack.com#616 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
melgarafael/DeskcommCRM#4679 ·
メンテナーはふだん 1 日以内に返信