Alerts pagers reset the other lists' page and acknowledged filter
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 72/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- nextjs, react, typescript
- Ambito
- frontend
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 1
- Fork
- 1
- Merge medio
- 6h 56m
- PR unite (30g)
- 136
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di eddiejaoude/StackDash
-
area: docs documentation priority: P3 size: S
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
eddiejaoude/StackDash#462 ·
I maintainer di solito rispondono entro 1 giorno
-
area: web bug priority: P3 size: XS
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
eddiejaoude/StackDash#432 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area: database bug priority: P3 size: S
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
eddiejaoude/StackDash#419 ·
I maintainer di solito rispondono entro 1 giorno
-
area: docs bug priority: P2 size: XS
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
eddiejaoude/StackDash#418 ·
I maintainer di solito rispondono entro 1 giorno
-
accessibility area: timeline bug priority: P3 size: XS
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
eddiejaoude/StackDash#389 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di eddiejaoude/StackDash
Issue simili
-
Bug: Broken RTL / BiDi text rendering when mixing Persian (Farsi) with English or numbersForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 2/5 Mezza giornata Idoneità per principianti 68/100
amosblomqvist/learnharness#758 ·
I maintainer di solito rispondono entro 2 giorni
-
Change WorkspacesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
bitfocus/companion-module-renewedvision-propresenter-api#134 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
rcpch/digital-growth-charts-react-component-library#304 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
dsh-market/dsh-market#1210 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
trustjonathan/STUDY-HUB#13 ·