Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement deeplink support #293

Merged
merged 6 commits into from
May 24, 2024
Merged

Implement deeplink support #293

merged 6 commits into from
May 24, 2024

Conversation

macjuul
Copy link
Contributor

@macjuul macjuul commented May 24, 2024

This PR implements support for deeplinking to views and dispatching intents on desktop platforms. The logic is integrated into the existing file associations code and now supports file:// URIs as well as surrealist:// URIs.

  • Added surrealist:// protocol handler
  • Path segment can be used to navigate to views
  • ?intent= param can be used to trigger an intent
  • Limit Surrealist to a single instance

Also in this PR

  • Run internal web server on localhost
  • Center the window on open

Closes #288

@macjuul macjuul requested a review from kearfy May 24, 2024 10:00
@macjuul macjuul merged commit 2301fc8 into main May 24, 2024
1 check passed
@macjuul macjuul deleted the feat/deeplinking branch May 24, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Open Surrealist via URL Schema
1 participant