Skip to content

Feat/toggle options#16

Merged
csader merged 7 commits into
csader:mainfrom
InertiaImpact:feat/toggle-options
May 6, 2026
Merged

Feat/toggle options#16
csader merged 7 commits into
csader:mainfrom
InertiaImpact:feat/toggle-options

Conversation

@InertiaImpact
Copy link
Copy Markdown
Contributor

This pull request introduces several major improvements to the app development experience, focusing on enhanced settings schema support, improved UI components, and better documentation. The changes allow for more advanced and flexible app settings, including features like number steppers, computed fields, inline toggles, and declarative field synchronization. The UI is updated to support these new features, and documentation is added and clarified to guide developers.

App settings schema and backend logic improvements:

  • Refactored and expanded the plugin settings configuration logic in server/app.py to support advanced settings schema features, including number steppers, computed fields, inline toggles, conditional visibility, and declarative synchronization between fields. This includes new helper functions for resolving setting keys and normalizing settings structure.
  • Added support for a plugin setting named polling_rate to override the default cache interval for app data fetching, allowing per-app customization of refresh intervals.

UI enhancements for settings:

  • Updated server/static/styles.css with new styles for password reveal buttons, number steppers, computed info fields, segmented toggles, and inline toggle layouts, improving the usability and appearance of the settings UI.

*Examplels:

image image
73d019e69e46f8e9

Documentation updates:

  • Added a comprehensive APPS_README.md guide detailing the app development process, settings schema options, and examples for advanced features like number steppers, computed fields, inline toggles, and sync rules.
  • Updated the main README.md to reference the new APPS_README.md for full app development documentation and streamlined the description of the app structure.

InertiaImpact and others added 7 commits May 5, 2026 22:40
…e is fixed

Co-authored-by: Copilot <copilot@github.com>
Create APPS_README.md with a full app development guide (manifest.json and app.py examples, settings schema and types, visibility/sync rules, inline toggles, computed fields, patterns, and best practices). Update README.md to condense the app section to a brief pointer to APPS_README.md and a short note about fetch() behavior, centralizing and expanding app docs for easier maintenance.
@InertiaImpact InertiaImpact mentioned this pull request May 6, 2026
@csader csader merged commit 6799d88 into csader:main May 6, 2026
@InertiaImpact InertiaImpact deleted the feat/toggle-options branch May 8, 2026 02:48
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