Commit Graph

357 Commits

Author SHA1 Message Date
Sam Rose 6363965a8b
Also rename LuceneUtils -> QueryUtils 2024-06-12 15:04:56 +01:00
Sam Rose bc8791e91e
Remove the word 'lucene' from runLuceneQuery and buildLuceneQuery. 2024-06-12 14:44:20 +01:00
Conor Webb c9fb6e35c8
Enhancement: add ability to set custom auto-dismissal duration for notifications (#13829)
* Enhancement: add ability to set custom auto-dismissal duration for notifications

* Updated based on feedback.

* Enforce max duration for auto-dismiss to 2 minutes
2024-06-05 12:29:07 +01:00
Andrew Kingston c89a7a261f Ensure in-app navigation via navigate to action automatically prefixes URLs with slashes 2024-05-22 09:35:27 +01:00
Gerard Burns 693e3373a6 merge master 2024-05-14 13:38:28 +01:00
Andrew Kingston 3d01bd3f08 Merge branch 'master' of github.com:Budibase/budibase into new-table-selected-rows 2024-05-13 13:44:27 +01:00
Andrew Kingston b08bfc2517 Fix bug where adding a confirmation step to a button action chain would break event context in further actions 2024-05-02 10:48:44 +01:00
Gerard Burns 53553d8dd6 linting 2024-04-22 14:34:20 +01:00
Gerard Burns 7890b4e6cb wip 2024-04-22 14:34:19 +01:00
mikesealey 4c0d3ed5f3 runs the closeSidePanel function when navigating away using a button-action 2024-04-19 14:45:57 +01:00
Adria Navarro adaf555616 Handle errors 2024-04-12 12:52:02 +02:00
Andrew Kingston cfcda49c80 Fix data export for legacy configs 2024-04-08 16:39:55 +01:00
Andrew Kingston 8e7e2ddb99 Clarify wording 2024-04-08 16:19:06 +01:00
Andrew Kingston 53bbaac751 Update export data action to work with new table component 2024-04-08 16:17:22 +01:00
Andrew Kingston e1a9762d21 Always allow selecting rows in grids in apps, and add binding for grid selected rows 2024-04-08 09:33:02 +01:00
Adria Navarro 151ea235f1 Handle empty attachments 2024-04-04 21:28:06 +02:00
Adria Navarro 9e773c7c18 Select table on config 2024-04-04 21:27:22 +02:00
Adria Navarro c7c652825b Lint 2024-04-04 21:27:22 +02:00
Adria Navarro fb8163193c Notificaiton on error 2024-04-04 21:27:22 +02:00
Adria Navarro c1e78a099b Lint 2024-04-04 21:27:22 +02:00
Adria Navarro cd9d99c1df Notification on error 2024-04-04 21:27:22 +02:00
Adria Navarro 7e7f31b967 Allow downloading attachment 2024-04-04 21:27:21 +02:00
Adria Navarro 12f9b47954 Implement download by url 2024-04-04 21:27:21 +02:00
Adria Navarro 19caf3cddf Copy 2024-04-04 21:27:21 +02:00
Andrew Kingston b3cf3fa636 Improve how snippets are handled in client apps 2024-03-14 16:16:24 +00:00
Andrew Kingston 84fb0dd9de Add local state manipulation of snippets 2024-03-06 13:33:00 +00:00
melohagan 6e4c2b7242
Export data make CSV delimiter configurable (#13028)
* Add delimiter option

* Add custom delimiter

* external export delimiter

* Custom headers for row export

* External export rows custom headers

* Support custom JSON export labels

* Handle export table source switch

* update account portal

* Add space as delimiter

* Refactor

* update account portal
2024-02-27 09:23:49 +00:00
melohagan c12e5fd196
Fix array type missing from query schema selector (#12772)
* Tidy MongoDB aggregation pipeline view

* Remove unused code

* WIP

* Add bindings for bindings drawer

* Is not external table if it's a query

* Add QueryArrayFetch

* Bug fix

* JavaScript is the worst

* refactor

* Add array label to query schema

* Remove console log

* type fix

* Don't include Array in SchemaTypeOptions, but show label

* Fix bindings

* refactor

* Rename isObject to hasSchema

* WIP

* Typing WIP

* Type not Types

* Unused import

* type fix

* Handle json array subtype

* Support queryarray datasource type

* refactor

* yarn lock

* update account portal

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-02-19 09:13:03 +00:00
melohagan faa8fad0b5
Add Clear Row Selection action (#13002)
* Add Clear Row Selection action

* update account-portal

* Refactor to use contextActionHandler

* Remove unused code
2024-02-14 10:05:14 +00:00
melohagan bee9422fad
Download CSV with UTF-8 support (#12990)
* Download CSV with UTF-8 support

* update account portal
2024-02-13 10:46:13 +00:00
Peter Clement c915442a9e
Merge branch 'master' into fix/pc-fixes 2024-01-30 16:53:38 +00:00
Peter Clement 58fedd10f5 fix issue with automation not triggering when no fields existed 2024-01-26 09:21:13 +00:00
deanhannigan d246adca9c
Revert "Revert "Global bindings"" 2024-01-22 11:10:03 +00:00
deanhannigan b2c790650b
Revert "Global bindings" 2024-01-22 11:03:05 +00:00
Andrew Kingston 7806591b82 Merge branch 'master' of github.com:Budibase/budibase into global-bindings 2023-11-20 14:47:37 +00:00
Andrew Kingston bec32399ef
Merge branch 'master' into form-block-field-layout 2023-10-31 11:32:11 +00:00
Andrew Kingston 77fa373a90 Remove ability to select fields in preview because it is not compatible with field configuration changes 2023-10-27 15:09:17 +01:00
Dean 5266d80afe Fix to ensure single integer ids are parsed correctly 2023-10-26 16:09:01 +01:00
Andrew Kingston 291ecd45fe Allow form block fields to be clicked from within the preview 2023-10-20 09:38:55 +01:00
Andrew Kingston 3ae5216fd5 Make update forms work with view V2s 2023-09-18 19:07:19 +01:00
Andrew Kingston f78cc26a68 Integrate actions into new global context and greatly improve performance by only enriching when required 2023-09-15 11:52:35 +01:00
Andrew Kingston 1995a2860f Merge branch 'develop' of github.com:Budibase/budibase into global-bindings 2023-09-12 11:35:54 +01:00
Andrew Kingston 5763a9843c Update duplicate rows action to support views V2 2023-08-24 16:14:37 +01:00
Andrew Kingston 7a40ad66c6 Strip hidden fields from viewV2 schema in client lib 2023-08-09 16:30:27 +01:00
Andrew Kingston 06810d43d9 Add support for viewV2 datasources in client library 2023-08-09 15:09:53 +01:00
Andrew Kingston 9ddb8f4c5f Merge branch 'develop' of github.com:Budibase/budibase into global-bindings 2023-08-07 13:04:34 +01:00
Andrew Kingston b82a34d7e1 Tidy up 2023-07-25 15:35:58 +01:00
Andrew Kingston b8bc25a39a Merge branch 'develop' of github.com:Budibase/budibase into global-bindings 2023-07-25 09:43:58 +01:00
Dean ca6737b77b Merge remote-tracking branch 'origin/develop' into feature/delete-multiple-button-action 2023-07-20 12:39:49 +01:00
Martin McKeaveney 979883257e backmerge master 2023-07-19 17:11:15 +01:00
Dean 7f3dfc8bba Linting 2023-07-14 11:42:22 +01:00
Dean a481eee39e Binding selection fixes, delete controller refactor and some fixes 2023-07-14 09:11:34 +01:00
melohagan 7a06fcee0f Add BigInt type support (#11145)
* Add BigInt type

* Allow BigInt columns to be added

* Sort fixes

* Add BigInt field
2023-07-07 15:11:41 +01:00
melohagan a97518ff39 Scroll to field button action (#10901)
* Scroll To Field WIP

* Scroll to the label
2023-06-23 11:51:49 +01:00
Peter Clement 59e1150eee improve notification message for sync automation run 2023-05-16 09:59:37 +01:00
Peter Clement dcfb65b92d sync / async automations go through one endpoint 2023-05-12 15:56:24 +01:00
Peter Clement 1626571081 Merge remote-tracking branch 'origin/develop' into feature/sync-automations 2023-05-11 11:53:12 +01:00
Peter Clement 1539bf234b add ability to trigger synchronous automation from button action 2023-05-09 12:10:20 +01:00
Martin McKeaveney 67813a86a9 Merge pull request #10437 from Budibase/budi-6955-typo-in-default-prompt-user-action
fix typo in prompt user modal default text
2023-05-05 12:02:29 +01:00
Andrew Kingston d03f96ceb8 Make all blindings global and improve client component performance 2023-04-28 09:03:09 +01:00
andz-bb af48549e09 fix typo in prompt user modal default text 2023-04-27 16:06:57 +01:00
Andrew Kingston 31f6f9db7b Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-03-29 12:09:57 +01:00
Andrew Kingston f2b12bcf45 Component error state improvements (#10136)
* Tidy logic for creating initial component instances

* Add initial implementation of enriching empty settings

* Fix regression that prevented custom placeholders from working (#9994)

* Tidy up

* Add automatic naming of form fields when added

* Update missing required setting placeholder

* Improve error states and add ability to automatically wrap a component in a required parent type

* Fix crash in column editor and rename component placeholder to error state

* Select the parent component after adding it when wrapping a component with a missing ancestor

* Fix blocks and make fields require forms

* Improve empty component placeholder

* Lint
2023-03-28 21:11:33 +01:00
Andrew Kingston c4e3667b6c Merge branch 'develop' of github.com:Budibase/budibase into just-dataspace-things 2023-03-09 17:54:58 +00:00
melohagan 09cf4f8bbc Dynamic filter: Enrich columns (#9877)
* WIP

* Allow related fields in Dynamic Filter

* REST URL check https first

* Only allow related fields in dynamic filter column editor
2023-03-07 10:32:52 +00:00
melohagan 6a6bbb38c4 Support navigate to link in new tab (#9800)
* Support navigate to link in new tab

* Add dropdown for Navigate To type

* lint

* Remove labels
2023-03-01 17:41:50 +00:00
Andrew Kingston 0eadca9acb Optimise scrolling and virtual rendering performance 2023-02-25 16:33:20 +00:00
Gerard Burns 8289da3f19 Add Fetch Row Button Action (#9653)
* Add Fetch Row Button Action

* PR feedback
2023-02-17 14:49:35 +00:00
Andrew Kingston 2a2466fbda More fixes (#9387)
* Mark filters as nested settings to support persisting bindings post block ejection

* Add support for searching on linked fields in blocks

* Fix multi-select pickers closing on every click

* Target spectrum root element by default when rendering popovers, and allow customisation via context for client library

* Don't send up invalid HBS expressions when filtering on dates in blocks with empty date value

* Move profile above theme in user dropdown
2023-01-19 16:09:40 +00:00
FlaminWrap a1ee10c1c6 Button action for user prompt (#8676)
* Commit for enhancement #7762

Added Question option for buttons which acts as a dialog prompting the user to confirm or cancel before continuing.

* Fixes

* Made changes to allow custom modal title

Changed Question to User Prompt
Allows custom title

* Revert "Made changes to allow custom modal title"

This reverts commit 42a43bef4914cd52b07a2b6964bf78aa50eb2707.

* Revert "Fixes"

This reverts commit 915a8718e5ac6dd32a6c3d377d5edb02fc8a3138.

* Adds custom title

Adds custom title

* Wrong version of buttonActions was commited

* Delete index.js

* refactor

* lint

Co-authored-by: Mel O'Hagan <mel@budibase.com>
2022-12-15 16:21:24 +00:00
Andrew Kingston 783e95b688 Merge pull request #8667 from FlaminWrap/Flaminwrap-Enhancement-7604
Allow user to disable hard coded notifications for button actions #7604
2022-12-05 09:36:31 +00:00
Andrew Kingston e37027f808 Use explicit actions for opening and closing side panels, and automatically close side panels when using form blocks 2022-11-15 11:54:20 +00:00
Andrew Kingston aa81e0451a Add button action for showing/hiding side panels 2022-11-14 15:02:57 +00:00
FlaminWrap 0859691afe Ran yarn lint:fix
Ran yarn lint:fix as I forgot to do that
2022-11-13 17:25:48 +00:00
FlaminWrap e190f932d8 Commit for enhancement #7604
Added a checkbox to allow the user to disable the default notifications to the following button actions:
* Save row
* Duplicate row
* Trigger automation
* Execute query
* Delete row
Also adjusted buttonActions.js to reflect the behaviour of that checkbox being ticked.
2022-11-13 17:08:23 +00:00
Andrew Kingston ce4f8ef5f9 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-09 16:57:24 +00:00
mike12345567 04f1f983e4 Fix to allow close screen modal without navigating to a new page. 2022-11-03 13:23:29 +00:00
Andrew Kingston 058547fd67 Add initial version of side panel component 2022-10-27 08:08:35 +01:00
Andrew Kingston 4dc6b869a8 Lint and improve comments 2022-10-21 16:59:26 +01:00
Andrew Kingston 794db1a7db Make DND feel much smoother by persisting the end position of drops, and more performance by properly memoizing some state values 2022-10-21 16:54:34 +01:00
Andrew Kingston 67b6821b37 Fix components being selected when starting dragging 2022-10-21 16:52:46 +01:00
Martin McKeaveney 69775a0324 Merge pull request #8016 from Budibase/feature/redirect-after-modal-close
Allow screen redirect after modal close
2022-10-21 08:58:21 +01:00
Andrew Kingston 0e83bcfe9e Update styles of padded DND components 2022-10-14 20:30:58 +01:00
Andrew Kingston 73a206e2f1 Fully remove source component from client tree while dragging 2022-10-10 09:51:13 +01:00
Andrew Kingston f27704ccf6 Merge branch 'develop' of github.com:Budibase/budibase into form-block 2022-10-07 12:45:53 +01:00
Mel O'Hagan 380d9580af Navigate in PeekScreenDisplay 2022-09-29 14:10:34 +01:00
Mel O'Hagan 5e5b0955dd Handle navigation on close modal 2022-09-28 13:50:23 +01:00
Andrew Kingston e2982e1454 Add helper util for authenticating the public API SDK in component plugins 2022-09-21 09:49:33 +01:00
mike12345567 8744d0a86c Renaming data source -> datasource as per Mel's request. 2022-09-14 12:11:20 +01:00
Andrew Kingston 434fe378c7 Merge branch 'develop' of github.com:Budibase/budibase into form-block 2022-08-23 11:40:15 +01:00
Andrew Kingston 19c99f4390 Allow configuring whether notification is automatically dismissed or not 2022-08-22 11:08:52 +01:00
Andrew Kingston 8a2f35b3f0 Add action for showing a custom notification 2022-08-22 11:00:51 +01:00
Andrew Kingston 1a23970a38 Return nullish button action function for empty arrays 2022-08-17 15:43:25 +01:00
Andrew Kingston 4bc2c7a28f Revert click context 2022-08-17 15:17:29 +01:00
Mel O'Hagan d2f9201bd0 Block child button onClick if container hasOnClick 2022-08-14 14:42:25 +01:00
Mel O'Hagan 6c1c51a22a Merge branch 'develop' into bug/sev3/remove-validate-current-step-checkbox 2022-07-28 09:25:55 +01:00
Andrew Kingston 303bfd5be4 Make block searching on dates useful by using a range of the whole day 2022-07-22 11:10:20 +01:00
Mel O'Hagan 96c99da3ce lint 2022-07-20 14:16:08 +01:00
Mel O'Hagan 5a3688d237 Remove checkbox. Always validate current step. 2022-07-20 09:56:02 +01:00
Andrew Kingston 6845f86689 Add option to customise which columns are exported in export data action 2022-06-20 12:32:13 +01:00