Skip to content

feat: shrink dashboard/form URLs to /b/*#242

Open
Rl0007 wants to merge 1 commit into
mainfrom
feat/shrink-dashboard-urls
Open

feat: shrink dashboard/form URLs to /b/*#242
Rl0007 wants to merge 1 commit into
mainfrom
feat/shrink-dashboard-urls

Conversation

@Rl0007

@Rl0007 Rl0007 commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Shortens the public dashboard/form URLs and keeps every old link working via 301 redirects. Closes #237.

Page Before After
App base /dashboard/* /b/*
Global proposal /dashboard/event-proposal /b/propose-talk
Event custom form /dashboard/events/<event>/forms/<form> /b/<event>/<form>
Register/book /dashboard/book-tickets/<event> /b/register/<event>

Back-compat: website_redirects (301) in hooks.py for all old paths + in-app Vue router redirects. Event routes are validated against reserved top-level words so a slug can't shadow a dashboard route.

Verified (buzz.localhost)

/dashboard/event-proposal          -> 301 -> /b/propose-talk
/dashboard/book-tickets/x          -> 301 -> /b/register/x
/dashboard/events/x/forms/feedback -> 301 -> /b/x/feedback
/dashboard/account/tickets         -> 301 -> /b/account/tickets
/b/propose-talk                    -> 200 (renders)
/b/<event>/<form>                  -> 200 (renders)

New routes render with real event data; old URLs follow the redirect in-browser. Screenshots attached below.

@Rl0007 Rl0007 added the wiki On merge, add/update a docs page in the bwh.tech/buzz wiki label Jun 29, 2026
Shorten public URLs: base /dashboard -> /b, custom event forms
/dashboard/events/<event>/forms/<form> -> /b/<event>/<form>, booking
/dashboard/book-tickets/<event> -> /b/register/<event>. The global
proposal page keeps its path (now /b/event-proposal). Old links keep
working via 301 website_redirects + in-app Vue router redirects. Reserve
top-level route words so an event slug can't shadow a dashboard route.
@Rl0007 Rl0007 force-pushed the feat/shrink-dashboard-urls branch from 4deb27d to fee2673 Compare June 30, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wiki On merge, add/update a docs page in the bwh.tech/buzz wiki

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shrink form/dashboard URLs (dashboard/events → d/e, forms → e)

1 participant