Commit Graph

3006 Commits

Author SHA1 Message Date
Conor Webb f9e5a9f8ca Added frontend type for premium 2024-08-13 11:27:59 +01:00
Andrew Kingston d77e4381cc
Speed up memo stores 2024-08-12 09:55:12 +01:00
Andrew Kingston 2b32db4286
Merge branch 'master' into grid-layout-improved 2024-08-09 10:02:02 +01:00
Andrew Kingston 691d6b04bb
Allow native paste into table cells 2024-08-08 12:18:06 +01:00
Andrew Kingston 22cda514b4
Update component settings bar to respect dependsOn metadata 2024-08-05 16:53:10 +01:00
Dean 2b9298963f Assorted builder fixes and a fix for Google sheets filtering 2024-08-05 09:57:27 +01:00
Andrew Kingston 8540f4020b
Improve client preview styles to work with increase client padding 2024-07-31 15:34:15 +01:00
Adria Navarro b7fc1cddb7 Merge branch 'master' into feat/row-actions 2024-07-23 10:03:41 +02:00
Adria Navarro cec24fb40d Use URLSearchParams 2024-07-22 14:34:58 +02:00
Adria Navarro 6221b9320e Enrich 2024-07-22 14:31:00 +02:00
Andrew Kingston 30579527ff
Merge branch 'master' into conditional-table-colours 2024-07-22 11:37:38 +01:00
Andrew Kingston 296cea14a5
Merge branch 'master' into fix/error-handling-relationship-updates 2024-07-22 11:26:14 +01:00
Andrew Kingston a14a737921
Merge branch 'master' of github.com:Budibase/budibase into conditional-table-colours 2024-07-22 11:02:02 +01:00
Andrew Kingston 27e4b4e3b4
Merge branch 'master' into dean-fixes 2024-07-22 10:17:50 +01:00
Andrew Kingston 6fd265776d
Add bespoke component for selecting users in table conditions 2024-07-22 09:58:59 +01:00
Andrew Kingston 27789a59d1
Hide table conditions for invalid column types 2024-07-22 09:13:13 +01:00
Andrew Kingston 34cd0e1d81
Improve type coercion in table conditions 2024-07-22 08:52:42 +01:00
Andrew Kingston 10b0e46e4d
Use row condition colour for gutter cell 2024-07-22 08:07:48 +01:00
Andrew Kingston 8abf97e8bb
Merge branch 'table-improvements-2' of github.com:Budibase/budibase into conditional-table-colours 2024-07-22 08:01:36 +01:00
Andrew Kingston c2c799e473
Merge branch 'master' into table-improvements-2 2024-07-22 08:00:36 +01:00
Andrew Kingston 0e9a89b49b
Add the onEmptyFilter flag to table conditions to ensure we don't match empty values 2024-07-19 16:34:46 +01:00
Andrew Kingston 2ecedcea7c
Stringify non strings when pasting into text cells 2024-07-19 16:34:20 +01:00
Dean 7c03a39b9f PR feedback. Remove unnecessary caching 2024-07-18 14:17:51 +01:00
Dean 2f8a6b9b6b Merge remote-tracking branch 'origin/master' into fix/error-handling-relationship-updates 2024-07-18 14:09:53 +01:00
Dean 31df2bbb5f Merge remote-tracking branch 'origin/master' into dean-fixes 2024-07-18 14:06:16 +01:00
Peter Clement 7fd55fe27d
Automation trigger filtering (#14123)
* backend for triggering automation based on filters

* frontend for handling triggering automations on filter / old row

* lint and bug fix

* fix issue with test header

* make test data optional

* improve safety on trigger gate

* add support for running trigger with filter if no change happened but filter matches

* update var naming to actually make sense

* tests

* fix lint

* improve gating for shouldTrigger check

* remove unecessary cast

* unecessary tableId check

* frontend text updates

* resolving comments

* pro

* Update packages/types/src/documents/app/automation.ts

Co-authored-by: Sam Rose <hello@samwho.dev>

* link out to docs for trigger filtering

* fix pro

* more pr comments

* use getAppId

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-07-18 10:38:15 +01:00
Dean 6b1d16420e Improves error handling around grid relationship cell when handling invalid requests 2024-07-18 09:49:35 +01:00
Andrew Kingston 2473b82ba5
Revert to using solid border colours 2024-07-17 15:06:06 +01:00
Andrew Kingston 94fec5b62b
Update how grid blocks handle visible columns to ensure conditions work on hidden columns 2024-07-17 12:45:31 +01:00
Andrew Kingston 7faa6188c4
Improve support for formula columns when using table conditional colouring 2024-07-17 12:33:05 +01:00
Andrew Kingston 1fd4b983e5
Update comments 2024-07-17 10:39:56 +01:00
Andrew Kingston 4575dd300f
Update table border colour to work better with coloured cells 2024-07-16 16:47:11 +01:00
Andrew Kingston 479e3247df
Remove logs 2024-07-16 14:11:29 +01:00
Andrew Kingston 2338783f22
Fix error when another user updates a row not inside our grid 2024-07-16 14:10:19 +01:00
Andrew Kingston d6a10e2dab
Add row metadata to button column 2024-07-16 14:03:12 +01:00
Andrew Kingston ee984b6a19
Update table conditions to apply both row and cell conditions via same configuration 2024-07-16 14:01:50 +01:00
Andrew Kingston c1f7bbcf9f
Merge branch 'master' of github.com:Budibase/budibase into conditional-table-colours 2024-07-15 13:58:39 +01:00
Andrew Kingston 1a434e82db
Merge branch 'master' into table-improvements-2 2024-07-15 12:08:52 +01:00
Dean ae4279bc58 Remove Attachment and Signature from filters. Add _id support for DynamicFilter. Removed _rev from filters 2024-07-11 16:39:49 +01:00
Sam Rose 79b4d260f1
Fix more fucky wucky typey wipey stuff. 2024-07-10 11:17:59 +01:00
Dean c99bb2d712 Added optional chaining to account for datasource not having been initialised 2024-07-05 09:22:51 +01:00
Adria Navarro cf5c54b792 Fix socket.io-client vulnerability 2024-07-02 15:22:58 +02:00
mike12345567 3818b6d8cf Using the relationship name rather than the table name - the relationship may have a different name to the related table, this makes it a bit more sensible. 2024-07-01 15:48:49 +01:00
Andrew Kingston d226e65a18
Fix weird behaviour when adding rows if you have multiple pages of data 2024-06-28 12:54:46 +01:00
Andrew Kingston 06e7517529
Add row conditions 2024-06-28 11:25:00 +01:00
Andrew Kingston cf12c8246b
Merge branch 'master' of github.com:Budibase/budibase into conditional-table-colours 2024-06-28 09:22:56 +01:00
Andrew Kingston b9ad087691
Remove logs 2024-06-28 08:31:31 +01:00
Andrew Kingston 0a2beb6afd
Merge branch 'master' into fix-relationship-filtering 2024-06-28 09:28:19 +02:00
Andrew Kingston f1f6cc0cb1
Merge branch 'table-improvements-2' of github.com:Budibase/budibase into conditional-table-colours 2024-06-28 08:27:24 +01:00
Andrew Kingston 82f8858c29
Fix scrolling issue when adding new row 2024-06-28 08:27:02 +01:00
Andrew Kingston fbeb8199f1
Merge branch 'table-improvements-2' of github.com:Budibase/budibase into conditional-table-colours 2024-06-27 19:02:05 +01:00
Andrew Kingston 5d06a53d37
Fix pixel layout issues with buttons column 2024-06-27 18:56:59 +01:00
Andrew Kingston b58519d562
Merge branch 'master' of github.com:Budibase/budibase into table-improvements-2 2024-06-27 16:18:00 +01:00
Andrew Kingston c41232bc12
Add proper components for dates and boolean types in grid condition editor and fix highlight showing in sticky column gutter cell 2024-06-27 16:06:47 +01:00
Andrew Kingston c62e6d776c
Round grid scroll wrapper offsets to the nearest pixel 2024-06-27 15:51:57 +01:00
Andrew Kingston 8e83046321
Fix bindings not working with grid conditions 2024-06-27 15:38:22 +01:00
Andrew Kingston 1ccdb4de56
Merge branch 'table-improvements-2' of github.com:Budibase/budibase into conditional-table-colours 2024-06-27 15:08:35 +01:00
Andrew Kingston bcf1b2f5a7
Fix rendered columns calculation 2024-06-27 15:08:04 +01:00
Andrew Kingston 2548cd5ff4
Merge branch 'table-improvements-2' of github.com:Budibase/budibase into conditional-table-colours 2024-06-27 14:37:51 +01:00
Andrew Kingston 97a4c199f0
Fix position and styles of button column 2024-06-27 14:37:33 +01:00
Andrew Kingston 094e4951a7
Remove some redundant initial derived store values 2024-06-27 14:25:09 +01:00
Andrew Kingston 99b522b32d
Optimise condition evaluation performance and add support for conditionally setting text color 2024-06-27 14:23:05 +01:00
Andrew Kingston c9bcda0bd5
Update condition evaluation in tables 2024-06-27 12:38:03 +01:00
Andrew Kingston 42162e711a
Add initial work on conditional cell colours and add new 100 variant spectrum colours 2024-06-27 08:23:18 +01:00
Andrew Kingston 6e9939f441
Prevent pasting in the new row component 2024-06-26 14:52:25 +01:00
Andrew Kingston acaac0c190
Cap selected cell rows at 50 2024-06-26 14:48:30 +01:00
Andrew Kingston 6d1dd4fe51
Merge branch 'master' into table-changes 2024-06-26 09:31:45 +02:00
Andrew Kingston 0c3c9270ad
Lint 2024-06-24 18:25:57 +01:00
Andrew Kingston 62da97814a
Fix relationship filtering in automations 2024-06-24 16:44:28 +01:00
Andrew Kingston 413088e824
Lint 2024-06-24 15:32:53 +01:00
Andrew Kingston e7bc96fdee
Merge branch 'master' of github.com:Budibase/budibase into table-improvements 2024-06-24 15:32:11 +01:00
Andrew Kingston df03a297c5
Stop autoscrolling horizontall to reveal primary display cells as they don't need it 2024-06-24 15:29:56 +01:00
Andrew Kingston c4748d5cd6
Fix move column left and right not working 2024-06-24 15:28:26 +01:00
Andrew Kingston e0c38d7fbe
Handle crash when other user deletes a row that is either the source or target of cell selection 2024-06-24 15:25:00 +01:00
Andrew Kingston 5c6cb0a73a
Ensure grid props are respected when using new features 2024-06-24 15:01:04 +01:00
Andrew Kingston e2ac112c18
Fix crash when selecting cells in new row 2024-06-24 14:51:33 +01:00
Andrew Kingston d923f4edb2
Fix crash when using up and down arrows in new row 2024-06-24 14:48:15 +01:00
Andrew Kingston dedf264185
Fix auto scrolling of focused cell 2024-06-24 14:41:29 +01:00
Andrew Kingston 7f391e4fdf
Fix left and right arrows not working 2024-06-24 14:33:18 +01:00
Andrew Kingston 7d065707df
Fix new row 2024-06-24 14:32:01 +01:00
Peter Clement aefe46b253
Adds _id and _rev back to internal datasource filter options (#13977)
* Adds _id and _rev back to internal datasource filter options

* add bb default datasource const into shared-core

* re-export var from shared-core
2024-06-24 14:31:27 +01:00
Andrew Kingston e64d2bc8ff
Move where reaonly column checks take place 2024-06-24 14:28:23 +01:00
Andrew Kingston fa77041c54
Prevent updating readonly fields 2024-06-24 14:20:25 +01:00
Andrew Kingston 02a86d1044
Only show errors in the focused row 2024-06-24 14:06:57 +01:00
Andrew Kingston 8050a405f5
Add comments 2024-06-24 14:04:45 +01:00
Andrew Kingston 9b33ee1cee
More simplification of columns 2024-06-24 14:02:35 +01:00
Andrew Kingston 6acffc7e64
Fix new column button layout and remove logs 2024-06-24 13:49:36 +01:00
Andrew Kingston e05c46435f
Improve and simplify scrolling 2024-06-24 13:45:37 +01:00
Andrew Kingston 42538e114a
Fix reorder 2024-06-24 13:03:33 +01:00
Andrew Kingston ada3367b49
WIP 2024-06-24 09:56:48 +01:00
Andrew Kingston 0d2cef20df
Simplify some old code 2024-06-24 08:28:18 +01:00
Andrew Kingston 9ca6356694
Refactor row lookup map 2024-06-24 08:25:20 +01:00
Andrew Kingston bf77537792
Centralise readonly column logic 2024-06-24 08:12:46 +01:00
Andrew Kingston e2df7ae6db
Improve bulk notifications and progress updates 2024-06-24 08:05:59 +01:00
Andrew Kingston 7a3eabc529
Add progress indicators to all other bulk operations and select more modified cells 2024-06-23 20:55:00 +01:00
Andrew Kingston a84a56ae1b
Add progress indicator to bulk pasting 2024-06-23 19:12:03 +01:00
Andrew Kingston 37c0417848
Add bulk cell delete featuer 2024-06-23 18:42:39 +01:00
Andrew Kingston 06aa4ba09c
Fix issue with pasting from multi to single cell 2024-06-23 15:08:01 +01:00
Andrew Kingston eabb6c94d0
Refactor and improve grid keyboard handling 2024-06-23 14:47:29 +01:00
Andrew Kingston 4ec6a22e42
Add bulk cell selection using shift+keyboard 2024-06-23 14:31:34 +01:00
Andrew Kingston 3a4b3e8c42
Make naming more consistent and impove multi-row pasting 2024-06-23 14:01:55 +01:00
Andrew Kingston a3be0f1cd1
Add comments 2024-06-23 13:39:29 +01:00
Andrew Kingston 70fd643431
Simplify and improve bulk pasting logic 2024-06-23 13:35:45 +01:00
Andrew Kingston 9c360a1f02
Handle edge case when pasting without releasing mouse 2024-06-23 13:10:20 +01:00
Andrew Kingston 878aa35335
Add support for bulk selecting cells via shift key 2024-06-23 10:34:23 +01:00
Andrew Kingston d4d63c6115
Simplify new paste logic 2024-06-22 19:28:52 +01:00
Andrew Kingston b094f0bc31
Refactor stores 2024-06-22 13:53:31 +01:00
Andrew Kingston 60d86c8b14
Update keybindings to account for new copy/paste functions 2024-06-21 20:58:56 +01:00
Andrew Kingston 6633cc3cbc
Fix normal row changes not working 2024-06-21 20:48:55 +01:00
Andrew Kingston 9657781df6
Add multi to multi pasting 2024-06-21 20:38:48 +01:00
Andrew Kingston ad0d300ff9
Add support for bulk pasting a single value into multiple cells 2024-06-21 16:30:51 +01:00
Andrew Kingston 502c2541e5
Clean up and improve copy/paste flows 2024-06-21 15:17:49 +01:00
Andrew Kingston a86f891c04
Update bulk cell selection to support sticky column 2024-06-21 11:15:41 +01:00
Andrew Kingston 7349910572
Add support for selecting multiple cells 2024-06-21 11:08:24 +01:00
Andrew Kingston 8a8d835a1a
Add confirmation before bulk duplicating rows and loading spinner 2024-06-21 08:25:02 +01:00
Andrew Kingston 64cc3efc2a
Add bulk row duplication to tables using throttled save row calls 2024-06-21 08:08:19 +01:00
Andrew Kingston f86c80af32
Add bulk deletion to multi row context menu 2024-06-20 15:02:44 +01:00
Andrew Kingston 2dbf9a5118
Add comments 2024-06-20 14:37:05 +01:00
Andrew Kingston 42f781bb76
Add support for bulk selecting rows with shift click 2024-06-20 14:36:22 +01:00
Andrew Kingston 93e222036e
Make cell selection and row selection mutually exclusive 2024-06-20 14:04:32 +01:00
Andrew Kingston 0f3decd127
Prevent unnecessary store updates 2024-06-20 13:12:59 +01:00
Andrew Kingston 337b1189ec
Fix race condition which prevented pagination if the initial page load in a table encountered the internal row join limit 2024-06-20 13:09:19 +01:00
Andrew Kingston 564edcf574
Merge branch 'master' into table-changes 2024-06-19 09:23:53 +02:00
Gerard Burns e88ffea1a4
Modal component (#13848)
* wip

* wip

* wip

* wip

* wip

* add note for illegalChildren reset behavior

* on close working

* wip

* lint

* wip

* Fix potential remounting loop caused by spreading props and unnecessary component keying

* theme

* user prompt

* dotted border for empty

* PR Feedback

* lint

* fix modal background color

* use bbui modal

* lint

* fix indicator and prevent closing modal in builder

* pr feedback

* pr feedback

* fix fullscreen

---------

Co-authored-by: deanhannigan <deanhannigan@gmail.com>
Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-06-18 11:18:05 +01:00
Andrew Kingston a74dde5985
Fix small border issue 2024-06-18 10:38:50 +01:00
Andrew Kingston 11e75c2199
Make quiet table even quieter 2024-06-18 10:27:04 +01:00
Andrew Kingston 1e492c7a1d
Shrink grid padding to least possible while allowing space for required controls 2024-06-18 09:12:37 +01:00
mike12345567 8970705b39 Adding a minimum time to the app migration screen and adding a link to documentation. 2024-06-13 17:49:41 +01:00
Sam Rose c759d7b63a
Remove more instances of the work lucene. 2024-06-12 15:13:50 +01:00
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
Andrew Kingston 387b9a8ed2 Ensure input fields don't exceed cell bounds in grids in firefox 2024-06-11 16:19:57 +01:00
Andrew Kingston 9047c54b03 Truncate long column names in column settings buttons 2024-06-10 09:52:49 +01:00
Andrew Kingston 7566ecfac8 Fix issue where grid highlighted rows are incorrect when page is scrolled 2024-06-10 09:40:08 +01:00
Andrew Kingston 08a48a9ff9 Make new schema validation errors visible to users, and reset schema when saving fails 2024-06-10 08:57:24 +01:00
Adria Navarro ac9f5d5d1e Allow editing old configs 2024-06-04 16:50:12 +02:00
Adria Navarro b65e9cfc80 Lint 2024-06-04 12:20:19 +02:00
Adria Navarro ba9b5c3271 Merge branch 'feat/readonly-columns' into BUDI-8282/dont-treat-display-column-as-required 2024-06-04 12:09:20 +02:00
Adria Navarro 10f77c83b6 Don't allow selecting required columns 2024-06-03 17:24:30 +02:00
Adria Navarro cb2349fdef Allow edition display 2024-06-03 17:04:35 +02:00
Adria Navarro d73d7113ae Refresh on error 2024-06-03 12:12:04 +02:00
Adria Navarro dad689c787 Reset schema mutations on erroring 2024-06-03 12:12:04 +02:00
Adria Navarro 5c3973d7f9
Merge branch 'master' into feat/readonly-columns 2024-06-03 10:06:50 +02:00
melohagan cbb3c9aa93
Allow a user invite to be revoked (#13805)
* Add free_trial to deploy camunda script

* Allow user invites to be deleted

* Refactor to pass invite codes

* lint

* update account-portal

* yarn lock

* users terminology instead of rows and invites
2024-05-31 14:34:08 +00:00
Adria Navarro 381d9a246b
Merge pull request #13818 from Budibase/BUDI-8281/add-readonly-view-config
Add readonly view config
2024-05-31 13:05:35 +02:00
Adria Navarro 9ac462c390 Remove double checks 2024-05-31 12:44:11 +02:00
Adria Navarro 5444655237 Change anyHidden to anyRestricted 2024-05-31 11:14:41 +02:00
Adria Navarro 2a189c4f8e Readonly cells 2024-05-30 17:35:03 +02:00
Adria Navarro 4dbfa28feb Move licence check out of frontend-core 2024-05-30 17:12:46 +02:00
Adria Navarro fbfe85c903 Mark readonly as restricted 2024-05-30 11:43:28 +02:00