33 Commits
Author SHA1 Message Date
Jonathan Adelineandpeter_baserow a26c5ce6b0 feat: filter dashboard widgets by date or date range (#6954)
* fix: handle calendar boundaries in date comparisons

* feat: add a single-date filter to the dashboard API

* feat: send the viewer timezone with dashboard data requests

* refactor: share dashboard filter controls and target settings

* feat: configure dashboard filter conditions on date fields

* feat: add the Date filter to the dashboard widget picker

Implement the single-date mode of #6886.

* fix: restore dragging dashboard filters by their titles

* feat: persist the dashboard date filter display format

* feat: choose how dashboard filter dates are displayed

* test: align numeric filter checks with shared dashboard controls

* style: format the dashboard date filter component test

* fix: accept fixed UTC offsets in dashboard date filters

* fix: expose dashboard filter dates as ISO strings in formulas

* fix: seed dashboard conditions with compatible operators

* feat: expose date ranges in dashboard formulas and viewer selections

* feat: configure inclusive date range conditions for dashboard targets

* feat: persist and dispatch inclusive dashboard date ranges

* docs: describe date range selections in the dashboard dispatch API

* feat: select and configure dashboard date ranges

* fix: let viewers clear each dashboard date range endpoint

* fix: preserve unfinished dashboard date range bounds on refresh

* fix: refresh public dashboards after a date filter mode change

* test: group dashboard date filter mode transitions

* fix: warn about incompatible date range formula operands

* fix: convert dashboard date defaults from the saved widget

* fix: keep dashboard filter controls aligned when a condition has a warning

* fix: clear incompatible dashboard conditions when switching date modes

* fix: show cleared date conditions without warnings or redundant saves

* fix: ignore empty dashboard date conditions after switching modes

* fix: ignore dashboard date conditions without a single date and simplify mode switch clearing

---------

Co-authored-by: peter_baserow <peter@baserow.io>
2026-12-03 20:40:18 +04:00
alamin-br 59da1eb2da feat: rich content in form view descriptions (#1851) (#5707)
* feat: rich text editor for form field description (creator)

* feat: render form field description as rich text (respondent)

* feat: rich text editor for form description (creator)

* feat: render form description as rich text (respondent)

Renders the form-level description read-only via RichTextEditor in
FormViewModeForm.vue (the public standard form), matching the field
description treatment from FormPageField.

FormViewModeSurvey.vue was checked and has no separate form-level
description/title render at all (it goes straight to fields), so no
change was needed there.

* docs: changelog for rich form descriptions (#1851)

* fix: only save form description after an actual edit

saveDescription ran on every editor blur and compared tiptap's
normalized markdown against the raw stored value, so clicking into
a legacy plain-text description (with chars like *, #, %) and away
without editing silently rewrote the stored value. Add a dirty flag
set only by update:modelValue (real edits) so blur without an edit
is a no-op.

Also drops the unused editor-class attribute on the description
RichTextEditor (no matching SCSS rule).

* perf: only mount field description editor when needed (v-if)

* fix: preserve in-progress description edit on external update; add e2e coverage

* fix: click-to-edit toggle for form descriptions; fix cursor reset

Replace the always-editable inline RichTextEditor on the form builder with a
shared FormViewDescription component that renders read-only markdown and mounts
the editor only while editing, behind an edit pencil (matching title/submit).

- Restores the edit affordance that regressed vs the old Editable.
- Passes model-value one-way and reads markdown back on blur, so typing after
  moving the cursor no longer resets to the end.
- No floating menu lingers on the form once editing stops.
- Removes the dirty/save-on-blur logic duplicated across FormViewField and
  FormViewModePreviewForm.

* test: cover form description toggle and save-on-blur

* fix: keep description editor menu stuck to cursor line on scroll

Pass the form preview's scroll container (.form-view__preview) to the editor so
its floating/bubble menu tracks the cursor line while the page scrolls, instead
of falling back to the editor's own non-scrolling root.

* Address PR review feedback (#5707)

- Route public form description render sites through FormViewDescription
- Pass scroll container as a resolver prop instead of a closest() lookup
- Wrap long unbroken words in form and field descriptions
- Use palette color variable for the description placeholder

* fix: clamp form description containers to the form column

The flex editor wrapper inside the inline-block description containers
made them shrink-to-fit their max-content width, letting long words
escape the form column on the public form.
2026-07-17 17:40:40 +02:00
Jonathan Adeline 56a4d7f3a1 chore: replace moveToBody with <Teleport /> built-in vue3 component (#4872) 2026-05-19 15:05:00 +04: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
Przemyslaw Kukulski bb8909d343 Resolve "Asterisk (*) to indicate required fields in forms" 2025-08-22 09:57:42 +00:00
Przemyslaw Kukulski e59c78e58c Single select default value conflicts with form's restricted options cause errors 2025-08-08 08:59:29 +00:00
Davide Silvestri 7d1fe63e09 Resolve "Bug when opening forms in templates" 2025-06-13 10:10:02 +02:00
Davide Silvestri 87848ac91d Resolve "Field level edit permissions" 2025-04-29 14:25:11 +02:00
Bram Wiepjes 165142e3e9 [4/4] Update Form view styling 2025-04-17 15:02:11 +00:00
Przemyslaw Kukulski 9cee7ef17a Be able to specify a default value on boolean field 2025-04-15 08:49:10 +00:00
Bram Wiepjes 744582d60f Allow choosing select options in form view 2024-12-16 13:20:34 +00:00
Jonathan Adeline df738083a6 FormGroup FormInput FormTextarea refactoring 2024-07-05 09:35:08 +00:00
Davide Silvestri c122ebb442 Resolve "Enable Single-Level Nesting of filter groups within existing groups" 2024-06-17 13:31:15 +00:00
Jonathan Adeline 4deeed8877 radio refactor 2024-04-26 17:23:19 +00:00
Jonathan Adeline 3dd3d98972 Buttons refactor 2024-04-15 11:29:17 +00:00
Jonathan Adeline 493d256db4 SwitchInput refactoring 2024-01-26 08:56:35 +00:00
Bram Wiepjes 61df56b99b Respect read-only state for the show field as buttons 2023-11-23 12:25:41 +01:00
Jonathan Adeline c50b83587c Redesign checkbox & switch restyling 2023-11-02 05:48:47 +00:00
Bram Wiepjes 94af7f96f7 Enable linking to multiple link to table entries in the form view 2023-10-23 12:52:24 +00:00
Davide Silvestri b4eb488147 🔍 4️⃣ : Advanced filters for public views 2023-10-21 12:20:01 +00:00
Davide Silvestri 71724f9a4f 🔍 3️⃣ - Realtime signals and undo/redo for advanced filtering 2023-10-20 15:35:18 +00:00
Davide Silvestri d55ac7ccd4 🔍 2️⃣ - UI for advanced filtering 2023-10-19 11:09:25 +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
Petr Stribny 7fc59e6e89 Allow multiline descriptions for form view fields 2023-07-05 07:39:19 +00:00
Peter Evans 0426ead072 Resolve "Rename group to workspace in frontend code." 2023-03-28 14:40:58 +00:00
Bram Wiepjes ef78dbc587 Moved the permissions and roles store to the groups store 2022-11-02 11:55:27 +00:00
Bram Wiepjes 41a10c3b72 Fix mousedown and click events of the modal and context 2022-10-31 18:35:57 +00:00
Peter Evans 77ac76458a Moving title/description to our translation file so we can support internationalization in this MR. 2022-09-06 10:45:55 +01:00
Peter Evans a9663c9b81 Adding support for placeholder copy in contenteditable spans. 2022-09-05 14:50:54 +01:00
Bram Wiepjes a4013b0331 Resolve "Survey form style" 2022-09-02 12:24:17 +00:00
Bram Wiepjes bb25b6edfe Resolve "Forms - Show field only when conditions are met" 2022-07-26 08:38:24 +00:00
Bram Wiepjes 53ffd8f9c0 Resolve "Form view" 2021-07-11 18:02:37 +00:00