27 Commits
Author SHA1 Message Date
Davide Silvestri 23f328cb19 feat(database): assign identities to rows and mention them in comments (#6619)
* 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
2026-11-18 22:53:44 +01:00
Davide Silvestri fc6bfb299b feat(database): format AI field text output as rich text (#6221)
* 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
2026-10-05 09:17:09 +02:00
dimmur-brw 5d0bef8f7a feat: enable image embedding in rich text fields (#5775) 2026-09-28 13:57:41 +02:00
Davide Silvestri 3a4a57246d fix: use the official TipTap Markdown extension and fix newlines disappearing (#5721)
* 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
2026-07-22 12:02:53 +02:00
Jonathan Adeline 552ce22d16 chore: Bump to Nuxt4 (#5197) 2026-06-17 16:10:09 +04:00
dimmur-brw 608a4a52d2 Various fixes for nuxt3 migration (#4604) 2026-02-11 11:29:32 +01:00
dimmur-brw ab77d480cb Fixes for grid and other views (#4575) 2026-01-23 08:09:23 +01:00
716d43a9a8 Nuxt 3 migration (#4342)
Update the nuxt3 version.

Co-authored-by: Jonathan Adeline <jonathan@baserow.io>
Co-authored-by: Bram Wiepjes <bramw@protonmail.com>
Co-authored-by: Cezary <cezary@baserow.io>
Co-authored-by: Tsering Paljor <tsering@baserow.io>
Co-authored-by: Przemyslaw Kukulski <przemyslaw+gh@baserow.io>
Co-authored-by: Bram <bram2w@users.noreply.github.com>
2026-01-22 10:27:19 +01:00
Davide Silvestri 4bc743d4dc Fix rich text editor floating menus 2025-06-10 16:31:01 +02:00
Przemyslaw Kukulski 14ea722cb4 Copy and Paste don't work as expected inside the LongText field editor (rich and plain) 2025-02-25 18:46:27 +00:00
Bram Wiepjes ab796941be Resolve "Rich text field breaks survey mode form view" 2024-09-23 18:21:22 +00:00
Davide Silvestri eb13b10dd3 Resolve "Allow overwriting generative AI settings on workspace level" 2024-04-08 15:41:09 +00:00
Davide Silvestri a41ab1ac87 003 📚: Support for mentions in long text field 2024-04-05 15:25:38 +00:00
Davide Silvestri 4132b0cd2d 002 📚: Resolve "Support images in the rich text field" 2024-04-05 14:56:34 +00:00
Davide Silvestri a502f2d0fe 001 📚: Resolve "Add links to the rich text field" 2024-04-05 14:31:10 +00:00
Davide Silvestri 4bfe3ae299 000 📚: Fix rendering diffs in grid view for the rich text field 2024-03-25 11:13:01 +00:00
Davide Silvestri 5cde177a09 Fix bug with markdown parser in the rich text editor 2024-03-20 15:15:45 +00:00
Davide Silvestri 951073a108 Resolve "Rich Text menus do not work in Safari" 2024-03-19 16:51:21 +00:00
Davide Silvestri fa0834f95b 📚4️⃣ Rich text: expanded input mode 2024-03-05 13:55:20 +00:00
Davide Silvestri 5dec352041 📚3️⃣ Rich text: bubble menu for the editor 2024-03-04 10:27:22 +00:00
Davide Silvestri af590eeb99 📚2️⃣ Rich text: (not really) functional components for all views 2024-03-01 09:54:25 +00:00
Davide Silvestri 220359b1c9 📚1️⃣ Rich text: Grid view and Row edit modal editor components 2024-02-22 12:27:49 +00:00
Davide Silvestri 8a4a21c209 Resolve "Notify user when added to rows as a collaborator" 2023-07-27 15:51:41 +00:00
Davide Silvestri bfc1e8fd94 Notification ui fixes 2023-07-17 19:13:04 +00:00
Nigel Gott 48529b4030 Fix manual rendering of component not working in saas for odd reasons. 2023-07-14 15:46:22 +01:00
Davide Silvestri c5c79744ce Notification v1: create notification panel and show mentions in comments 2023-07-14 07:59:25 +00:00
Davide Silvestri 52e1409095 Resolve "Mentions v2: mentions users in comments" 2023-07-06 12:06:04 +00:00