Commit 5e54a32
fix(ui): make Feed tab clickable — add /feed route + tabFromPath branch
Commit 1e92e7d ("move Pane to first tab") flipped the URL default from
feed → pane but missed two follow-ups:
1. App.tsx has explicit routes for every tab except `/s/:name/feed`.
When the user clicked Feed, navigate("/s/<name>/feed") matched the
catch-all `<Navigate to="/" replace />` and yanked them back to
the dashboard — the visible symptom was "Feed tab unclickable".
2. tabFromPath had no `endsWith("/feed")` branch (it relied on the
implicit default that used to be feed). Even if the route had
existed, the tab indicator would have stayed on Pane.
Add the route and the branch. No other changes.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent a01f234 commit 5e54a32
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
0 commit comments