| 1 | # Plugin Components DOX |
| 2 | |
| 3 | ## Purpose |
| 4 | |
| 5 | - Own core WebUI plugin settings, info, list, execution, and toggle components. |
| 6 | |
| 7 | ## Ownership |
| 8 | |
| 9 | - Root plugin component files own shared plugin settings and info screens. |
| 10 | - `list/` owns plugin list and execute modal components. |
| 11 | - `toggle/` owns scoped plugin activation UI. |
| 12 | - Store files own plugin modal and settings state. |
| 13 | |
| 14 | ## Local Contracts |
| 15 | |
| 16 | - Keep plugin settings modals bound through `$store.pluginSettingsPrototype` conventions. |
| 17 | - Preserve global and scoped toggle semantics using `.toggle-1` and `.toggle-0`. |
| 18 | - Use notification helpers for plugin UI feedback. |
| 19 | - Label reset actions `Reset to default` and resolve notification globals when the action runs so late WebUI initialization cannot abort the reset lifecycle. |
| 20 | - Scoped plugins without a custom settings form still expose the standard scope |
| 21 | selectors and existing-configuration list; do not show inert Save or Reset |
| 22 | actions for them. |
| 23 | |
| 24 | ## Work Guidance |
| 25 | |
| 26 | - Coordinate plugin API payload changes with `helpers/plugins.py` and plugin API handlers. |
| 27 | |
| 28 | ## Verification |
| 29 | |
| 30 | - Smoke-test plugin list, settings, scoped toggles, plugin info, and execute modal after changes. |
| 31 | |
| 32 | ## Child DOX Index |
| 33 | |
| 34 | No child DOX files. |