Repository navigation
Conversation
The table browser gains a grid layout: one line per row, a pinned header, columns that scroll sideways and a first column that stays in view. A Cards / Grid picker in the More menu stores the choice; until one is made, regular width opens in the grid and compact width keeps the cards.
J2TeamNNL
force-pushed
the
feat/ios-row-grid
branch
from
October 31, 2026 21:42
4e91c12 to
0b6a9a1
Compare
This branch has not been deployed
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
com.TablePro.settings.rowLayoutand applies to every table and window.List, so the grid offers Delete Row in the context menu and as an accessibility action, under the same checks as the swipe.ScrollView, aLazyVStackwith a pinned section header, andonScrollGeometryChangeto hold the first column in place. SwiftUITablewas not used: on iPhone it collapses to one column, and it does not scroll sideways.Test plan
RowLayoutTests: the width default, a stored choice winning at both widths, the choice read back throughAppStoragefrom an isolated defaults suite, and an unknown stored value falling back to the default.RowGridMetricsTests: one width per column, the clamp, a longer value widening its column, NULL counting as its label, and only the first line of a value counting.verify.sh ios RowLayoutTests RowGridMetricsTests DuoLayoutResolverTests DataBrowserViewModelTests: PASS, 61 tests.verify.sh linton every changed Swift file: PASS.Before, iPhone (cards, unchanged and still the iPhone default):
After, iPhone light: grid, scrolled sideways with the first column held, and the layout picker:
After, iPhone dark: grid, scrolled sideways, and the detail view a row opens:
After, iPad light, grid by default:
After, iPad dark, scrolled sideways:
Fixes #3933