Drop or wire up dead ?welcome=teammate query marker #185

Open
opened 2026-05-15 05:45:19 +00:00 by chihlasm · 0 comments
Owner

Two sites write ?welcome=teammate as a marker for the dashboard to surface a teammate-welcome banner, but no consumer exists in frontend/src:

  • frontend/src/pages/AcceptInvitePage.tsx:124navigate('/?welcome=teammate', { replace: true })
  • frontend/src/pages/OAuthCallbackPage.tsx:118dest = '/home?welcome=teammate'

Both sites annotate the marker as "decoded by the dashboard in Task 41" but no Task 41 consumer landed. The dashboard's onboarding UX is driven by getOnboardingStatus, not URL state.

This is the same dead-marker pattern we just dropped from ?welcome=true and ?verified=1 in PR #174 — leaving these in invites the next reader to wonder whether they're load-bearing.

Options

(a) Ship Task 41 — wire up a teammate-welcome banner on /home that decodes ?welcome=teammate and shows a one-time greeting (then strips the param).

(b) Drop the marker — remove ?welcome=teammate from both sites, simplify AcceptInvitePage:124 to navigate('/home', { replace: true }) (it's currently / which goes through PublicLanding's redirect flicker), and update OAuthCallbackPage:118 to plain /home.

Acceptance

Either a real consumer renders something differentiated when ?welcome=teammate is present, or the marker is gone from the codebase.

Two sites write `?welcome=teammate` as a marker for the dashboard to surface a teammate-welcome banner, but no consumer exists in `frontend/src`: - `frontend/src/pages/AcceptInvitePage.tsx:124` — `navigate('/?welcome=teammate', { replace: true })` - `frontend/src/pages/OAuthCallbackPage.tsx:118` — `dest = '/home?welcome=teammate'` Both sites annotate the marker as "decoded by the dashboard in Task 41" but no Task 41 consumer landed. The dashboard's onboarding UX is driven by `getOnboardingStatus`, not URL state. This is the same dead-marker pattern we just dropped from `?welcome=true` and `?verified=1` in PR #174 — leaving these in invites the next reader to wonder whether they're load-bearing. ## Options **(a) Ship Task 41** — wire up a teammate-welcome banner on `/home` that decodes `?welcome=teammate` and shows a one-time greeting (then strips the param). **(b) Drop the marker** — remove `?welcome=teammate` from both sites, simplify `AcceptInvitePage:124` to `navigate('/home', { replace: true })` (it's currently `/` which goes through PublicLanding's redirect flicker), and update `OAuthCallbackPage:118` to plain `/home`. ## Acceptance Either a real consumer renders something differentiated when `?welcome=teammate` is present, or the marker is gone from the codebase.
Sign in to join this conversation.