1
0
Fork 0
polaris-task-force/src/lib
Z8MB1E 48556c3688 feat(tech-tree): add note nodes with optional frontend visibility
Planners can now drop annotation cards on the Tech Tree canvas without inventing fake technologies. Notes live in their own tech-tree-notes collection (title, body, treePosition) and carry no prerequisites, costs, approval workflow or research state, so the layout engine, edge builder and research rules never see them.

showOnFrontend defaults to false, making notes a backend authoring aid; ticking it publishes the amber card read-only to the member tech tree, which queries showOnFrontend = true.

Canvas work: amber NoteNode card with no connection handles, NoteDialog for create/edit/delete, a New Note toolbar button (technologies:create gated), viewport-centre placement, and namespaced note-<id> React Flow ids so note and technology ids can never collide. Note drags, Save positions and Auto-arrange reuse the single-statement bulk /api/tech-tree/positions write by sending collection: "tech-tree-notes"; no PATCH-per-note path was added.

Also fixes the note card body being clipped by the inherited line-height: the classification strip and footer now have fixed heights with leading-none, and the body takes the remaining flex space instead of line-clamp.

Tests: tech-tree-notes.int.spec.ts (defaults, required title, publication filter, in-place edits, note layout and id namespacing) plus note coverage in tech-tree-positions.int.spec.ts. Migration 20261123_073019_add_tech_tree_notes must be run on prod after deploy.
2026-11-23 03:11:36 -05:00
..
ai feat(npc-dialogue): AI-assisted conversation drafting behind the review gate 2026-11-12 12:26:35 -05:00
analytics docs(analytics): add event taxonomy README and analytics domain guide 2026-10-14 12:13:01 -04:00
announcements docs(agents): split domain guidance into nested AGENTS.md files 2026-10-09 15:46:36 -04:00
arma-bridge feat(lockers): seed and unlimited-stock sync for limited arsenal 2026-11-20 19:52:15 -05:00
arma-import feat(arma): dedupe vehicle templates by name and mod with cleanup CLI 2026-10-22 13:18:11 -04:00
arma-markers feat(map-objectives): superuser-authored strategic objectives on mission maps 2026-10-27 02:12:31 -04:00
attendance feat(missions): role sign-ups with FCFS waitlist and rich-text role descriptions 2026-09-30 14:50:26 -04:00
awards feat(awards): brass-emboss ribbon devices, swap arrow for valor V 2026-10-27 01:47:10 -04:00
banking docs(agents): split domain guidance into nested AGENTS.md files 2026-10-09 15:46:36 -04:00
base feat(interior): upgrade completion, tech/labor gates, and module bonuses 2026-10-20 15:44:36 -04:00
client-analytics docs(analytics): add event taxonomy README and analytics domain guide 2026-10-14 12:13:01 -04:00
command-chain feat(missions): add command chain editor and MissionCommandLinks collection 2026-11-02 09:59:55 -05:00
contributions perf: cut queries per render and refreshes per realtime event 2026-11-22 22:39:10 -05:00
dashboard feat(dashboard): customizable dashboard with personal widgets 2026-09-10 20:03:27 -04:00
economy feat(event-log): hide routine tick events behind a toggle 2026-10-19 20:03:51 -04:00
evaluations feat(evaluations): allow equal-rank command-link reviews via mission chain 2026-11-02 10:00:02 -05:00
garage feat(garage): add vehicle bay schema fields, geometry helpers, and backfill 2026-10-13 16:02:58 -04:00
intelligence feat(intelligence): add attendance-gated feature unlocks to mission pages 2026-11-21 02:30:48 -05:00
interior docs: add superstructure interior domain guide and index entry 2026-10-20 20:08:25 -04:00
journals feat(journals): hint when a draft will earn XP 2026-10-13 15:20:59 -04:00
lexical fix(rich-text): render full lexical formatting incl. colours across all fields 2026-11-18 13:10:26 -05:00
locker chore(locker): commit pending stock handling refinements 2026-10-25 21:23:40 -04:00
map feat(map-objectives): superuser-authored strategic objectives on mission maps 2026-10-27 02:12:31 -04:00
market docs(agents): split domain guidance into nested AGENTS.md files 2026-10-09 15:46:36 -04:00
minigames perf: cut queries per render and refreshes per realtime event 2026-11-22 22:39:10 -05:00
missionRatings fix(mission-ratings): block mission authors from rating their own mission 2026-11-01 15:21:53 -05:00
notifications perf: cut queries per render and refreshes per realtime event 2026-11-22 22:39:10 -05:00
npc-dialogue fix(npc-dialogue): style the draft dialog for the admin panel 2026-11-22 23:34:12 -05:00
npcs feat(npc): add weighted activity, level, and dialogue conversations 2026-10-05 12:51:59 -04:00
operations feat(operations): gate logistics extractions behind an officer review screen 2026-10-26 22:20:14 -04:00
profile feat(profile): add rich-text dossier excerpt editors 2026-09-06 05:32:23 -04:00
projects feat(projects): enforce permissions and improve search 2026-08-21 00:26:33 -04:00
promotions feat(promotions): add promotion nominations and leadership transfers 2026-10-03 03:29:24 -04:00
realtime perf: cut queries per render and refreshes per realtime event 2026-11-22 22:39:10 -05:00
respawn-tickets feat(respawn-tickets): settle attendance-based respawn tickets per mission 2026-09-14 15:37:05 -04:00
session feat(session): add pre-expiry warning banner with extend button 2026-09-23 15:02:10 -04:00
shims feat(shims): add targeted client-side injections 2026-08-26 00:53:31 -04:00
shipping feat(vehicles): add per-vehicle disallowed-cargo blacklist enforced at shipment 2026-10-26 22:17:21 -04:00
sidebar feat(sidebar): pin Platform section to top during reorder 2026-10-12 14:02:21 -04:00
story chore(chronicle): rename Story Beats to Chronicle Entries 2026-10-09 13:48:14 -04:00
surveys feat(contributions): add crowdsourced XP reward system 2026-10-09 16:30:05 -04:00
tech feat(tech): member-facing tech research system and tech tree 2026-10-19 17:28:26 -04:00
tech-tree feat(tech-tree): add note nodes with optional frontend visibility 2026-11-23 03:11:36 -05:00
tickets feat(tickets): allow staff to archive tickets, hiding them from the front-end 2026-10-07 01:22:51 -04:00
tours feat(wiki): redesign index with URL-shared filters, category portals, featured strip 2026-10-09 17:56:09 -04:00
transfers feat(promotions): add promotion nominations and leadership transfers 2026-10-03 03:29:24 -04:00
vehicles feat(logistics): restyle vehicle catalog cards in tactical dossier style 2026-10-26 22:20:54 -04:00
voiceover fix(voiceover): scope script submission counts per script 2026-10-09 13:13:19 -04:00
wiki feat(wiki): replace textarea overlay with a CodeMirror markdown editor 2026-11-18 15:12:22 -05:00
AGENTS.md refactor(intelligence): drop the factions.relationships array in favour of the ledger 2026-11-18 14:13:29 -05:00
config-cache.ts perf: cut queries per render and refreshes per realtime event 2026-11-22 22:39:10 -05:00
distance.ts feat(logistics): add shipments collection with dispatch, transit, and arrival processing 2026-08-02 02:03:50 -04:00
flow-edge-routing.ts refactor(flow): share the edge shape builder between both flow canvases 2026-10-06 14:47:14 -04:00
impersonation.ts feat(impersonation): implement user impersonation functionality and UI 2026-08-21 01:41:14 -04:00
logistics.ts feat(logistics): timestamp shipment lifecycle with client relay 2026-09-20 02:43:29 -04:00
modlistPreset.ts fix(missions): only accept Arma 3 Launcher preset exports as mod lists 2026-10-08 13:25:08 -04:00
redaction.ts feat(missions): add redacted objective toggle 2026-08-25 12:27:52 -04:00
shipping.ts feat(map): road-network routing for shipments with transport modes 2026-09-16 23:14:01 -04:00
storageRules.ts style: remove em-dashes from user-visible prose (wave 1) 2026-09-07 01:34:28 -04:00
utils.ts style(ui): format shadcn/ui primitives and utility hooks 2026-08-16 23:27:51 -04:00
versionInfo.ts feat(version): add build metadata fields 2026-08-27 18:36:11 -04:00