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

Edit addon manifest feature and responsive enhancements #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

redd-ravenn
Copy link

Hi, first of all thank you for this project it allowed me to develop this functionality more easily, so it is with pleasure that I share this PR with you

This allows you to rename or delete a catalog from the interface (home, discover, search, etc.) and more thanks to advanced mode, without requiring forking, modifying & selfhosting the addon, thanks to an interface that allows you to modify the manifests of the addons

You must load the addons as usual, click on the edit button of the manifest of the addon concerned, a window appears with two modes:

  • (default) Classic mode: Edit specific addon information, such as name, description, logo and background URL, and catalogs (delete, rename, search only, etc)
    This mode is designed to make changes accessible to everyone, avoiding touching sensitive information in the full manifest
  • Advanced mode: View and directly modify the manifest (JSON) which contains all the addon configurations

Once the necessary changes have been made, simply click on "Save" then synchronize as usual

- Added an "Edit Manifest" button next to existing addon management buttons
- Implemented a modal popup with the following features:
  - In classic mode, a dynamically generated form based on the addon's manifest allows editing of:
    - Name
    - Description
    - Logo URL
    - Background URL
    - Catalogs (rename or delete)
  - In advanced mode, the raw JSON of the manifest.json file is displayed for more advanced configuration
- Changes are saved only if the save button is pressed; clicking outside the modal will close it and discard any changes
- Updated synchronization logic to include changes made to the manifest.json

- Enhanced the responsive layout of the addon list for improved mobile experience
- Fixed mobile layout distortion caused by code block command (Summary.vue)
Copy link

vercel bot commented Aug 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
stremio-addon-manager ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 23, 2024 5:49pm

@sleeyax
Copy link
Contributor

sleeyax commented Oct 18, 2024

@pancake3000 consider merging this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants