166 Commits
Author SHA1 Message Date
Jérémie Pardou 0a2120168f fix(frontend): resolve Nuxt B4007 page-meta warnings (#6332) 2026-10-19 18:35:43 +00:00
Bram 35866e79de All workspaces homepage [2/7] Added all workspaces page and sidebar (#5980)
* Added all workspaces page and sidebar

* Show error if workspace is not found

* Fixed feedback

* Fixed feedback

* Fix test
2026-09-23 22:44:24 +02:00
Bram 42371d6beb feat: Add skeleton loading animation and make pages load instantly (#6023) 2026-09-09 11:03:03 +02:00
Davide Silvestri 4feb259e10 chore(deps): upgrade Nuxt to 4.5.0 and Vue ecosystem (#5763) 2026-08-05 16:05:01 +00:00
Bram 92ce535aba feat: Report abuse in public views (#5766) 2026-07-29 13:24:21 +02:00
Bram 1fd27d407c feat: Added admin views listing (#5751) 2026-07-22 16:30:17 +02:00
Davide Silvestri d8ff2e5b1f refactor: add a test plan and extract grid view helpers in preparation for collapsible group-by (#5430)
* refactor: extract grid view common test helpers

* refactor: extract row-lifecycle helpers and migrate grid store

Add computeRowInsertPosition to utils/row.js (expresses insert
position by row identity rather than flat array index).

Add handleRowCreated, handleRowDeleted, handleRowUpdated to
rowLifecycle.js. Each takes a store-supplied mutations adapter so
the decision logic (filter matching, sort position) is shared
between the flat-array grid store and the upcoming collapsible
group-by store.

Migrate createdNewRow, updatedExistingRow, deletedExistingRow in
grid.js to delegate through the new helpers via inline adapter
closures that translate position descriptors to the existing
flat-buffer Vuex mutations. Observable behaviour is unchanged;
search gating is preserved in each Vuex action.

Also includes grid view e2e test additions (section 1.5 task queue,
section 7.7 row identifier type, section 10.1 hover actions) and
grid test plan updates from the refactor/grid-view-common-e2e work.

* chore: fix CI

* chore: cleanup

* refactor: remove dead grid e2e search helpers and dedupe row-lifecycle guards

- Drop the unused openSearch/typeInSearch/clearSearch/toggleHideNotMatchingRows
  methods from GridPage; the richer, used variants live in
  grid_view_options.spec.ts. This also removes the placeholder/getByText
  selectors flagged in review (the remaining 'Delete row' selector stays scoped
  to the visible context menu).
- Centralize the repeated 'applyMatchFlags ?? noop' / 'rowsForMatchCheck ??
  emptyRows' guards into a single normalizeMutations() helper. No behavior change.

* refactor: remove dead updateMatchFilters/updateMatchSortings grid actions

Both grid store actions lost all production callers in the row-lifecycle
migration (match flags are now computed via onRowChange/reapplyMatchFlags and
direct computeRowMatchFlags calls). Repoint the remaining viewFilters test at
the live onRowChange path instead of the orphaned updateMatchFilters action.

* docs: note field-constraint create/edit coverage in grid view test plan

Add 1.6.x and 2.6.x TODO entries describing add/edit behavior under unique and
unique-with-empty field constraints (backend validation error surfaced +
optimistic rollback; empty values exempt from uniqueness).

* test: await route registration in failNextRequest

failNextRequest fired page.route() without awaiting it, so the intercept
could register after the caller already triggered the request. Make it async
and await registration before returning (mirroring pauseNextRequestWithSignal);
it now returns { done } and the 3 callers await it.

* test: scope grid_interaction serial mode per-describe

Replace the single file-level serial config with a per-describe one (matching
the other two grid specs) so a failure in one block no longer skips the rest and
independent blocks can run in parallel.

* docs: document createRowLifecycleContext and clarify escape wording

- Add a docstring to createRowLifecycleContext.
- Reword the Deferred/Escape note in the grid view test plan.

* fix(e2e): return created rows from createRows helper

setupGrid expected createRows to return the created rows to collect their
ids, but the helper returned void and discarded the batch-create response,
so created.map() threw 'Cannot read properties of undefined' and every
grid_interaction spec failed deterministically. Return response.data.items.

* revert publicView changes
2026-06-25 12:26:19 +00:00
Jonathan Adeline 552ce22d16 chore: Bump to Nuxt4 (#5197) 2026-06-17 16:10:09 +04:00
alamin-br 0e1dc939e1 fix(web-frontend): Show unnamed row label for empty linked rows in form drop downs (#5469)
* fix(web-frontend): Show unnamed row label for empty linked rows in form
dropdowns

* fix: address reviewer comments on form link-row dropdown fix

* fix(web-frontend): keep required validation passing when user picks an
unnamed linked row

* fix(web-frontend): reset the cache to prevent it from growing
unboundedly

* fix(web-frontend): enforce required form validation at the field-type level

Required validation in the form submit path relied on each component's
isValid(), which the duration field overrides with a touched-based check.
An untouched empty required duration field therefore passed validation and
the form submitted an empty value the backend rejected.

Move the required check back to the field-type level via a new
isEmptyForRequiredValidation(), which defaults to isEmpty but lets link_row
use presence semantics (a picked row with an empty primary still counts as
filled) without changing isEmpty, so the conditional-visibility filters keep
treating that row as empty.

Also generalise PaginatedDropdown so valueName accepts a function and select()
emits the resolved item, which removes the fetchPage side effects (label
injection and the rowLookup copy) and lets the single and multiple link-row
components share a formViewLinkRowField mixin.

* fix(web-frontend): align link_row empty semantics with the backend

Replace isEmptyForRequiredValidation with a single isEmpty. A link_row is
a many-to-many relation, so the backend treats it as empty only when no row
is linked; the frontend's isEmpty was inheriting the base array check and
reporting a picked empty-primary row as empty. Make isEmpty selection-based
so the conditional-visibility filters and required form validation share one
definition that matches the backend.

* test(e2e): cover link_row behaviour on the public form

Add e2e tests for the public form link_row field: the "unnamed row" label
for empty-primary linked rows, an empty-primary pick revealing a
show-when-not-empty field, client-side blocking of a required empty field,
and a required link satisfied by an empty-primary row. Add form-view and
row fixtures and a FormPage page object to support them.

* refactor(web-frontend): tidy form link-row validation and row-value resolution

Collapse the duplicated requiredField branches in the multiple link-row
getValidationError into a single guard, document why it delegates to
baseField (not rowEditField) to avoid a double required check, and extract
the shared item/displayName resolution into resolveRowValue on the mixin so
the explanatory comment lives in one place.

No behaviour change; covered by existing form link-row unit tests.

* refactor(e2e): merge createTable helpers and fix link_row isEmpty semantics

Unify createTable/createTableWithData into a single createTable with an
optional data argument, and treat a link_row value as empty only when
every slot lacks a real id (some -> every), so a picked empty-primary
row counts as a real selection.

* fix(web-frontend): show required error for an untouched empty duration field

The duration field only computed its error message while the user typed, so
a required, untouched, empty field blocked form submission silently with no
visible error. Fall back to the field-type validation in the duration mixin's
getError so the required error renders on submit, and assert it in the e2e.

* refactor(web-frontend): drop redundant duration isValid override

isValid() now matches baseField's implementation exactly, and no
intermediate mixin defines it, so the override is dead weight.

* fix(web-frontend): guard duration form error slot with touched && !valid
2026-06-16 14:25:01 +02:00
Bram 161c88e4f3 Revert API docs button styling (#5408) 2026-05-21 17:44:35 +02:00
Jérémie Pardou 2daacc7bea chore: improve error handling in frontend (#5109) 2026-05-13 19:36:30 +00:00
Davide Silvestri 004d2b54e1 fix: prevent database API docs toggle crash (#5213)
* fix: prevent database API docs toggle crash

Use Vue's template ref unwrapping correctly so opening the database selector no longer crashes the API docs page. Add a regression test covering the toggle interaction.

* fix: address API docs review feedback

Unmount the API docs page in the regression test to avoid leaking listeners between tests. Update the database list toggle to use button semantics and keep the existing styling.
2026-04-17 20:58:05 +02:00
dimmur-brw 3a431d246c fix (nuxt): instance unavailable errors (#5064) 2026-04-07 07:18:29 +02:00
Bram 6a4b56174d feat (View level permissions) [4/6]: Hidden fields (#5007) 2026-03-31 20:54:10 +02:00
Bram 019d02e93d feat: edit row via form view field (#4886) 2026-03-17 09:44:33 +01:00
dimmur-brw 4293912a3a Fix hydration issue on publicView pages (#4843) 2026-03-04 14:41:51 +01:00
Jonathan Adeline 8237644b44 Prevent 404 errors from being sent to Sentry (#4836) 2026-02-25 16:26:56 +04:00
Jérémie Pardou 4780c3a3c4 Fix view not found being an issue in sentry (#4806) 2026-02-18 17:32:02 +01:00
Bram cec38a68f6 Fix multiple row get requests (#4777) 2026-02-16 23:44:32 +01:00
Bram 19c3a650b6 Fix timing problem when switching tables (#4776) 2026-02-16 20:25:55 +01:00
Jérémie PardouandJonathan Adeline 815bb560cb AB nuxt3 fixes (#4774)
* Fix sort in data source

* Fix bug in preview authentication

* chore: Remove `applicationContext` from table page metadata.

* chore: Remove `applicationContext: true` from `definePageMeta` in automation workflow and dashboard pages.

---------

Co-authored-by: Jonathan Adeline <jonathan@baserow.io>
2026-02-16 18:50:54 +01:00
dimmur-brw c79618bae2 Fix browser history for navigation between tables (#4770) 2026-02-16 12:06:46 +01:00
Bram 4c49f91cee Stop loading on error (#4767) 2026-02-15 21:10:02 +01:00
Bram e4b0823bed Ensure correct database, view, table, fields state on route (#4766) 2026-02-15 20:23:55 +01:00
dimmur-brw 5692cc0c94 Fix "View not found" error when navigating to a row via workspace search (#4753) 2026-02-15 20:09:39 +01:00
Jonathan Adeline 7c88d30ada Fix sidebar application views selection (#4728) 2026-02-12 19:18:44 +04:00
Jonathan Adeline fe4ae84fab Fix duplicate API calls issue on database views (#4724) 2026-02-11 15:24:46 +01:00
dimmur-brw 608a4a52d2 Various fixes for nuxt3 migration (#4604) 2026-02-11 11:29:32 +01:00
Jérémie Pardou ee21b017f2 Fix more frontend unit tests after nuxt migration (#4591) 2026-02-09 10:52:47 +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
Bram 1a5fe5e78c [3/6] View level permissions - Rows (#4072) 2025-12-03 20:54:40 +01:00
Bram cfb684af7a [2/6] View level permissions - Filters (#4070) 2025-12-03 19:32:53 +01:00
Bram Wiepjes a7d4299758 Fix publicly shared view login page loading state 2025-09-12 22:57:10 +02:00
Bram Wiepjes 445fa7803c Set correct canonicals for public pages 2025-08-12 22:03:52 +02:00
Przemyslaw Kukulski e59c78e58c Single select default value conflicts with form's restricted options cause errors 2025-08-08 08:59:29 +00:00
Bram Wiepjes c01def6119 Password field API authentication 2025-07-08 15:06:37 +02:00
Bram Wiepjes ed34761f19 Merge branch 'list-all-tables-endpoint' into 'develop'
Introduced endpoint that lists tables that the token has access to

See merge request baserow/baserow!3368
2025-05-09 09:03:12 +00:00
Davide Silvestri 87848ac91d Resolve "Field level edit permissions" 2025-04-29 14:25:11 +02:00
Davide Silvestri 3ea26775a6 Merge branch 'frontend-field-read-only' into 'develop'
Uniform fieldType.isReadOnly in the frontend

See merge request baserow/baserow!3365
2025-04-18 10:45:17 +02:00
Davide Silvestri 668198b15c Uniform fieldType.isReadOnly in the frontend 2025-04-18 10:45:17 +02:00
Bram Wiepjes 165142e3e9 [4/4] Update Form view styling 2025-04-17 15:02:11 +00:00
Bram Wiepjes fdbd8ee601 Introduced endpoint that lists tables that the token has access to 2025-04-16 17:07:15 +02:00
Przemyslaw Kukulski 9cee7ef17a Be able to specify a default value on boolean field 2025-04-15 08:49:10 +00:00
Bram Wiepjes 5af4ff4b65 Fix bug where the error page of a table not found page fails hard. 2025-04-01 10:31:26 +00:00
Cezary Statkiewicz b1c2f59bcb #3331 better error handling in database app UI 2025-02-26 12:37:45 +00:00
Bram Wiepjes 301d4e64d6 Periodic data sync deactivated notification 2025-02-25 14:52:20 +01:00
Bram Wiepjes fa9048f584 Send notification when webhook is deactivated 2025-02-25 10:52:35 +00:00
Jonathan Adeline a58e6a3300 Vuelidate upgrade 2025-02-17 13:17:35 +00:00
Bram Wiepjes 5820e834f4 Fix API docs SSR bug 2024-12-19 13:10:28 +01:00