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

Allow disabling add-ons without uninstalling them. #725

Open
RokeJulianLockhart opened this issue Nov 13, 2024 · 0 comments
Open

Allow disabling add-ons without uninstalling them. #725

RokeJulianLockhart opened this issue Nov 13, 2024 · 0 comments
Labels
enhancement Current feature enhancement

Comments

@RokeJulianLockhart
Copy link

Sometimes, I want to temporarily disable an add-on, leaving it easily possible to enable in the GUI. However, I currently have to uninstall and reinstall the add-on, instead.

@kKaskak kKaskak added the enhancement Current feature enhancement label Nov 16, 2024
theguy000 added a commit to theguy000/stremio-web that referenced this issue Nov 21, 2024
Fixes Stremio#725

Add functionality to disable and enable add-ons without uninstalling them.

* **`src/common/AddonDetailsModal/AddonDetailsModal.js`**
  - Add "Disable" button for installed add-ons.
  - Add "Enable" button for disabled add-ons.
  - Modify `modalButtons` to include the new buttons.

* **`src/routes/Addons/Addon/Addon.js`**
  - Add "Disable" button for installed add-ons.
  - Add "Enable" button for disabled add-ons.
  - Modify `toggleButtonOnClick` function to handle disabling and enabling add-ons.
  - Update PropTypes to include `disabled`.

* **`src/services/Core/Core.js`**
  - Add method to disable an add-on.
  - Add method to enable an add-on.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Current feature enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants