* fix: don't throw when switching from a data sync to a new table
The modal resets the form on a type change before the data sync form is
swapped out, and the data sync form had no reset method.
* fix: reset the sync options when switching data sync type
A two-way sync left on from PostgreSQL was sent for iCal, which doesn't
support it, so creating the table failed.
* fix: clear leftover data sync state when the type changes
Keeps the sync option defaults in one place, shows a failed restored sync
as an error with the form, and ignores properties for a previous type.
* test: reuse the data sync mount helper
A search or filter change refreshes the view and cancels the pending
fetch of newly visible rows. The fetch threw RefreshCancelledError, but
the gallery and timeline views dispatch it without awaiting, so it was
reported as an unhandled rejection (BASEROW-SAAS-WEB-FRONTEND-7T). The
refresh loads the visible rows itself, so the cancelled fetch now just
returns.
* chore: call workspace applications builders and name the builder role in English copy
* chore: say who can configure a builder instead of naming the builder role next to it
* test: expect the reworded Slack bot warning
* chore: name roles the same way everywhere and say builder in snapshot errors
A cell unmounted in the same render it was mounted in has no cell ref yet, and a
context can be hidden after an awaited request outlived it (Sentry FE-BX, FP, FN).
* chore: remove core and WAB feature flags shipping in v3
* docs: drop stale feature flag mentions from invitation link comments
* docs: add missing changelogs for released core features
* docs: mark identities ADR as accepted
* chore: remove the identities feature flag
* docs: add changelog for workspace identities
* test: remove obsolete identity feature flag test
* docs: remove stale identities feature flag references
---------
Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
* fix(database): run realtime refresh callbacks when no view is selected
Fixes#6943
* fix(database): add created and restored fields when no view is selected
view/getSelected is {} without a selected view, so the field_created and
field_restored handlers looked up an undefined view type and threw. Use
view/hasSelected instead, and cover both events on a table page without views.
* Add ADR-013 for workspace level integrations
* Add implementation
* Improve context section and remove technical points
* Move bulk replacement point to v2
* Remove workspace-level ownership on import since manual promotion should handle this.
* Add a glossary section
* Do Lazy creation + Celery migration
* Remove demotion
* Tighten the Options considered section
* Add Decision describing where the integrations are managed
* Update implementation plan after changes to ADR
* Sync plan and adr
* Rename adr and implementation
* Add the shared application that owns workspace integrations
* Create the shared application of every workspace
* Let only workspace admins manage workspace integrations
* Let applications use the integrations of their workspace.
* Trash workspace integrations in their workspace.
* Copy workspace integrations into exports and keep them in duplicates.
* Workspace admins can share integrations with every application in the workspace.
* Load the shared application of each workspace in the frontend and keep it out of application lists.
* Manage workspace integrations from an Integrations page in workspace settings.
* Offer workspace integrations in the integration dropdowns of every application.
* Move promoted integrations to the workspace list in other open tabs.
* Let admins make an app's integration available to the whole workspace from its integration settings.
* Preselect a workspace integration for new nodes and data sources when the app has none of its own.
* fix tests
* Delete implementation file
* More fixes after rebase
* Fix tests
* Let builders of an application see and use the workspace integrations from it.
* Show the workspace integrations, read-only, in the integration settings of applications.
* Keep a dashboard's integration out of promotion to the workspace.
* Leave the shared applications out of the admin dashboard's application count.
* Create the shared application of the workspaces made by the fill commands.
* Say in the promotion modal that an integration nobody authorized will run as the promoting admin.
* Say in the promotion modal that undoing it won't make the integration run as the previous person again.
* Ignore integration ids in sample data when publishing copies the workspace integrations an app uses.
* Let only undoing a promotion move an integration out of the workspace.
* Let the shared application backfill stop itself after 5 minutes and skip workspaces another transaction has locked.
* Say in the workspace integrations settings that published applications and workflows keep their own copy until they're published again.
* Leave the shared application out of the assistant evals' application counts.
* Refresh the workspace integrations when the Builder's data, events, users and integrations panels open.
* Say that anything new using a promoted integration blocks undoing the promotion, even from its own application.
* Warn when a database button sends through a workspace integration with no host or token.
* Refuse roles and invitations on the shared application.
* Fix tests
* Show an application only the workspace integrations of types it can use.
* Say in the promotion modal what builders of other applications can do as the integration.
* Leave the shared application type out of the API docs for creating and updating applications.
* Check who receives a workspace integration event in one permission call.
* Say which workspaces have a shared application and who creates it.
* Let a redone promotion record what uses the integration again.
* Update docstrings
* Stop template visitors from listing the integrations of the template's workspace.
* Let database buttons find their own copy of a workspace integration after an import.
* Say what holds the workspace row lock while a shared application is created.
* Fix tests
* Stop the workspace integration form component from being made reactive.
* Make test runs use a new copy of the workflow after an integration it uses changes.
* Hide the Members settings tab from members who can't list the workspace members.
* Add changelog
* Fix migration conflict
* Fix migration conflict
* Fix test
* Update comments and ADR number
* Link to the workspace integrations from the sidebar's Settings menu.
* fix: refresh agent action errors when workspace integrations change
* fix: move workspace integrations into workspace settings
* fix: use share icon for workspace integration promotion
* refactor: use explicit shared application relations
* feat: centralize default integration selection
* refactor: share integration change notifications
* refactor: prepare integration mappings before import
* refactor: collect integration references during export
* refactor: prepare integration ownership changes without a new hook
* test: restore registered service model after mocking
* test: cover shared integration defaults in Builder
* test: include Slack in Agent workspace integration choices
* Fix migrations
* Stop template visitors from listing the workspace integrations through an application of the template.
* Only offer integrations of the user source's integration type when updating a user source.
* Say the workspace integration copy means published Application Builder apps and automation workflows.
* Use the same spacing under both integration settings sections and enlarge their headings.
* Keep the shared application out of automatic snapshot schedules.
* Fix test after rebase
---------
Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
* feat: redesign sidebar workspace navigation
* feat: redesign the sidebar footer and account menu
Match the account menu to the sidebar prototype and reuse the admin
navigation in a submenu. Keep Add new above the footer while the
application list scrolls.
* fix: show the sortable indicator only when dragging
* feat: refine workspace sidebar application navigation
* feat: reorganize workspace sidebar shortcuts
* fix: isolate workspace sidebar menus and actions
* fix: cancel sortable drops on hidden lists
* fix(enterprise): allow retrying Direct support
* feat: simplify the workspace overview header
* fix: prevent horizontal overflow around the sidebar
Constrain animated tree groups to the width of the sidebar so long labels truncate. On narrow screens, let the sidebar expand over the content instead of reducing the usable page width.
* fix: fit workspace cards and creation menus on mobile
* test: keep the current table selected after reload
* fix: undo and redo edits across expanded sidebar applications
* fix: keep sidebar groups out of the tab order
* fix: highlight the active database in the tables tour
* feat: label workspace integrations in the settings menu
* fix: keep the workspace sidebar and guided tour usable on phones
* fix: undo sidebar row imports in the destination database
* fix: keep the guided tour highlight on the current step
* fix: show an empty state in the workspace picker
* fix: confirm workspace deletion before moving it to trash
* feat: open registered workspace settings tabs from the sidebar
* fix: keep the sidebar logo the same size across workspaces
---------
Co-authored-by: peter_baserow <peter@baserow.io>
* 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: add dashboard input filters and connected widget filtering
* style(dashboard): refine filter widget layout and resize handles
* fix: hide optional labels in dashboard filter settings
* feat(dashboard): resolve dropdown filter values from formulas
* feat(dashboard): add input and dropdown filter settings with cached options
* style(dashboard): use segmented control for filter type
* style(dashboard): remove separator above filter type
* style(dashboard): align filter settings field spacing
* feat(dashboard): support list-valued dropdown filters
* feat(dashboard): add single and multiple selection controls
* feat(ui): allow item cards without an icon
* feat(dashboard): simplify filter target configuration
* fix(ui): position floating dropdowns around their trigger
* feat(dashboard): simplify widget filter condition editing
* style(dashboard): streamline filter sidebar settings
* style(dashboard): clarify filter action buttons and spacing
* test(dashboard): align widget fixture with card rendering
* chore(changelog): document dashboard filters
* fix: preserve dashboard filter links across trash and restore
* fix: merge pending dashboard widget saves and settle all callers
* fix: match individual values in dashboard multi-select filters
* style: refine dashboard clear selection button
* feat: show dashboard filter cases as tabs with condition counts
* fix: limit dashboard refresh waits to dependent widget saves
* refactor: share the builder and dashboard item picker
* style: improve the dashboard text filter illustration
* feat: show inherited dashboard filters in widget refinements
* test: include table schemas in dashboard source responses
* fix: defer builder element availability checks until picker opens
* test: use shared item picker selectors in end-to-end tests
* feat: show Select actions for dashboard filter option fields
* feat: choose dashboard filter defaults from available options
Reuse cached options for single and multiple default selections and place the default picker below Filter values. Store multiple defaults as JSON lists while preserving existing string defaults.
* fix: clear dashboard filter defaults when options change
Save the new options and cleared default together so undo restores both. Ignore unchanged formula values and leave option refreshes unaffected.
* fix: persist filter defaults when switching selection modes
* fix: normalize dashboard filter defaults at the write boundary
* fix: preserve active filter selections when switching modes
* fix: remove unavailable dashboard filter defaults
* fix: reconcile filter defaults when dashboard options load
* fix: roll back filter selections independently of other widget saves
* fix: preserve explicit filter selections during failed saves
* fix: align dashboard filter input and dropdown dimensions
* feat: indicate when dashboard widget results are filtered
* feat: toggle dashboard filters for individual widgets
* feat: confirm and reset widget filters when changing tables
* fix: use source context data for dashboard filter options
* refactor: resolve dashboard filter options in the frontend
* refactor: organize dashboard filter providers and lifecycle hooks
* test: align dashboard context schema expectations
* fix: accept formula validation context in dashboard providers
* refactor: share dashboard update hooks and table selection
* refactor: configure nested dashboard formulas with shared field
* test: use grouped table selector in button field workflows
* refactor: validate dashboard runtime data through providers
* refactor: share formula property extraction across dashboard and builder
* refactor: delegate filter status to service types
* refactor: simplify dashboard restoration hooks and request cache
* perf: cache dashboard property extraction per widget
* refactor: resolve dashboard runtime filters through widget hooks
* refactor: rely on request transactions for dashboard source updates
* perf: share dashboard widget lookups and validation per request
* refactor: resolve dashboard context sources through handler
* refactor: validate dispatch data through every provider
* refactor: extract dashboard properties using source handler
* refactor: validate dashboard source ownership when saving formulas
* refactor: apply dashboard filters as additional AND groups
* refactor: store dashboard widget filters in relational models
* refactor: share grouped filter conversion and persistence
* refactor: delegate empty summary values to aggregation types
* refactor: place dashboard settings separators in data forms
* refactor: defer dashboard source formula imports
* fix: expose table field options for all data source types
* fix: scope dashboard cache signals to dashboard models
* feat: support option labels in selection filters
* fix: preserve summary widget spacing in edit mode
* test: preserve selection labels during filter imports
* fix: harden dashboard filters on public dashboards and select label view filters
* fix: keep dashboard filter imports, settings and stored links consistent
* fix: accept stale multi-value selections and validate inactive dashboard filter conditions
* feat: gate dashboard filter creation behind a feature flag
* feat: default dashboard filter conditions to their widget value
* fix: explain when the formula data explorer is empty
* test: use grouped table selector for agent triggers
---------
Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
Co-authored-by: peter_baserow <peter@baserow.io>
* feat: record and show the identity kind in history and pickers
- Snapshot the user type of the actor on row history, workflow history
and audit log entries, and return it from their APIs.
- Show the identity icon in row and workflow history, list identities in
their own section of the audit log actor filter and count them per role
in inherited access.
- Load every identity in the team and access pickers through the
paginated subjects endpoint, which now returns the workspace role.
- Give identities premium features from the workspace or instance
licence instead of a seat.
* feat: record identity management in the audit log
Creating, updating and deleting an identity go through registered
actions, so the audit log shows who did it, with the identity's name and
role before and after an update. The actions are not undoable.
* fix: export an identity by its name in created by and last modified by
* fix: record the values an identity update replaced from the locked row
* fix: check the owner of an imported personal view without a query
* fix: show an identity with the avatar and icon of its subject type
* fix: audit an identity update by what it changed
* feat: include the actor's user type in the audit log export and tool
* test: cover a row history actor of an unregistered type
* test: name the history migration test after what it checks
* fix: require read access to the linked table for joins and link writes
A token or restricted role limited to one table could read a linked table through
joins, and read its primary values by linking rows.
* fix: batch linked table checks and cover the remaining link write paths
Checks now run once per linked table so queries stay flat, and token batch results no longer take the last table's outcome.
Undo, skipped import columns and restricted-view self-links work again; upsert names and view default links are checked.
* fix: authorize link row view defaults when they are saved
An unreadable default on a shared view blocked everyone from adding rows there, so saving a new one now needs linked-table read.
Personal views keep the check on row creation because their owner configures them.
* fix: link the checked rows and explain linked table denials
Names were resolved again after the check, ids of missing rows passed it,
and the UI sends view defaults as values. Denials now name the linked table.
* fix: resolve self-link names per field and recheck trusted link defaults
Name lookups ran once per row in batch writes, and saved link defaults stayed
trusted after the field's linked table or the view's ownership changed.
* fix: check the linked table for link filters, assistant row tools and batch services
A link row filter and the assistant's row tools returned names of rows from a
table the user can't read, and batch services validated links before the check.
A default kept from another field type could be re-saved without the check.
* fix: restore removed link defaults on undo and refresh them in open views
Removing defaults on a link target change lost them on undo and left open
views sending the old value. Copying defaults into a view that trusts them
skipped the linked table check.
* fix(database): group date-only created on and last modified fields by day (#6616)
* fix(database): sort grouped date rows by their group key (#6616)
* fix(database): align date groups and audit date sorting
* fix(database): align audit date filter values with sorting
Implement the companion get_value_for_filter required by custom get_order. Normalize date-only values to the UTC-day ordering key while preserving full timestamps and nulls, with SQL regression coverage.
* fix(database): harden date grouping and view indexes
* feat: add permanent workspace invite links behind the rbac_improvements feature flag
* feat: ask logged-in users to confirm before joining a workspace through an invite link
* feat: make the invite link code length configurable with a default of 12 and a minimum of 7
* feat: let admins name invite links so they remember what each one is for
* feat: show only the invite path in the link column to make room for the name
* fix: harden invite links and let people sign up through them with single sign-on
* fix: ask people who sign up through an invite link with single sign-on to confirm joining
* feat: let invite links raise a member's role after they confirm, without ever lowering it
* fix: move shared clipboard helper into core
* fix: validate workspace invitation link roles
* refactor: share confirmation modal across core features
* refactor: use literal frontend translation keys
* fix: label invitation route Invite links
* fix: copy invitation links when clicking their paths
* fix: align invitation migration with latest develop
---------
Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
* fix(backend): cap page size on view row listings and the agents list
Grid, gallery and timeline row listings (including public views) and the agents
list accepted any page size, so one request could serialize a whole table.
Kanban limit/offset now reject negative values instead of erroring.
* fix(frontend): keep view row requests within the row page size limit
Grouped grid ranges can span collapsed groups and exceed the limit the backend
now enforces, so grid requests are split into chunks and merged. Gallery and
timeline request sizes are capped to the configured limit.
* fix(backend): cap kanban limits and keep default page sizes within the limit
Kanban limits were unbounded, and a default page size above a lowered
BASEROW_ROW_PAGE_SIZE_LIMIT made requests without a size fail.
* chore: add changelog entry
* fix(frontend): fetch grouped grid rows per visible section
One range from the first to the last visible section also fetched every row
of the collapsed groups in between, split into thousands of capped requests.
* fix(frontend): fill the visible gallery and timeline range under a small page size limit
Capping the request size left visible rows as placeholders when the limit was
smaller than the visible range.
* fix(frontend): keep kanban row requests within the page size limit
The kanban store always asked for 24 rows, so it stopped loading when the limit
was set lower.
* fix(premium): return no rows when kanban or calendar grouping has no group to fetch
With no matching select option or an empty date range, the empty filter selected
every row of the queryset without the view filters applied.
* fix(frontend): refresh grouped grid rows per visible section
The refresh fetched one range across all visible sections, so a large
collapsed group in between turned into thousands of capped requests.
* chore: mark the page size limit changelog entry as a breaking change
Requests above the limit now return a 400 instead of rows.
* show each member's, team's and agent's roles on databases, tables and views
* Adding a loading state to the role assignment role selector. Also ensure that the parent row's highest role is correctly refreshed.
* fix: give CRUD row expansion its own column
* fix: stabilize management table columns with configurable layouts
---------
Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
* show who effectively has access in the share dialog
* optimise the effective access query
* add a loading spinner for the effective access too
* fix: navigate inherited access within the sharing modal
* fix: restore invitation popup and scrollable access lists
* fix: return accurate team counts in scope access lists
* refactor: centralize subject avatar rendering and styling
* fix: keep team counts in field permissions and restore template icons
---------
Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
* fix(backend): match no rows for an invalid single select equal filter value
A non-integer value made the filter a no-op, so every row matched. It now matches
nothing like the is-any-of filter; empty values still disable the filter.
* fix: match no rows for invalid id values in has and is view filters
Link row has, collaborators has and user is matched every row on a non-integer value.
Id values now use the frontend integer rule, so formula fields no longer get a raw
value in the jsonpath and realtime matching agrees with the backend.
* chore: add changelog entry
* fix: parse link_row_has ids with the frontend ASCII digit rule
Keeps the backend and realtime matcher in agreement for fullwidth or superscript digit tokens.
* Implementing the new invite-to-scope design and functionality.
* Simplifying the invitation acceptance, we don't need the redirect.
* Fix the action type description
* Addressing my own review feedback, and making sure the workspace invitation form behaves like the scoped one.
* Further tweaks after testing edge cases manually
* Lint fix
* Taking a DRYer approach to validating the subject chips.
* Lint fix
* Addressing feedback
* fix: block invitation batches containing invalid emails
Malformed addresses could be silently cleared after a partial batch send.
Keep them visible and block submission until corrected or removed.
* fix: respect workspace invitation permission in scope sharing
Scoped Admins could attempt email invites denied by workspace permissions.
Gate new-email invitations while keeping existing subjects assignable.
* feat: unify workspace and scoped access lists
Workspace and scope lists duplicated markup and lacked consistent controls.
Share rows, add workspace edit/cancel actions, and cap lists at six rows.
* fix: reconcile invitation branch with develop
Develop enables agents and adds an Enterprise migration at the same number.
Align invitation subjects and renumber the branch migration after develop.
* refactor: resolve workspace user roles in the backend
The frontend duplicated the backend mapping from basic roles to RBAC roles.
Expose role_uid in user payloads and reuse it for inherited access counts.
* fix: validate invitation emails before submission
The permissive database validator let malformed invitation addresses reach the API.
Use the existing strict validator for email suggestions, chips, and batch submission.
* fix: align invitation input focus styling
The invite input used a gray border tied to whether suggestions were open.
Use the standard blue border with focus-within so Escape preserves the focus highlight.
* feat: limit email invitation batches
Large invitation batches can exhaust the sending allowance partway through.
Default to five new emails per batch, configurable, with a message before submission.
* feat: let roles declare the invitation default
RBAC invitations should default to Viewer without Enterprise-specific logic in core.
Let role types declare the default: Member for basic workspaces and Viewer for RBAC.
* refactor: keep invitation role semantics in their owning modules
Core invitation UI should not interpret Enterprise role IDs or depend on Database roles.
Move basic roles to core and let Enterprise supply invitation subtitles through role metadata.
---------
Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
* fix: keep public and restricted views in sync when linked-table changes move rows (#6339)
- Dependency cascades now send rows_deleted / rows_created to publicly shared
and restricted views when a row leaves or enters their filters. The decision
is made inside the transaction, from a before snapshot read under the row lock.
- Only tables with such a view filtering on a field the cascade changes pay for
this. The check is an EXISTS inside the existing snapshot read, so other tables
run the same queries as before and take no extra lock.
- Snapshot reads match ids read from the link tables with id = ANY(ARRAY(...)),
which avoids a full primary key walk. A row the cascade updated before
snapshotting it never gets an enter/leave decision.
- Fields a cascade changes without an UPDATE (link values) are tracked across
the transaction. Views filtering on them are skipped, and those values are
left out of rows_deleted. This replaces the cell_values_come_from_other_tables
field type flag.
- Cascades over the realtime limit also refresh publicly shared and restricted
views (force_view_rows_refresh), not only workspace members.
- On realtime deletes, the client removes rows it already holds by id. When the
payload lacks a value it needs to place an unheld row, it leaves counts as
they are.
- Creating a linked row from a link cell no longer sends a redundant PATCH,
which failed in restricted views.
* test: keep only the essential #6339 tests and trim docstrings
Merge overlapping tests into shared builders and parametrized cases. Keep one
test per behaviour, and keep the exact security assertions. Cut new docstrings
and comments down to the non-obvious why.
* fix: keep a link created from the link-cell modal in the cell (#6339)
Skipping the redundant PATCH also skipped the only local write of the
new link, so a later pick or remove PATCHed a stale list and unlinked
the created row. The link is now applied locally through the same store
path realtime uses; only the PATCH is skipped.
* fix: let a cascade decide only rows nothing else wrote in the transaction (#6339)
A broadcast decided enter and leave from its first snapshot of a row
and cached the result, so another write in the same transaction made
it send rows or values a public or restricted view never showed: a
direct edit after the cascade, a row created or edited before it, the
other rows after close() split the broadcast, or a cascade inside a
savepoint.
The transaction's writes are now tracked per table. At commit, a
broadcast drops every row something else wrote: rows written directly
keep develop's direct-path events, and rows of a savepoint split or of
a bulk write get none. close() is gone.
Also pins the no-lock gate's filters_disabled and changed-link cases.
* chore: shorten the #6339 changelog entry
* Rename backend node types
* Rename backend trigger service types
* Rename frontend node types
* Rename frontend service types
* Rename CorePeriodicServiceForm to match the service type
* Rename node test fixtures method names
* Update skill and document naming convention
* Rename some imports after rebase
* docs(adr): rewrite ADR 006 in the ADR template format
Folds the phase amendments into the main sections and trims the record to the decisions.
* docs: point ADR 006 references at the rewritten sections
Drops references to points the trimmed record no longer covers.
* docs(adr): drop implementation details from ADR 006
* docs(adr): state the unwritable-field rule in ADR 006
Comments cite it as section 4's stricter rule.
* docs(adr): apply review suggestions to ADR 006
* fix: stop editing rows hidden by restricted view filters
Cancel edits still queued for a row that the backend reported as hidden,
including pasted values, in grid, gallery, timeline, kanban and calendar,
so they are neither sent nor put back on screen. Close the row modal when
its row gets hidden in a restricted view; other views keep it open.
* test: cover builders and ignore broadcast order in restricted view tests
* test: add e2e tests for restricted view row visibility
Cover creating, editing, pasting and dragging rows in a restricted view
while the HTTP response is held after the server commits, the row modal
closing only in restricted views, and view default values.
* fix: hide rows created with the grid's floating add button when filtered out
createNewRowConfirmed used the single-row endpoint, which doesn't return
hidden_row_ids, so a restricted editor kept a row the view's filters
exclude. Create it through the batch endpoint and report hidden rows like
the other create paths.
* test: expect the batch endpoint for the grid's floating add button
* fix: cancel queued kanban edits when a drag hides the card
* 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(database): anchor the floating add row button to the view
Position the + button absolute to the gallery, grid and timeline view
containers instead of fixed to the viewport, so it stays inside the view
when a side panel narrows it.
* chore(storybook): replace fixed with absolute in ButtonFloating story
* fix(database): guard grid against missing and stale cell values
Grouped rows now get newly created fields, sorts treat a missing or null cell
as empty, and rich text cells tolerate a value of the previous field type.
Rows in collapsed groups resolve their group from the section key.
* fix(database): address review findings on grid cell guards
Key an undefined group value like null so pathFromKey can parse it, remove
deleted rows from collapsed groups, and sort present-but-undefined cells and
empty multiple select or collaborator formulas as empty.
* refactor(database): drop empty value for formula types that cannot be sorted
Multiple select and collaborator formulas cannot be sorted or grouped by, so a missing cell never reaches their sort.
* fix(database): sort zero in array formulas as a value
The element check treated 0 as missing, so [0] tied with [] and with other numbers.
* fix(database): keep grouped row caches shared and sort null cells as empty
addField now reuses one copy per row, so an edit reaches both sectionRows and
absoluteRows. The sort wrapper also replaces null cells.
* feat(database): let a button email send through an SMTP integration
SaaS turns instance SMTP off, which left the email action unusable there.
* feat(database): flag a button email with nothing to send through
An email set to an unavailable instance server or a missing integration fails on every click.
* test(database): cover email actions carrying an SMTP integration through import
* feat(database): pick an SMTP integration for a button email
The backend now lets a button email send through an SMTP integration, so the form offers the dropdown and says when the instance cannot send.
* fix(database): let a stale instance email switch to an integration
With the instance choice hidden the saved true value stayed, so the integration was dropped by the backend.
* docs: record that button emails can use an SMTP integration
SaaS turns off instance SMTP, so the 4b revisit trigger fired.
* test(e2e): the button email form offers an SMTP integration
The form now matches the builder's instance/integration choice.
* fix(database): refresh open button editors when an integration is updated
A renamed or reconfigured integration left the editors of the buttons using it stale.
* fix(database): keep a button email's integration choice from blocking a save or a click
Switching to the instance failed when the old integration was trashed or unreadable. A trashed, missing or hostless integration only failed after earlier actions ran.
* fix(database): refuse button emails that cannot send and keep the chosen sender
A stored instance choice was lost on any save while instance SMTP was off, and a named integration was dropped where the instance only prints mail.
Clicks through an integration with no From or a non-public host are refused before anything runs.
* fix(database): stop the button email form from editing actions on open
The shared SMTP form rewrote a stored instance choice on mount, so opening an editor during an SMTP outage changed actions, and the builder and automations saved on view.
The form is back to develop's behaviour unless the button passes its new prop.
* chore: drop the changelog entry for button email integrations
The button field is not released yet, so its own changelog entry covers this.
* fix(database): let a button email's SMTP integration be edited
A database has no integrations page, so the dropdown is the only place to edit one, as with the Slack action.