Repository navigation
Fix parameter state synchronization and release 1.3.0-alpha04 - #15
Merged
Merged
Conversation
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.
Selecting
surfacecould highlightbackgroundwhen their values were equal, and a selected theme color stayed stale after the options changed. Parameter state now preserves the chosen option name and follows that option's current value across theme and product-palette changes.Programmatic nullable assignments now keep the activity checkbox and restoration history in sync:
nulldisables the parameter, a non-null value enables it, and reactivation restores the latest value or the current value of the saved named option. This also handles batched writes and Compose snapshot rollback. Equal assignments remain no-ops; programmatic choices are expected to belong to the declared options.Adds characterization and regression coverage for named and unnamed defaults, equal values, null, option normalization and inference, recomposition, assignment priority, and snapshot behavior. Getter reads remain direct state reads; option reconciliation occurs during binding updates. Updates README documentation and dependency examples for
1.3.0-alpha04.Validation:
1.3.0-alpha04.