Feat/toggle options#16
Merged
Merged
Conversation
…d sync capabilities
…mputed fields in settings
…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.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
server/app.pyto 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.polling_rateto override the default cache interval for app data fetching, allowing per-app customization of refresh intervals.UI enhancements for settings:
server/static/styles.csswith 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:
Documentation updates:
APPS_README.mdguide detailing the app development process, settings schema options, and examples for advanced features like number steppers, computed fields, inline toggles, and sync rules.README.mdto reference the newAPPS_README.mdfor full app development documentation and streamlined the description of the app structure.