1
0
Fork 0
polaris-task-force/src/app/(frontend)
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
..
account feat(sidebar): add server-persisted section reorder with customize mode 2026-10-12 13:46:48 -04:00
awards feat(tours): add permission-aware guided tours with replay and device opt-out 2026-09-30 18:43:21 -04:00
contributions feat(contributions): add crowdsourced XP reward system 2026-10-09 16:30:05 -04:00
events feat(tours): add permission-aware guided tours with replay and device opt-out 2026-09-30 18:43:21 -04:00
helpdesk feat(command-palette): add missing destinations, queue shortcuts, mini XP toggle 2026-10-11 23:06:36 -04:00
impersonate refactor(impersonation): move user selection into action flow 2026-09-01 17:17:48 -04:00
intelligence feat(intelligence): add threat assessment dossier table to mission details 2026-10-10 13:26:02 -04:00
locker feat(tours): add permission-aware guided tours with replay and device opt-out 2026-09-30 18:43:21 -04:00
logistics feat(tours): add permission-aware guided tours with replay and device opt-out 2026-09-30 18:43:21 -04:00
map feat(map): redesign world picker cards with overflow tooltips 2026-10-09 17:56:22 -04:00
minigames chore(call-for-fire-versus): replace emplace/bracket wording 2026-10-11 23:25:49 -04:00
notifications feat(notifications): scope notification read state per recipient 2026-10-09 13:13:16 -04:00
operations feat(tours): add permission-aware guided tours with replay and device opt-out 2026-09-30 18:43:21 -04:00
personnel feat(npc-dialogue): let event flag effects target self, global, or a specific user 2026-10-07 13:33:52 -04:00
profile/[username] feat(contributions): add crowdsourced XP reward system 2026-10-09 16:30:05 -04:00
projects feat(tickets): allow staff to archive tickets, hiding them from the front-end 2026-10-07 01:22:51 -04:00
roster feat(promotions): add promotion nominations and leadership transfers 2026-10-03 03:29:24 -04:00
story feat(chronicle): show draft entries to staff on /story 2026-10-09 13:48:51 -04:00
surveys feat(surveys): open surveys in a scrollable modal, fix page layouts 2026-09-23 21:07:07 -04:00
transfers style: remove em-dashes from user-visible prose (wave 1) 2026-09-07 01:34:28 -04:00
voiceover feat(voiceover): spoiler gate, pacing pattern, and recorder updates 2026-09-14 15:37:12 -04:00
wiki feat(wiki): redesign index with URL-shared filters, category portals, featured strip 2026-10-09 17:56:09 -04:00
actions.ts feat(sidebar): add server-persisted section reorder with customize mode 2026-10-12 13:46:48 -04:00
layout.tsx feat(minigames): drive the nav and period scoring from the registry 2026-10-11 17:06:52 -04:00
page.tsx feat(contributions): add crowdsourced XP reward system 2026-10-09 16:30:05 -04:00
styles.css feat(minigames): add procedural SFX and hit explosions to the versus duel 2026-10-11 22:28:10 -04:00