Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Add URI handler to show package pane - #1011

Merged
BinaryMuse merged 2 commits into
masterfrom
mkt-add-url-handler-to-show-packages
Oct 18, 2017
Merged

BinaryMuse merged 2 commits into
masterfrom
mkt-add-url-handler-to-show-packages

Conversation

@BinaryMuse

Copy link
Copy Markdown

Adds a URI handler for atom://settings-view/show-package?package=package_name that will open the package's page in Atom.

Depends on atom/atom#11399

@BinaryMuse
BinaryMuse merged commit 7716570 into master Oct 18, 2017
@BinaryMuse
BinaryMuse deleted the mkt-add-url-handler-to-show-packages branch October 18, 2017 16:39
Comment thread lib/main.coffee
settingsView.showPanel(panelName, options)

module.exports =
handleUri: (parsed) ->

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be handleURI right?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, if we want to match conventions with Atom core, yeah (I'll make that change directly on master), but this case matches what's in package.json.

@akonwi

akonwi commented Dec 15, 2017 •

Copy link
Copy Markdown

What are your thoughts on extending this so some extra parameters in the URI can be passed to the package if the user decides to install it.

This would allow some interesting experiences. For example, we could potentially pre-configure some package configs before the plugin is installed and immediately after the package is installed, those configs would be applied. It would also be useful for gleaning some info about the pre-atom interactions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants