-
Notifications
You must be signed in to change notification settings - Fork 174
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
feat: add uninstall button to store #739
base: main
Are you sure you want to change the base?
feat: add uninstall button to store #739
Conversation
@@ -32,7 +32,6 @@ const PluginCard: FC<PluginCardProps> = ({ storePlugin, installedPlugin }) => { | |||
|
|||
return ( | |||
<div | |||
className="deckyStoreCard" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These classes seemed unused.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
they exist for theme developers, keep them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AAGaming00 done. Also added a small warning documenting this.
@AAGaming00 need you to confirm any questions PR submitter had to make sure there aren't any issues with frontend changes made. Once the frontend changes have been reviewed I'll give this a spin myself. |
@alvaro-cuesta please revert 48f23f we should really document this practice... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comment
Although the classes seemed to be unused, they exist for theme developers. Also add a warning documenting this.
Class was removed in ebc2f52 because it seemed no longer needed after removing some styling, but it's actually there for theme developers.
Please tick as appropriate:
Description
This is a followup to PR #733. After discussing with @TrainDoctor on Discord he suggested it would be a good idea to also add an uninstall button to the store next to the "Reinstall" button (to plugins which are already installed).
To make the functionality more obvious, the button will only be shown on the "Reinstall" case, i.e. when the currently installed version is selected in the dropdown.