Repository navigation
feat(server-dashboard): size saved query tiles, show the rows that fit, and keep a refresh asked for during one - #4800
Merged
Conversation
…t, and keep a refresh asked for during one
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.
Summary
DashboardTileGridLayoutreplaces theLazyVGrid, which cannot span. Tiles go in their stored order without back-filling, so reading order, VoiceOver order and Move stay the tile order. A tile wider than the panel takes every column and keeps its height.com.tablepro.dashboard-tile), so text dragged in from another app no longer lights a tile's drop outline, and a tile dropped in another app is no longer its UUID as text.DashboardTileDisplayTests.tableCells(rows kept go from 5 to 40,hiddenRowCountgone).DashboardTileSessionTurnTestsmoved its fixture toHelpers/ServerDashboardFixture.swift.Docs: TableProApp/docs#336
Test plan
DashboardTileLayoutTests(new): column count, span placement, no back-fill, clamping, rows that fit with and without the row count and a legacy scroller.DashboardTileDisplayTests: size decode from old and newer layouts, every line break, the drag type declared in Info.plist.DashboardTileBoardTests,ServerDashboardTileStorageTests: size persists, runs nothing, keeps the result.ServerDashboardViewModelTests: Refresh Now during a pass, after turning Off, an interval change during a pass, a request left while hidden (paused or not), leaving right after showing, and a cycle restarted under a running Refresh Now.DashboardTilesView.Fixes #4632