collabcentral/html
Joseph B. McQueen 3816880801 Make favorites explicit: kill auto-save on Additional Groups picks
Auto-saving every Additional-Groups pick into favorites made the
list a running audit log of "every group I've ever touched" instead
of a curated set of go-to groups. Since most messages target a
different set of groups (one office one week, three campuses the
next), the auto-save polluted favorites for every user immediately.

Now:
- The Additional Groups picker is per-message only. Changing it no
  longer fires /user/groups/add.
- A new "Save selection to favorites" button under the Additional
  picker deliberately promotes whatever's currently selected there
  into the user's favorites. Explicit action, no surprises.
- On save, the just-promoted groups are moved from the Additional
  picker into the Favorites picker so this message's recipient set
  survives untouched, but the UI is visually consolidated to one
  place (avoids the "same group ticked in two pickers" confusion).
- The favorites VirtualSelect gets its options list rebuilt via
  setOptions() so the just-added groups are immediately pickable
  without a page reload; the existing selection is captured first
  because setOptions can reset it.
- Hint text updated to describe the new intent on both pickers.

CSS: added .fieldActions for a right-aligned button row under a
picker (sits between the picker and its hint).

Backend untouched — /user/groups/{add,remove,list} were already
per-id and the semantics still fit.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-02 10:34:19 -04:00
..
css Make favorites explicit: kill auto-save on Additional Groups picks 2026-07-02 10:34:19 -04:00
js Add admin UI for managing per-bot authorized users + retract cancelled preview DMs 2026-07-01 20:47:39 -04:00
admin.html Add admin UI for managing per-bot authorized users + retract cancelled preview DMs 2026-07-01 20:47:39 -04:00
admin.js Add admin UI for managing per-bot authorized users + retract cancelled preview DMs 2026-07-01 20:47:39 -04:00
aeoPropsBot.png Initial commit: multi-bot CollabCentral 2026-07-01 17:53:07 -04:00
auth.js Initial commit: multi-bot CollabCentral 2026-07-01 17:53:07 -04:00
DirectoryConnector.zip Initial commit: multi-bot CollabCentral 2026-07-01 17:53:07 -04:00
index.html Initial commit: multi-bot CollabCentral 2026-07-01 17:53:07 -04:00
jobDetail.html Phase 9: rebuild frontend on a shared layout + fix Monitor Jobs race 2026-07-01 19:36:36 -04:00
jobDetail.js Phase 9: rebuild frontend on a shared layout + fix Monitor Jobs race 2026-07-01 19:36:36 -04:00
monitorJobs.html Phase 9: rebuild frontend on a shared layout + fix Monitor Jobs race 2026-07-01 19:36:36 -04:00
monitorJobs.js Phase 9: rebuild frontend on a shared layout + fix Monitor Jobs race 2026-07-01 19:36:36 -04:00
novi.ico Initial commit: multi-bot CollabCentral 2026-07-01 17:53:07 -04:00
novi.png Initial commit: multi-bot CollabCentral 2026-07-01 17:53:07 -04:00
sendMessage.html Make favorites explicit: kill auto-save on Additional Groups picks 2026-07-02 10:34:19 -04:00
sendMessage.js Make favorites explicit: kill auto-save on Additional Groups picks 2026-07-02 10:34:19 -04:00
techupdates.ico Initial commit: multi-bot CollabCentral 2026-07-01 17:53:07 -04:00
techupdates.png Initial commit: multi-bot CollabCentral 2026-07-01 17:53:07 -04:00