Skip to content

feat(list-toolbar): a tabs slot, so a screen's own partition attaches to its toolbar - #49

Merged
thinkclay merged 1 commit into
mainfrom
feat/list-toolbar-tabs
Oct 5, 2026
Merged

thinkclay merged 1 commit into
mainfrom
feat/list-toolbar-tabs

Conversation

@thinkclay

Copy link
Copy Markdown
Contributor

tabs / activeTab / onTabChange on ListToolbar render a screen's own partition as folder tabs on the toolbar's top edge; with tabs present the rows become the hairline panel the tabs attach to (the selected tab paints over the strip's hairline in the panel colour). Labels take the prototype's "Label · n" form from count. Without tabs nothing changes. Story WithTabs, one test. Verified: tsc clean, tsup clean, 680/680 tests. Refs Scaffald/SaaS#984.

🤖 Generated with Claude Code

… to its toolbar

The SCF prototype's list screens put the partition — Open / Closed,
Recommended / All — as folder tabs on the top edge of the search row, so
the tabs and the toolbar read as one panel. Ours drew the same folder tabs
as a strip floating 20px above the toolbar on four screens.

`tabs` / `activeTab` / `onTabChange` on ListToolbar render the partition
on the toolbar's top edge; with tabs present the rows become the panel the
tabs attach to — a hairline box whose top edge is the strip's own hairline,
which the selected tab paints over in the panel colour. Labels take the
prototype's "Label · n" form from `count`. Without tabs nothing changes
for the eleven screens that use the toolbar today. The primary row is
skipped when it would be empty, so a toolbar that is only tabs and a count
still gets its panel.

Section navigation stays the shell's strip (Scaffald/SaaS#968); this is
for one list's own partition. Refs Scaffald/SaaS#984.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@thinkclay
thinkclay merged commit 965f605 into main Oct 5, 2026
@thinkclay
thinkclay deleted the feat/list-toolbar-tabs branch October 5, 2026 18:59
thinkclay added a commit to Scaffald/SaaS that referenced this pull request Oct 5, 2026
thinkclay added a commit to Scaffald/SaaS that referenced this pull request Oct 5, 2026
…992)

* feat(lists): the four detached folder strips ride on their toolbars

Pointer bump to Scaffald/ui@d4e546e (Scaffald/ui#49): ListToolbar takes a
screen's own partition as folder tabs on its top edge and becomes the
panel they attach to.

The four screens that drew a folder strip floating above their toolbar —
My applications, the employer's Jobs, the assessments hub, and the
background-check status dashboard — pass their partition through the
slot instead, with the prototype's "Label · n" counts. The status
dashboard had tabs and no toolbar; it gets the panel with the active
partition's count, which is the one number it was missing.

Closes #984.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

* fix(drawer): drop the two accessibility props react-native-web passes through to the DOM

The count chips in the drawer and the account sheet carried
accessibilityElementsHidden and importantForAccessibility="no" from #991.
react-native-web has no mapping for the second, so it reached the DOM and
React warned on every render in dev. The chips are plain text next to a
labelled control; neither prop was doing anything.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

* chore(ui): repoint the submodule at the squashed commit on ui main

Scaffald/ui#49 merged as 965f605.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant