Repository navigation
Accept the playground's one resize on activation in widget quality - #5411
Merged
Merged
Conversation
The widget-quality check now accepts that a generated playground changes its first box once on activation: the live view builds each control's label and native field from its declarations and moves the preview beside the controls. #4724 accepted the same content-derived resize for shots, diffs and timelines; the alternative had authors hand-write controls the declarations already describe. Fixes #4951
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.
The widget-quality check now accepts that a generated playground's first box changes once on activation. Its live view builds each control's label and native field from the declarations, then moves the preview beside the controls.
known_widget_findings.pylists that resize forlf-playground,-control,-preset,-previewand-choice, as max-sixty decided in #4951.#4724 moved the playground's drawing from the initial producer into the live widget. It accepted the same content-derived resize for shots, diffs and timelines. The alternative would have authors hand-write the controls the declarations already describe. Nothing on screen changes; only the test's accepted set does.
test_bundled_widgets_meet_the_widget_quality_checks[playground]failed on1b3e0770cwith the 16 findings reported in the issue. With this change it passes, and so doestests/model/test_widget_quality.py.Fixes #4951