Spaces batch bar adopts the established selection bar (#787) #797
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat-787"
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 #787.
Element: a spaces-owned
#spovselbar(classselbar) beside the files#selbar— identical structure:.selacticon+label buttons (Deactivate / Reactivate / Delete, icons = MI.pause / MI.play / MI.del paths),.selNcount,.selact.selxClear selection ✕. The files#selbarelement is untouched.Slot swap: own body attribute
data-spsel(the filesdata-selkeeps its single writer, pinned by #788) — shows the bar and hides#fileactionsin the same 48px slot;body:not([data-spsel="on"]) #spovselbarguards it out of files views even when a files selection sets the shared.selbarrule. Reset at every overview render and whensetViewleaves the overview (the symmetric case #788 anticipated — real now that the bar lives outside#listpane).Actions appear per selection (hidden, not disabled): Deactivate if any active (fact-row confirm, as shipped); Reactivate if any deactivated (no confirm — reversible, like the single-space menu); Delete only when every pick is deactivated (confirm). Edit quota joins with #767; duplicate/download space stay out of scope (commented). askDanger census unchanged at 15.
Retired: the in-panel
.spovbar/.spovselncode + CSS (incl. #789'sli.spovbarpadding rule). qa770/qa778 pins on the old bar updated deliberately.Verification: RED → splice → 282/282. Previewed on the live overview before pushing (element + CSS injected, swap toggled): matches the Recents bar, and the panel's top edge is identical before/after the swap (176.49px — no shift).
Known limit, pre-existing pattern: on phone widths (#389) the files bar's actions move into a bottom sheet; the spaces bar stays in its slot. Worth a follow-up only if the phone pass wants parity.