* feat(database): assign and mention identities behind a field option
- Collaborator fields get `include_identities` and long text fields
`long_text_include_identities`, both off by default.
- With the option on, active identities of the workspace can be assigned
or suggested as mentions; they are shown with their icon and renamed
in realtime, and they never receive notifications.
- Turning the collaborator option off backs up the column, deletes the
identity assignments and strips identities from the view defaults, so
the update can be undone.
- Identities can author row comments and be mentioned in them.
- Exports write an identity as `Name <identity>`.
* refactor: hide internal emails in collaborator exports through one check
* fix: import a personal view only for a person, without a query per owner
* fix: show collaborator identities with the icon of the user subject type
* refactor: drop a redundant local import of the core handler
* fix: unify identity icons and space field options
* fix: keep identity field menus and saved mentions readable
* fix: limit identity mention suggestions to row comments
* perf: prefetch available collaborators once per workspace
* fix: use workspace members as authors of generated rows
* fix: resolve linked collaborator values by member email
* fix: use workspace collaborators for field pickers and paste
* refactor: move identity avatar styles to the avatar stylesheet
* fix: address review feedback on identity collaborators
* feat(database): format AI field text output as rich text
AI fields with text output can store rich text, reusing the rich long
text editor without mentions or images. New AI fields default to it in
the create form; existing fields, API clients and old imports stay
plain. Rich fields add a one-line formatting instruction to the prompt.
Also:
- forward row-modal edits of AI fields, which were never saved
- keep image markdown as literal text when images are off, instead of
reducing it to its alt text and losing the URL on save
- escape user file image references as `![alt]\[name]` so a reference
nested in another's alt text can't stay live
- return 400 instead of 500 when a PATCH would make a primary field
rich text
Closes#6220
* fix: preserve reference image URLs in rich text
Defined Markdown image tokens carry their destination and title separately
from the raw reference marker. Keep that data as self-contained literal
inline text when image nodes are disabled, and align the preview behavior.
Add parser, AI row persistence, and browser regressions while preserving
internal file references and the existing inline-image path.
* fix: handle AI field changes during generation
* fix: use TipTap Markdown for rich text fields
* fix: escape markdown at line starts only and skip saves without edits
* perf: skip the preview markdown round-trip when no empty paragraphs are possible
* fix: address feedback; add docs
* fix: copilot feedback
* fix: copy one cell, paste in edit mode in another one
* feat: add configurable max length for text-based field values
Add BASEROW_MAX_FIELD_TEXT_LENGTH (default 500000), enforced at the serializer and in the frontend for single line text, long text, URL and AI fields. Existing longer values remain readable; only new writes over the limit are rejected.
Implements #5688
* fix: address review feedback for max text length
- Fix rich text editor modal crashing on expand: guard
FieldRichTextModal.serializeToMarkdown() while the editor is
unmounted during the open transition.
- Surface the max-length error inside the expanded modal (Alert
banner) and block closing while the value is over the limit.
- Fall back to the default limit in the frontend when the runtime
config is missing or non-numeric instead of silently disabling it.
- Improve the error message to show how many characters are over the
limit (Max N chars (-x)).
- Avoid a settings crash when BASEROW_MAX_FIELD_TEXT_LENGTH is set to
an empty string.
- Add frontend tests for the rich text modal and the validation.