Space description (owner + admin) and storage-used display for members #765

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

#695 round 13, the cheap half (mockup approved). Space image and per-space quota limits are follow-ups (limits get their own issue with the enforcement design).

Data: spacestore.Space gains Description string (omitempty, age-encrypted store as-is); SetDescription via the existing mutate() clone-persist-commit. Plain text, trimmed, 240 chars max, empty clears.

API: POST /api/v1/spaces/{name}/description — owner-or-admin guard (same check as members/owner endpoints), 422 over limit. The spaces union and admin list carry the field.

UI (all textContent):

  • Spaces overview rows: description as muted second line; absent → one line as today. Size column untouched (already shows measured bytes).
  • Details pane of a space: Description (wrapping) + Storage used rows — dirs currently skip size entirely; unmeasured → "—" with the background-measurement hint.
  • Space kebab: "Edit description" for owner/admin only → small textarea dialog with live counter.
  • Admin Spaces drawer: description row with Edit (moderation path, mirrors #757).

i18n ×4 for all new copy.

#695 round 13, the cheap half (mockup approved). Space image and per-space quota limits are follow-ups (limits get their own issue with the enforcement design). **Data:** `spacestore.Space` gains `Description string` (omitempty, age-encrypted store as-is); `SetDescription` via the existing `mutate()` clone-persist-commit. Plain text, trimmed, 240 chars max, empty clears. **API:** `POST /api/v1/spaces/{name}/description` — owner-or-admin guard (same check as members/owner endpoints), 422 over limit. The spaces union and admin list carry the field. **UI (all textContent):** - Spaces overview rows: description as muted second line; absent → one line as today. Size column untouched (already shows measured bytes). - Details pane of a space: Description (wrapping) + Storage used rows — dirs currently skip size entirely; unmeasured → "—" with the background-measurement hint. - Space kebab: "Edit description" for owner/admin only → small textarea dialog with live counter. - Admin Spaces drawer: description row with Edit (moderation path, mirrors #757). i18n ×4 for all new copy.
Cordy closed this issue 2026-09-26 04:37:15 +00:00
Sign in to join this conversation.
No labels
No milestone
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#765
No description provided.