Repository navigation
Package show URI - #614
Package show URI#614
Conversation
|
Anywho this PR represents the design decision that |
|
Can't wait! Thanks for working on this @thedaniel. |
- Depends on atom/settings-view#614
|
@atom/feedback i think this is ready to review. I'm not fully confident that it handles all error states but I've tried to handle network errors in a simple, catch-all kind of way. I'd like to leave this undocumented for now as the initial use is just intended to be atom/welcome#38 - you can link that branch in dev mode to see it in action from the welcome package. When we address atom/atom#5262 we may discover some necessary changes, etc, and I would suggest documenting this at that time. |
There was a problem hiding this comment.
prolly should use an unless here
|
Will be cool to have this 👍 |
|
I'm going to merge this after our next release goes out, likely tuesday, and then get that metrics update in right after. |
|
Been testing this for a couple of days now, and not noticed any regressions or bugs ✨ Only thing missing, but that could perhaps be addressed in a separate PR, is serializing the current package panel details. If I e.g. reload Atom while viewing a package's config, I'll land back in the core settings panel after the reload. Whereas I expect to still be viewing the package config panel. At the very least I expect to remain in the Packages section. |
|
@thomasjo given that settings-view doesn't serialize that on master either (in other words, it's not a regression here), a separate issue / PR is fine. |
Support atom://packages/:name URI
This allows a package detail view to be shown directly from a URI, whether it's installed or not. This is useful for e.g. installing packages from links on the webiste (atom/atom#5262) or linking directly to the the metrics package from atom/welcome to make it simple to disable (atom/atom#4966) among other things.
Here's a dump of my notes for the flow, it should match the specs as well.