Skip to content

Edit addon manifest feature and responsive enhancements#7

Open
redd-ravenn wants to merge 1 commit intopancake3000:mainfrom
redd-ravenn:main
Open

Edit addon manifest feature and responsive enhancements#7
redd-ravenn wants to merge 1 commit intopancake3000:mainfrom
redd-ravenn:main

Conversation

@redd-ravenn
Copy link
Copy Markdown

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)
@vercel
Copy link
Copy Markdown

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
Copy Markdown
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