Skip to content

fix(tabgroup): reach settle up in the tablet two-pane - #335

Merged
DennisBauer merged 1 commit into
mainfrom
fix/tablet-two-pane-settle-up
Aug 4, 2026
Merged

fix(tabgroup): reach settle up in the tablet two-pane#335
DennisBauer merged 1 commit into
mainfrom
fix/tablet-two-pane-settle-up

Conversation

@DennisBauer

Copy link
Copy Markdown
Contributor

The two-pane layout inlined GroupDetailRoot and passed only part of its callbacks, so settle-up, settlement taps and leave-group hit the silent = {} defaults and did nothing.

Drive the panes from the back stack instead: a Nav3 SceneStrategy renders the Group list entry together with the GroupDetail/SettleUp entries stacked on it, marked via PaneRole metadata. Selection leaves GroupOverviewViewModel and back pops the detail pane on its own. Detail entries stay composed so a covered group keeps its selected tab. Compact widths fall through to the single-pane scene, unchanged.

Drop the = {} defaults on GroupDetailRoot so no call site can skip a callback silently again. In the shell, light the rail from the last TopLevelTab in the stack and truncate the whole tab section on switch, so detail entries neither darken their tab nor outlive it.

The two-pane layout inlined GroupDetailRoot and passed only part of its
callbacks, so settle-up, settlement taps and leave-group hit the silent
`= {}` defaults and did nothing.

Drive the panes from the back stack instead: a Nav3 SceneStrategy renders
the Group list entry together with the GroupDetail/SettleUp entries stacked
on it, marked via PaneRole metadata. Selection leaves GroupOverviewViewModel
and back pops the detail pane on its own. Detail entries stay composed so a
covered group keeps its selected tab. Compact widths fall through to the
single-pane scene, unchanged.

Drop the `= {}` defaults on GroupDetailRoot so no call site can skip a
callback silently again. In the shell, light the rail from the last
TopLevelTab in the stack and truncate the whole tab section on switch, so
detail entries neither darken their tab nor outlive it.
@DennisBauer DennisBauer added the bug Something isn't working label Aug 4, 2026
@DennisBauer
DennisBauer enabled auto-merge August 4, 2026 15:14
@DennisBauer
DennisBauer merged commit 8688601 into main Aug 4, 2026
3 checks passed
@DennisBauer
DennisBauer deleted the fix/tablet-two-pane-settle-up branch August 4, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant