1
0
Fork 0
polaris-task-force/src/components/frontend/personnel
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
..
DialogueAttachments.tsx feat(npc-dialogue): attach files to conversation lines 2026-10-14 16:05:15 -04:00
initials.ts feat(personnel): add NPC portraits and rich bio, redesign contact cards 2026-10-05 03:22:11 -04:00
NpcActivityLine.tsx feat(npc): complete dialogue feature and fix migration snapshot base 2026-10-05 16:02:53 -04:00
NpcCard.tsx feat(npc): add weighted activity, level, and dialogue conversations 2026-10-05 12:51:59 -04:00
NpcConversation.tsx feat(npc-dialogue): condition groups and ternary text tokens 2026-10-14 16:21:16 -04:00
NpcDirectory.tsx fix(mobile): meet the 24px tap-target floor across the app 2026-10-12 22:17:51 -04:00
NpcProfile.tsx fix(rich-text): render full lexical formatting incl. colours across all fields 2026-11-18 13:10:26 -05:00
NpcStatusChips.tsx feat(npc): add weighted activity, level, and dialogue conversations 2026-10-05 12:51:59 -04:00