Branch Contact Groups - Current Task
v2.46 adds a Thursday Batch overview and fixes GAL-added members skipping JMC/County. Manage Groups now has a Thursday Batches header button opening a read-only, two-column view of every group in Batch 1 and Batch 2 with live member counts, plus a count of groups with no batch set — previously the only way to check a group's batch was opening its Edit panel one group at a time. Separately, picking someone from GAL search in Manage Members used to add them immediately with blank JMC/County, needing a second trip through Edit → pencil afterwards; the GAL pick now stages into the existing "Add manually" panel right next to it (prefilled name/email), so JMC/County get entered in the same step as the add. Only scrManageGroups changed this round — Quick Contacts, Send Email, Manage People, and App.OnStart are untouched.
Do Now
scrManageGroups changed — delete and re-paste it. Quick Contacts, Send Email, Manage People, and App → OnStart are untouched (kept below for reference only).
- Delete scrManageGroups and re-paste it from Copy Screen below.
- Preview the app and check the priority rows in the Test checklist below.
Set(varModDomain, "mod.gov.uk");
Set(varMyEmail, Lower(User().Email));
ClearCollect(colMaintainers, 'BM Maintainers');
Set(varIsMaintainer, CountRows(Filter(colMaintainers, Lower(Email) = varMyEmail)) > 0);
ClearCollect(colGroups, AddColumns(Sort('BM Groups', SortOrder, SortOrder.Ascending), Ticked, false));
ClearCollect(colMemberships, Filter('BM Memberships', false)); ForAll(colGroups As grp, Collect(colMemberships, Filter('BM Memberships', GroupName = grp.Title)));
ClearCollect(colThursdayBatchOptions, ["None", "Batch 1", "Batch 2"]);
Set(varRecipientField, "bcc");
Set(varBccForcedByBatch, false);
Set(varBccForced, false);
Set(varPreviewGroupID, 0);
Set(varShowLightbox, false);
Set(varLightboxMode, "");
Set(varLightboxGroupID, 0);
Set(varLastMembershipRefresh, Now())
Copy Screen
scrManageGroups changed this round — the other three are unchanged from what you already have live, kept here for reference.
Test
| Check | Expected result |
|---|---|
| Manage Groups → click "Thursday Batches" on the header (priority) | Opens a read-only popup with two columns, Batch 1 and Batch 2, each listing groups with a live member count, plus a line counting groups with no batch set. Set a couple of groups' batches from Edit first if none are set yet, to check the counts actually update. |
| Manage Groups → Manage Members → Add from GAL, pick someone not already in the group (priority) | They are NOT added immediately. Instead the "Add manually" panel on the right fills in with their name and email, heading changes to "Confirm details for <name>". Fill in JMC/County and hit Add — they're added with that data already attached, no second edit trip needed. |
| Same GAL flow, but pick someone already a member of that group | Warning toast, nothing staged, nothing added twice. |
| Manage Groups → Manage Members → click the pencil on an existing member right after doing a GAL pick above (without saving it) | The edit popup shows that member's real name/email/JMC/County — not the leftover GAL pick from before. |
| General click-around on Manage Groups | Everything else — create/edit/delete group, add existing people, add manually, paste-replace roster, maintainers, health check — still works as before. |
Later
Not done this round, worth considering next: merging the Manage Members lightbox's "Add existing" and "Add from GAL" tabs into one search box, and consolidating the four separate "tap again to confirm" delete/replace patterns in Manage Groups into one reusable pattern. Both are quality-of-life, not bugs — deferred so this round could ship without a bigger UX redesign.