1
0
Fork 0
polaris-task-force/src/components/frontend
Z8MB1E 34c0d5681f fix(rich-text): render full lexical formatting incl. colours across all fields
RichText authored in the admin panel was rendered as plain text on the
public site: headings/lists/quotes were flattened by Tailwind preflight
(no @tailwindcss/typography installed), and Payload's default JSX
converter ignored text colours.

- src/lib/lexical: shared editor factory (ptfLexicalEditor) + shared
  colour palette (textState) + colour converter (richTextConverters)
- RichTextView: canonical .lexical-content renderer (colour-aware),
  swapped into every frontend render site
- All rich-text editors route through the factory, so every field
  inherits the coloured editor (incl. the previously-unedited ones)
- .lexical-content CSS extended with checklist/table/heading rules,
  wrapped in @layer components so per-page utilities still override;
  dropped the now-dead per-page prose hacks
- Remove the now-dead briefingConverters in favour of the shared
  converter; add tests/int/rich-text-view.int.spec.ts
2026-11-18 13:10:26 -05:00
..
account feat(awards): render ribbon devices as vectors with tier-driven auto-layout 2026-10-26 22:21:10 -04:00
analytics feat(analytics): add Microsoft Clarity analytics 2026-10-01 10:04:45 -04:00
announcements fix(rich-text): render full lexical formatting incl. colours across all fields 2026-11-18 13:10:26 -05:00
auth feat(auth): add return-URL flow for login redirects 2026-08-19 19:48:24 -04:00
awards feat(awards): render ribbon devices as vectors with tier-driven auto-layout 2026-10-26 22:21:10 -04:00
banking fix(banking): render currency emblem inline to stop the hydration mismatch 2026-10-12 23:04:29 -04:00
baseManagement chore(ui): drop grid-texture hover fade 2026-10-05 03:36:38 -04:00
blocks chore(sidebar): add intro text to the Contribute dropdown 2026-11-02 10:00:16 -05:00
contributions feat(contributions): fade the XP hint out and polish the amount 2026-10-13 15:52:57 -04:00
dashboard feat(frontend): drop duplicate frame labels from mission detail cards 2026-11-02 13:06:27 -05:00
dev feat(dev): confirm gate before navigating to the dashboard in dev 2026-09-21 20:48:17 -04:00
events feat(event-log): hide routine tick events behind a toggle 2026-10-19 20:03:51 -04:00
garage fix(garage): always fit the vehicle bay grid to its container 2026-10-13 16:43:16 -04:00
helpdesk fix(rich-text): render full lexical formatting incl. colours across all fields 2026-11-18 13:10:26 -05:00
impersonation refactor(impersonation): replace page control with modal 2026-09-01 17:17:54 -04:00
intelligence fix(rich-text): render full lexical formatting incl. colours across all fields 2026-11-18 13:10:26 -05:00
interiors feat(interior): interiors screens, sidebar entry, and launch content seed 2026-10-20 18:33:43 -04:00
journals feat(contributions): fade the XP hint out and polish the amount 2026-10-13 15:52:57 -04:00
locker chore(locker): commit pending stock handling refinements 2026-10-25 21:23:40 -04:00
logistics feat(logistics): restyle vehicle catalog cards in tactical dossier style 2026-10-26 22:20:54 -04:00
map fix(rich-text): render full lexical formatting incl. colours across all fields 2026-11-18 13:10:26 -05:00
markers fix(modlists): send modlist files as downloads instead of inline views 2026-10-26 18:07:05 -04:00
market chore(locker): commit pending stock handling refinements 2026-10-25 21:23:40 -04:00
minigames chore(minigames): log Bomperator transport kind and raw ping samples in debug stats 2026-10-21 20:50:40 -04:00
notifications feat(notifications): add staff toggle to show only your own notifications 2026-10-09 14:43:12 -04:00
operations feat(operations): gate logistics extractions behind an officer review screen 2026-10-26 22:20:14 -04:00
personnel fix(rich-text): render full lexical formatting incl. colours across all fields 2026-11-18 13:10:26 -05:00
profile fix(rich-text): render full lexical formatting incl. colours across all fields 2026-11-18 13:10:26 -05:00
projects feat(ui): searchable combobox across data-driven dropdowns 2026-09-17 16:28:17 -04:00
promotions feat(promotions): add promotion nominations and leadership transfers 2026-10-03 03:29:24 -04:00
realtime feat(minigames): add Ordnance Disposal (bomperator) multiplayer drill 2026-10-16 00:32:52 -04:00
roster fix(mobile): resolve horizontal overflow and touch-only affordances 2026-10-12 20:17:21 -04:00
session fix(session): dismiss expiry warning toast when signed out or extended 2026-09-24 12:04:58 -04:00
shims feat(shims): add targeted client-side injections 2026-08-26 00:53:31 -04:00
storage fix(grids): resize drag preview when rotating mid-drag 2026-10-13 16:42:50 -04:00
story fix(rich-text): render full lexical formatting incl. colours across all fields 2026-11-18 13:10:26 -05:00
surveys fix(rich-text): render full lexical formatting incl. colours across all fields 2026-11-18 13:10:26 -05:00
techTree fix(rich-text): render full lexical formatting incl. colours across all fields 2026-11-18 13:10:26 -05:00
tours fix(mobile): meet the 24px tap-target floor across the app 2026-10-12 22:17:51 -04:00
transfers feat(promotions): add promotion nominations and leadership transfers 2026-10-03 03:29:24 -04:00
voiceover feat(voiceover): spoiler gate, pacing pattern, and recorder updates 2026-09-14 15:37:12 -04:00
wiki feat(wiki): add private drafts with a one-way publish 2026-11-18 11:06:37 -05:00
AGENTS.md fix(rich-text): render full lexical formatting incl. colours across all fields 2026-11-18 13:10:26 -05:00
ClientDate.tsx feat(ui): add ClientDate component for timezone-aware date rendering 2026-08-31 12:27:17 -04:00
LandingPage.tsx test(e2e): seed e2e user, serialize workers, and deflake specs 2026-09-30 18:43:29 -04:00
PayloadButtons.tsx feat: switch to Bun, add fonts and styling, update components and UI, add basic front-end 2025-12-16 23:26:52 -05:00
RichTextView.tsx fix(rich-text): render full lexical formatting incl. colours across all fields 2026-11-18 13:10:26 -05:00
SiteHeader.tsx feat(tours): add permission-aware guided tours with replay and device opt-out 2026-09-30 18:43:21 -04:00