You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: support staged: URL scheme to prefill New Project UI
Register a custom `staged:` URL scheme so that navigating to e.g.
`staged://github.com/owner/repo/pull/123` in a browser opens Staged
and prefills the New Project form with the parsed GitHub URL.
Backend:
- Add tauri-plugin-deep-link dependency and register the plugin
- Configure the `staged` scheme in tauri.conf.json and Info.plist
- Add deep-link:default capability permission
- Forward incoming URLs to the frontend via a `deep-link-open` event,
handling both app-already-running and cold-launch cases
Frontend:
- Add deepLink.ts utility to convert `staged:` URLs to `https:` URLs
- App.svelte listens for `deep-link-open` and dispatches a
`staged:new-project-with-url` window event with the converted URL
- ProjectsList, NewProjectModal, SplashScreen, and NewProjectForm all
accept an optional `initialUrl` prop that gets parsed via the
existing `parseGitHubUrl` helper to prefill repo/PR/branch fields
0 commit comments