Feat: Disable plugins
Please tick as appropriate:
- [x] I have tested this code on a steam deck or on a PC
- [x] My changes generate no new errors/warnings
- [ ] This is a bugfix/hotfix
- [x] This is a new feature
Description
This pr implements the ability to disable plugins. Pretty self explanatory.
Resolves issue #350
Discussion relating to implementation can be found here for reference. https://discord.com/channels/960281551428522045/1424643765888352339
Additional changes
- Inlcudes changes from PR #816 as requested.
- Adds 15s timeout to frontend
importPlugincall. This is to prevent a hung request to load js from blocking other plugins from loading. This bug is discussed in this thread https://discord.com/channels/960281551428522045/1424643765888352339/1425181590522429550
Approving workflow for testing :)
@jessebofill the linter is failing; you may want to adjust your formatting in the files which it didn't like.
…Incidentally, will update checks still work with the disabled plugins? A major reason to use this functionality (IMO) is to disable plugins broken by a Steam UI update until they support the changes (instead of uninstalling them); and I'd prefer not having to re-enable the plugin manually every day just to check if it had a fix release since.
@jessebofill the linter is failing; you may want to adjust your formatting in the files which it didn't like.
…Incidentally, will update checks still work with the disabled plugins? A major reason to use this functionality (IMO) is to disable plugins broken by a Steam UI update until they support the changes (instead of uninstalling them); and I'd prefer not having to re-enable the plugin manually every day just to check if it had a fix release since.
Yes, they still get checked for updates while a plugin is disabled.