Repository navigation
fix(android): Focus board widget shows every item that fits - #111
Merged
Merged
Conversation
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.
GoalMaker: GM-118
Owner: "for goalmaker android the focus board widget doesnt seem to display everything it can only 4 top on focus board even if the widget has enough space"
What was wrong
The widget cut the board at 8 rows and drew them in a plain Column, so it never used a taller widget and never scrolled.
Fix
SizeMode.Exactand a scrollingLazyColumnof the whole board (up to 60 items), same order asFocusBoardRules(rules and Windows contract untouched).WidgetContent.focusFitworks out how many rows fit the real height. When items are out of sight, a "+N more" line shows under the list and opens the app. Rows and the background open the app as before.focusFitand two Robolectric layout tests (scrolling list plus "+N more", and no line when all fit).docs/widgets.mdhas a Focus Board section.Tests
Kiln
ci.ymlrun 20261124-120232-2b5891: succeeded. LocaltestDebugUnitTest assembleDebug lintDebug: green.Screenshots
Before and after screenshots are not attached: no emulator with a signed-in seeded stack was available in this session.
Manual test list