Commit Graph

2921 Commits

Author SHA1 Message Date
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