1
0
Fork 0
polaris-task-force/src/collections/users
Z8MB1E 0ca35ec251 feat(sidebar): add server-persisted section reorder with customize mode
- preferences.display.sidebarOrder json field on Users + named migration
  add_sidebar_order_preference + regenerated types
- New pure helper src/lib/sidebar/order.ts (section ids, labels, default
  order, normalizeSidebarOrder) modeled on lib/dashboard/layout.ts, with
  tests/int/sidebar-order.int.spec.ts covering fallback/dupes/missing ids
- AppSidebar renders sections from the normalized order; feature-flagged-off
  sections skip their slot and keep stored positions
- Customize mode: dnd-kit sortable grips on group headers, save-on-drop via
  new updateSidebarOrder action, Reset clears the preference, Done exits;
  hidden while the sidebar is collapsed
- updateSidebarOrder sanitizes server-side and rewrites full preferences
- Fix sibling clobbering: saveDashboardLayout now preserves sidebarOrder,
  and updatePreferences now preserves both sidebarOrder and dashboard.layout
2026-10-12 13:46:48 -04:00
..
Assignments.ts feat(assignments): add AssignmentMembersField component for managing assignment members 2026-08-29 23:53:13 -04:00
AssignmentTransfers.ts feat(collections): Add AssignmentTransfers collection and migrations 2026-08-31 23:40:02 -04:00
Awards.ts feat(awards): add award advancement series 2026-09-11 17:07:37 -04:00
ContributionEntries.ts feat(contributions): add crowdsourced XP reward system 2026-10-09 16:30:05 -04:00
Evaluations.ts style: remove em-dashes from user-visible prose (wave 1) 2026-09-07 01:34:28 -04:00
Experience.ts feat(rbac): migrate collection access controls to RBAC permissions 2026-08-19 19:47:51 -04:00
LeadershipTransfers.ts feat(promotions): add promotion nominations and leadership transfers 2026-10-03 03:29:24 -04:00
Profiles.ts feat(minigames): add Call for Fire: Versus multiplayer artillery duel 2026-10-11 21:55:39 -04:00
PromotionNominations.ts feat(promotions): add promotion nominations and leadership transfers 2026-10-03 03:29:24 -04:00
Qualifications.ts feat(rbac): migrate collection access controls to RBAC permissions 2026-08-19 19:47:51 -04:00
Ranks.ts feat(promotions): add rank promotion ceiling with GM promote flow 2026-09-14 15:37:05 -04:00
RibbonSubmissions.ts feat(awards): add ribbon submissions collection, design validation and migration 2026-09-11 03:25:59 -04:00
Roles.ts style: remove em-dashes from user-visible prose (wave 1) 2026-09-07 01:34:28 -04:00
UserNotifications.ts fix(notifications): scope user notification reads 2026-09-01 17:17:34 -04:00
Users.ts feat(sidebar): add server-persisted section reorder with customize mode 2026-10-12 13:46:48 -04:00