simonw / datasette-app-support

Part of https://github.com/simonw/datasette-app
4 stars 2 forks source link

More plugin directory facet values: upgradable, default #11

Closed simonw closed 3 years ago

simonw commented 3 years ago

Plugins that are not at their most recent version should show a "upgrade" button and have a installation status of "upgradable"

Default plugins cannot be uninstalled, so should have a status of "default" and not offer the forthcoming uninstall button.

simonw commented 3 years ago

One catch: the list of default plugins belongs in the Electron app, not this support plugin. I'll probably need to pass it through as another environment variable.

simonw commented 3 years ago

I'm not going to make default a facet, but I will still need to pass it through.

Implemented a separate upgrade facet in f547c469bdf5388c6d3e430421764b3e0cf54fbd