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

[FR] Platform enable/disable switch for plugins #8994

Open
1 of 2 tasks
ursincantieni opened this issue Jan 30, 2025 · 9 comments
Open
1 of 2 tasks

[FR] Platform enable/disable switch for plugins #8994

ursincantieni opened this issue Jan 30, 2025 · 9 comments
Labels
enhancement This is an suggested enhancement or new feature plugin Plugin ecosystem question This is a question User Interface Related to the frontend / User Interface

Comments

@ursincantieni
Copy link

Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find a similar feature request

Problem statement

On the new platform user interface I cannot seem to install and enable an external plugin, such as inventree_kicad.

In the older GUI there is a enable/disable button in the plugin page, which can be used to start the plugin after installing. In the new GUI I don't see this button, and since the plugin appears to be disabled by default I cannot enable it.
Image

Suggested solution

Add such an enable/disable funcionality to the platform user interface.

Describe alternatives you've considered

Use the old GUI for this instead.

Examples of other systems

No response

Do you want to develop this?

  • I want to develop this.
@ursincantieni ursincantieni added enhancement This is an suggested enhancement or new feature triage:not-checked Item was not checked by the core team labels Jan 30, 2025
@SchrodingersGat
Copy link
Member

Please provide a screenshot, as well as full version information on your InvenTree setup

@SchrodingersGat SchrodingersGat added question This is a question plugin Plugin ecosystem User Interface Related to the frontend / User Interface and removed triage:not-checked Item was not checked by the core team labels Jan 30, 2025
@wolflu05
Copy link
Contributor

wolflu05 commented Jan 30, 2025

interesting, this is exactly the behavior I was seeing in #7709 (point 5), version information would be interesting here.

@ursincantieni
Copy link
Author

Interestingly, after checking it again now to take the screenshot, when clicking on the 3 dots there now is the option to enable/disable. Running on version 0.17.0. When trying it earlier, it was already running on 0.17.0, unfortunately I didn't take a screenshot so maybe I missed something. I'll close this, as it's already implemented.

Image

@matmair
Copy link
Member

matmair commented Jan 30, 2025

@wolflu05 anything between your case and this sound similar setup wise? This sound like something very annoying for new users

@wolflu05
Copy link
Contributor

Not sure, he would need to provide some more infos about the deployment method... Somehow I cannot reproduce this anymore with the exact same setup. Maybe it's related to the version. I think I remember when @SchrodingersGat added something to really also reload cached code, and ensure that the code is the same between workers. Maybe this was the fix..

@ursincantieni
Copy link
Author

Just encountered this again, running v 0.17.5.

Image

@ursincantieni ursincantieni reopened this Feb 3, 2025
@SchrodingersGat
Copy link
Member

Please provide a screenshot, as well as full version information on your InvenTree setup

Are you running our docker setup, or via a different installation method?

@ursincantieni
Copy link
Author

Running your docker setup yes, apart from host address and credentials it's the default configuration.

@SchrodingersGat
Copy link
Member

Do you have the "check plugins on startup" setting enabled?

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is an suggested enhancement or new feature plugin Plugin ecosystem question This is a question User Interface Related to the frontend / User Interface
Projects
None yet
Development

No branches or pull requests

4 participants