Files
woodpecker/web/src
6543andClaude fce6fb820c WebUI: unregister scaffold Tab on unmount and stable Tab order (#6842)
Tabs register themselves into the Scaffold's tabs list on mount but never remove their entry on unmount. Since param-only navigation (e.g. the superseded-by link, repo-to-repo links) reuses the wrapper and its Scaffold, a conditionally rendered tab like the pipeline *Errors* tab or the repo *Pull requests* tab stayed visible after its condition turned false, linking to an empty page.

Fix: remove the entry in `onBeforeUnmount`. The mount-time dedup guarantees at most one entry per route, so removal by route is safe. Includes lifecycle tests (register, dedup, unregister, re-register).

Co-authored-by: Claude <claude@anthropic.com>
2026-07-15 21:22:46 +02:00
..
2024-01-27 21:15:10 +01:00
2025-01-07 08:52:44 +01:00
2026-03-31 08:44:24 +02:00
2022-12-29 13:41:59 +01:00