Files
loki/docs
Mao NakamotoandClaude Fable 5 10d7df029c feat(projects): OC→FC create deep link — /projects?new=1&name=<prefill>
OrangeCat users can now land in FleetCrown with an intent to create:
/projects?new=1 opens the Add Project dialog on load, ?name= prefills
the name field. Params are one-shot — stripped via replaceState after
opening so reload/back doesn't retrigger the dialog.

- ModalForm: new optional defaultOpen prop (backwards compatible)
- NewProjectButton: autoOpen + initialName props + URL cleanup effect
- projects/page.tsx: reads searchParams server-side, passes down
- docs: bridge Part B status updated (deep link implemented; onboarding
  gate drops the callback for brand-new users — noted as caveat)

Query params survive the sign-in redirect: middleware sets
callbackUrl=pathname+search and SignInForm passes it to signIn().

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 21:16:44 +02:00
..