Per-space quota UI: X of Y meter, Edit quota dialog, selection-bar action (#803) #809
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat-803"
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?
Closes #803; implements the reviewed in-app mockup (
mockup-803-space-quota.html) with the decisions from the #803 comment.spqMeter(used, cap, cls, key)renders "X of Y" + a 3px bar.spqLevel: amber (--warn) at ≥ 90 %,--dangerwhen over. Used in the overview Storage-used cell, the tiles, and the space header's right column (7b, the new.sphsidecolumn: Members button, then the meter). Uncapped spaces unchanged. The overview readsquota/quotaUsedfrom/meta; the size sort follows the displayed figure.MI.gaugeicon).#spsel-quota: admin-only, follows the selection.#spacequotadlgfor one or several spaces: number + MB/GB/TB (binary, GB default, prefilled from the cap), current usage + live bar (including the "already above this limit" hint), No limit → DELETE, Save → PUT{bytes}, disabled until the number is positive.spq*class prefix; the mockup showed the app already has.qrow.qa769census 4 → 5 (the quota dialog refreshes the overview like the other kebab dialogs).Tests: RED
9111e2a6→ green 290/290; the extracted JS passesnode --check.Amber note: the mockup used an ad-hoc amber; the code uses the app's
--warntoken, which is slightly deeper and theme-aware.