Shares view: three tabs — Shared with me / Shared with others / Via link #735

Closed
opened 2026-09-25 03:37:47 +00:00 by Cordy · 0 comments
Owner

From the OpenCloud comparison (#695 item 12), mockup-approved.

The view already has two tabs (#571 rev 3: "My shares" / "Shared with me") and GET /api/v1/shares already returns everything the caller created — links AND grants share one store — with federated sends appended client-side. So this is a pure UI partition, no backend:

  • "My shares" splits into Shared with others (person/group grants + federated sends) and Via link (share links), keeping the existing card-per-file rendering, role badges, copy and revoke actions untouched.
  • Tab order and default: Shared with me first and active, then Shared with others, then Via link — matching OpenCloud.
  • Partition predicate: a row is a link when it has no addressee and is not a federated send.
  • Group grants stay one row per group (revoke ungrants the group), exactly as granted — decided 2026-09-25.
  • Per-tab empty states with next steps (sharesRenderMine gains empty-key parameters); the orphaned sharesTabMine key is removed. i18n ×4.
From the OpenCloud comparison (#695 item 12), mockup-approved. The view already has two tabs (#571 rev 3: "My shares" / "Shared with me") and `GET /api/v1/shares` already returns everything the caller created — links AND grants share one store — with federated sends appended client-side. So this is a pure UI partition, no backend: - "My shares" splits into **Shared with others** (person/group grants + federated sends) and **Via link** (share links), keeping the existing card-per-file rendering, role badges, copy and revoke actions untouched. - Tab order and default: **Shared with me** first and active, then Shared with others, then Via link — matching OpenCloud. - Partition predicate: a row is a link when it has no addressee and is not a federated send. - Group grants stay one row per group (revoke ungrants the group), exactly as granted — decided 2026-09-25. - Per-tab empty states with next steps (`sharesRenderMine` gains empty-key parameters); the orphaned `sharesTabMine` key is removed. i18n ×4.
Cordy closed this issue 2026-09-25 04:22:08 +00:00
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#735
No description provided.