Convert the dossier personal excerpt from a plain textarea to Lexical rich text (matching the intel excerpt) with a 1000-character plain-text limit, and replace the static read-only cards on the profile page with inline DossierExcerptEditors: owners edit their personal excerpt, profiles:intel_excerpt:update holders edit the intelligence record. Changes are validated server-side (lexicalPlaintextLength) and emit dossier:personal-excerpt-update / dossier:intel-excerpt-update events.
7 lines
287 B
TypeScript
7 lines
287 B
TypeScript
/**
|
|
* Shared character limits for dossier excerpts (plaintext content, not raw
|
|
* JSON). Imported by the server actions, the collection field validator
|
|
* wiring, and the client editors.
|
|
*/
|
|
export const PERSONAL_EXCERPT_MAX_LENGTH = 1000;
|
|
export const INTEL_EXCERPT_MAX_LENGTH = 5000;
|