Commit Graph

2962 Commits

Author SHA1 Message Date
Andrew Kingston 346f55691b
Merge branch 'master' of github.com:Budibase/budibase into grid-layout-expansion 2024-08-20 10:26:39 +01:00
Adria Navarro 3dcf17d438 Fix initial visibility 2024-08-19 13:00:23 +02:00
Adria Navarro 3685c6dbe5 Split columns setting button/content 2024-08-19 12:59:39 +02:00
Gerard Burns 205a50156b
[BUDI-8460] Add New Step to Table Screen Template (#14203)
* [BUDI-8460] Add New Step to Table Screen Template Flow

* fix tests

* PR Feedback

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-08-19 10:44:09 +00:00
Andrew Kingston fa12abf126
Merge branch 'master' into grid-layout-expansion 2024-08-14 11:29:11 +01:00
deanhannigan 424124f5c8
Merge branch 'master' into cheeks-fixes 2024-08-13 12:35:28 +01:00
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