78 Commits
Author SHA1 Message Date
Peter EvansandJeremie Pardou 31552d5e97 feat: show who effectively has access in the share dialog (#6463)
* 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>
2026-10-27 14:19:07 +00:00
alamin-br aedbdfcfd3 fix(database): guard grid against missing and stale cell values (#6207)
* 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.
2026-09-30 15:16:52 +02:00
Przemyslaw KukulskiandPrzemyslaw Kukulski 3be327639f fix: use array-aware sort for lookup fields in frontend sort comparison (#5894)
Co-authored-by: Przemyslaw Kukulski <przemyslaw+gh@baserow.io>
2026-08-13 11:22:24 +02:00
alamin-br 636691c4d5 fix(web-frontend): correct link row "Add new" create modal behavior (#5481)
* fix(web-frontend): correct link row "Add new" create modal behavior

* chore: add changelog entry for link row create modal fix and simplify logic

* refactor(web-frontend): make null case explicit in URL formula toHumanReadableString

Replace scattered optional chaining with an explicit early return for
null/undefined values, per review feedback on #5481.
2026-06-15 12:57:11 +02:00
Davide Silvestri c3958f264b feat (database): first and last formulas (#5066)
* feat: add first(), last() and generalized index() formula functions

* fix: address PR review feedback and handle NaN index argument

- Rename _BaserowIndexShortcut to BaserowIndexShortcut (drop leading _)
- Remove unnecessary comments and section separators
- Rename variable c to clone in JSONBArrayGetElement
- Rename test to test_first_and_last_return_scalar_values, drop docstring
- Remove step comments in test_index_generalized.py
- Handle NaN/div-by-zero as index() argument (returns null instead of crash)

* feat: update index() formula examples to include array fields
2026-04-03 07:47:21 +00:00
Davide Silvestri ee1371ff55 feat (database): array_slice formula (#5062)
* feat: add array_slice() database formula function

* fix(formula): handle NaN arguments in array_slice to prevent DB crash

Wrap start/count args with handle_arg_being_nan before truncating to
int, so expressions like tonumber('x') no longer cause
"cannot convert NaN to integer" at the PostgreSQL level.
NaN is treated as 0 for both arguments.
2026-04-03 09:10:16 +02:00
Davide Silvestri 3670bf42c1 feat (database): add array_unique db formula function (#2326) (#5056)
* feat: add ARRAYUNIQUE() database formula function (#2326)

Add array_unique() formula that removes duplicate values from lookup
arrays, preserving first-occurrence order. Mirrors Airtable's
ARRAYUNIQUE() — operates on true arrays from lookup fields, not plain
text.

Supports text, number, boolean, date, duration, URL, email, phone,
rating, single select, multiple select, link row, created_on, and
autonumber sub-types. Rejects file fields (different JSONB structure).

* feat: enable count() and join() composability with array_unique()

Add internal non-aggregate functions (array_length, array_join_values)
that operate on JSONB arrays directly, and wire them into count() and
join() so that count(array_unique(...)) and join(array_unique(...), sep)
work. The existing many-expression paths remain unchanged.

* docs: add array_unique to formula docs, mark internals as exceptions

Add array_unique to formula_docs.md so the formula prompt completeness
tests pass. Add array_length and array_join_values (internal delegation
targets) to the formula_exceptions lists in both test files.

* chore: ensure tests works also for formulas referencing different field types
2026-04-03 08:43:12 +02: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
Petr Stříbný c6a93c344d Fix Create row modal inside linked row field fails if the primary field is of type formula array (#4548) 2026-01-20 10:26:18 +01:00
Cezary 76dc299765 duration lookup filters (#4140)
* duration lookup filters
2025-11-06 11:52:11 +01:00
BramandCezary Statkiewicz b368c4f850 multiple collaborators lookup filters (#4086)
* multiple collaborators lookup filters
---------

Co-authored-by: Cezary Statkiewicz <cezary@baserow.io>
2025-10-29 15:34:11 +01:00
Davide Silvestri 78e1533c69 Resolve "this.getFormulaType is not a function" 2025-03-18 19:18:07 +00:00
Davide Silvestri b31430f44c Resolve "Updating a cell fails when a view is sorted or grouped by a linked field that has a primary field of the type formula" 2025-03-11 14:31:05 +01:00
Davide Silvestri 895b6baaa1 Resolve "Stop optimistically sort/group by if a read_only field is involved" 2025-02-10 15:58:03 +00:00
Davide Silvestri fadc768d7a Resolve "Use "Collaborator" field type in formulas" 2025-01-31 14:01:04 +00:00
Davide Silvestri 2fffac0fc6 Resolve "Filter support for lookups of date fields" 2025-01-23 17:15:06 +00:00
Davide Silvestri 33f7231491 Merge branch '3277-add-support-to-filter-lookup-of-multiple-select-fields' into 'develop'
Resolve "Add support to filter lookup of multiple select fields"

Closes #3277

See merge request baserow/baserow!2959
2025-01-15 17:14:41 +00:00
Davide Silvestri 8e36dbe32f Resolve "Add support to filter lookup of multiple select fields" 2025-01-15 17:14:41 +00:00
Davide Silvestri 9133da61da improve default values for lookup and formula fields 2025-01-15 14:51:01 +00:00
Cezary Statkiewicz 244d6050bd #3112 number lookup field filters 2025-01-02 09:19:28 +00:00
Przemyslaw Kukulski 1b271f23cf Advanced number formatting 2024-12-17 09:43:02 +00:00
Cezary Statkiewicz 1fa2af432d 3110 formula duration field filtering 2024-12-12 18:18:59 +00:00
Cezary Statkiewicz e6b4eb05dd #3103 boolean lookup filters 2024-11-15 11:48:19 +00:00
Davide Silvestri be27e89fb0 Add filters support for lookups of single select fields 2024-11-12 19:22:38 +00:00
Cezary Statkiewicz 78dd51068a #3111 url formula filters 2024-11-05 13:37:42 +00:00
Przemyslaw Kukulski 19a84d4c5d Resolve "Add tourl formula to support operations on url field type" 2024-08-01 19:50:43 +00:00
Petr Stribny 195cabcfae Refactor frontend array field filters to mixins 2024-07-17 17:08:03 +02:00
Petr Stribny 1bd4e4a7ea Allow filtering text-based lookups 2024-07-16 15:04:20 +00:00
Przemyslaw Kukulski dbf820e315 Resolve "Make URL types hyperlinks in Lookup fields" 2024-07-15 10:19:55 +00:00
Bram Wiepjes 39618cd398 Merge branch 'show-full-relationship-and-lookup-names' into 'develop'
Show full relationship and lookup names

Closes #1751 and #1073

See merge request baserow/baserow!2467
2024-06-19 18:19:23 +00:00
Bram Wiepjes 8e1a4f6af5 Show full relationship and lookup names 2024-06-19 18:19:23 +00:00
Petr Stribny 4906c724fc File field support for AI prompt field 2024-06-19 13:30:43 +00:00
Davide Silvestri 339ba10c04 Re-enable rollup functions for all field types 2024-05-29 08:41:07 +00:00
Davide Silvestri aeb4ff6684 Draft: Resolve "Support for division/multiplication/tonumber formula for duration field" 2024-05-08 09:21:55 +00:00
Davide Silvestri dbb847f88d Add && and || operators to the formula language 2024-04-10 07:51:40 +00:00
Davide Silvestri 83cbe6ced2 2️⃣ Support for duration in formula: add backend/frontend support 2024-01-18 12:31:59 +00:00
Davide Silvestri 0c563352c8 Resolve "Button formula function should show as an actual button" 2024-01-03 08:58:31 +00:00
Bram Wiepjes 930e7dd627 Group by count 2023-12-17 19:51:05 +00:00
Davide Silvestri 1a90b6e2fe Resolve "Support multiple select in the formula field" 2023-12-11 09:33:58 +00:00
Nigel Gott 3702df04ba Add support for view filters and decorations on formula file fields 2023-10-19 06:22:10 +00:00
Nigel Gott d704b560ca Resolve "Lookup field compatibility with the file field" 2023-10-11 10:35:54 +00:00
Jonathan Adeline 4321aaea9a Replace icons 2023-09-28 13:39:41 +00:00
Nigel Gott 5e8121fac9 1️⃣🪣 Final Group By metadata MR 2023-09-21 14:03:57 +00:00
Eimantas Stonys a463434061 Resolve "Add split_part formula function" 2023-09-13 08:44:05 +00:00
Sabeeh Hassan 03466721f8 Resolve "Add formula function to encode uri's" 2023-08-02 10:05:10 +00:00
Petr Stribny 8f58efc37e Resolve "View Sorting by Lookup field" 2023-07-06 17:44:17 +00:00
Peter Evans 75316a4a6e Resolve "Implement Postgres full-text search" 2023-07-05 16:01:03 +00:00
Jérémie Pardou 3072524b31 Allow date type for min and max formula functions 2023-07-04 13:59:30 +00:00
Jérémie Pardou 327e197522 Resolve "Allow to define external service integration" 2023-06-22 14:23:00 +00:00
Alexander Haller fbf463a864 Resolve "Move formula language partially into own module" 2023-06-15 10:28:18 +00:00