Files
woodpecker/web
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
..
2023-10-31 09:14:09 +01:00
2024-01-27 21:15:10 +01:00
2026-05-14 14:11:55 +02:00
2026-05-18 09:20:44 +02:00