Commit b67d44f
docs: clarify /dashboard?tab= links are stable, not legacy (#430)
## Summary
Adds documentation comments clarifying that the `/dashboard?tab=<tab>`
links are **not legacy** and must keep working forever. These links are
stable public entrypoints crosslinked from emails, docs, and the CLI, so
removing tabs or changing the redirect contract would break those
external references.
No behavior change — comments only.
- `src/configs/dashboard-tab-url-map.ts`: doc comment on `TAB_URL_MAP`
explaining the links are stable public entrypoints and must not be
removed.
- `src/app/dashboard/route.ts`: doc comment on the `GET` handler
describing the `/dashboard?tab=keys` → `/dashboard/<team-slug>/keys`
redirect behavior and that it must keep working.
Context: Slack thread where Ben confirmed these are not legacy; Jakub
asked to add a comment so they aren't accidentally removed.
Link to Devin session:
https://app.devin.ai/sessions/a908d9ec7fd24404ab77b44622e4f716
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: jakub@e2b.dev <jakub@e2b.dev>1 parent e8e6577 commit b67d44f
2 files changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
21 | 29 | | |
22 | 30 | | |
23 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
3 | 11 | | |
4 | 12 | | |
5 | 13 | | |
| |||
0 commit comments