Skip to content

Office Overview Part 4/5 - All / Mine / Shared filter chips#5679

Merged
moodyjmz merged 2 commits into
feat/office-overview-v2from
feat/overview-pr5-filters
May 20, 2026
Merged

Office Overview Part 4/5 - All / Mine / Shared filter chips#5679
moodyjmz merged 2 commits into
feat/office-overview-v2from
feat/overview-pr5-filters

Conversation

@moodyjmz
Copy link
Copy Markdown
Contributor

@moodyjmz moodyjmz commented May 20, 2026

Part 4 of 5 — see #5678 for the full series. Merge all PRs into feat/office-overview-v2 in order.

  • Filter chips: All, Mine, Shared with me — active chip uses primary variant
  • Pill shape via --button-radius override
  • Empty state hints "Switch to All" when a narrowing filter is active

moodyjmz and others added 2 commits May 20, 2026 16:47
Add owner-based filtering to the files section:
- 'Mine' (default): files owned by the current user that are not on a
  shared or group mount (mirrors apps/files PersonalFiles filter)
- 'Shared with me': files where nc:mount-type === 'shared'
- 'All': no filter applied

Both properties (oc:owner-id → node.owner, nc:mount-type) are already
returned by getDavProperties() so no extra API call is needed.

Three NcButton chips (size=small, aria-pressed) in a role=group below
the section title give keyboard-accessible toggle behaviour. The empty
state is moved inside the section so the chips remain visible when a
filter yields no results, allowing the user to switch back.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
…rride

Override --button-radius on the filter NcButton elements so they render
as pill-shaped chips rather than square-cornered small buttons.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
@moodyjmz moodyjmz changed the title feat(overview): All / Mine / Shared filter chips Office Overview Part 4/5 - All / Mine / Shared filter chips May 20, 2026
Base automatically changed from feat/overview-pr4-list-view to feat/office-overview-v2 May 20, 2026 16:25
@moodyjmz moodyjmz merged commit 77b9024 into feat/office-overview-v2 May 20, 2026
23 of 38 checks passed
@moodyjmz moodyjmz deleted the feat/overview-pr5-filters branch May 20, 2026 16:25
@moodyjmz moodyjmz restored the feat/overview-pr5-filters branch May 20, 2026 16:31
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