1
0
Fork 0
polaris-task-force/src/collections
Z8MB1E 74b116b9cf fix(awards): save awards without an advancement tier
The beforeChange hook compared advancement values against undefined, but the admin form always submits the group, so an award outside a lineup arrived as { seriesKey: null, tier: null }. Null counted as set, which tripped the duplicate tier check for standalone ribbons and the ribbons-only guard for medals and commendations.

Normalize null, empty, and non-finite values to "not set" before validating. Non-ribbon awards clear leftover lineup values on a type change instead of throwing on a hidden field, and partial API updates that omit advancement keep the stored lineup.
2026-11-24 08:03:30 -05:00
..
banking feat(rbac): migrate collection access controls to RBAC permissions 2026-08-19 19:47:51 -04:00
discord feat(bot): add editable Discord Rich Presence via command and CMS 2026-10-12 10:21:37 -04:00
game perf: cut queries per render and refreshes per realtime event 2026-11-22 22:39:10 -05:00
intelligence feat(tech-tree): add note nodes with optional frontend visibility 2026-11-23 03:11:36 -05:00
interior feat(interior): fixture repairs, condition decay, and station blocking 2026-10-20 16:17:01 -04:00
locker feat(lockers): seed and unlimited-stock sync for limited arsenal 2026-11-20 19:52:15 -05:00
logistics feat(vehicles): add per-vehicle disallowed-cargo blacklist enforced at shipment 2026-10-26 22:17:21 -04:00
market style(collections): replace dashes in admin field descriptions 2026-09-07 05:19:50 -04:00
minigames perf: cut queries per render and refreshes per realtime event 2026-11-22 22:39:10 -05:00
operations feat(operations): gate logistics extractions behind an officer review screen 2026-10-26 22:20:14 -04:00
projects feat(projects): enforce permissions and improve search 2026-08-21 00:26:33 -04:00
server fix(modlists): allow anonymous link download of preset files 2026-10-31 15:01:29 -04:00
story fix(rich-text): render full lexical formatting incl. colours across all fields 2026-11-18 13:10:26 -05:00
tickets feat(tickets): allow staff to archive tickets, hiding them from the front-end 2026-10-07 01:22:51 -04:00
users fix(awards): save awards without an advancement tier 2026-11-24 08:03:30 -05:00
voiceover fix(uploads): store upload collections under the persistent media volume 2026-10-08 12:14:46 -04:00
wiki feat(wiki): add private drafts with a one-way publish 2026-11-18 11:06:37 -05:00
world feat(map-objectives): superuser-authored strategic objectives on mission maps 2026-10-27 02:12:31 -04:00
AGENTS.md refactor(intelligence): drop the factions.relationships array in favour of the ledger 2026-11-18 14:13:29 -05:00
Announcements.ts feat(announcements): add announcements system with roleDocs targeting and richText 2026-09-22 21:08:46 -04:00
Media.ts feat: application staging deployment (ensure better commits after this) 2025-12-15 01:14:30 -05:00
Shims.ts perf: cut queries per render and refreshes per realtime event 2026-11-22 22:39:10 -05:00