feat(desktop): 7.16 CLS client UX — level badges, folder-create picker, share-dialog eligibility (cross-stack) #207
Labels
No labels
epic
phase-0
phase-1
phase-2
phase-3
phase-4
phase-5
phase-6
phase-7
phase-8
phase-9
priority/P0
priority/P1
priority/P2
type/backend
type/client
type/docs
type/ops
type/security
type/spike
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
primatekuntech/failsulit#207
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scope (CLS-08 / F-CLS1–3 desktop rendering)
The server contract is fully in place (PRs #203–#205 + the 7.16 server-contract PR): file/folder DTOs carry
level {id,name,rank},GET /api/tenants/{id}/classificationreturns enabled + ladder + caller's clearance,GET /api/tenants/{id}/memberscarries per-member clearance, andPOST /api/shares/grouptakes per-member encrypted keys.What remains is desktop rendering — and it is cross-stack:
list_filesetc.) into a local SQLite cache (storage/database.rs), then to the UI. Carryinglevelthrough = RustFileItemstruct + cache-schema migration (ALTER/add column + sync mapping) +types/index.ts+FileGridView/list badge. The cache migration touches EXISTING installs — needs the #203-class discipline (migration tests on the local-DB path).create_folderRust command + frontend dialog gains a level select (ladder + own clearance from the new classification GET; cap at own clearance per F-CLS1).search_recipients); extend its result shape with clearance so ineligible rows render disabled-with-reason. Server denial rendering (F-CLS6, inlineclassification_insufficientreason) is already achievable frontend-only — do it first.upload_fileRust command + multipart form field; inherited-level display via badges.Suggested order
Frontend-first quick win: (3)'s inline-denial rendering — no Rust. Then the Rust/cache work as one focused session (badges + picker + override together — they share the cache migration).
Server contract PRs: #203/#204/#205 + the 7.16 server-contract PR. Related: #202 (test-infra seam), epic #158.
Session decisions + tracked follow-ups from the align-then-adorn campaign (2026-11-16):
Decisions
Tracked follow-ups
Remainder of 7.1 (unchanged scope): iOS + File Provider migration, golden contract fixtures beyond the pinned surfaces, chunked-upload flow for desktop.
All slices landed — closing.
leveleverywhere) + CLS-06 per-row listing filter + ContractPinningTestsCLS-08 acceptance: "All four surfaces render per policy; ineligible targets show the reason inline" — met, with the classification-off zero-delta preserved on every surface.
Now tracked elsewhere (see the 2026-11-16 decisions comment + dev plan):
derive_folder_kekfallback) + PublicKeys schema pinNext per the codified cadence: M8/#158 milestone-close ponytail audit (7.14–7.16 are now code-complete).