Commit Graph

3094 Commits

Author SHA1 Message Date
Adria Navarro 5b85b77a29
Merge branch 'master' into BUDI-8560/fix-relationships-with-many-columns 2024-09-09 16:09:15 +02:00
Adria Navarro 725aa18060 Fix long popover for relationship column pickers 2024-09-09 16:05:09 +02:00
Adria Navarro bb3dd6e27a Fix relationship popover click behaviour 2024-09-09 15:23:06 +02:00
Andrew Kingston df54d5dd2b
Lint 2024-09-09 12:21:52 +01:00
melohagan 2f13773240
Add old roles (#14538) 2024-09-09 10:46:08 +00:00
Andrew Kingston 028dc40a0d
Update form block autoscreens to render buttons at bottom and include quiet row action buttons 2024-09-09 11:35:43 +01:00
Andrew Kingston 61b82b8817
Add quiet reverse button variant for collapsed button groups in grids 2024-09-06 09:20:00 +01:00
Andrew Kingston da6ce2256a
Fix issue with button column width and allow collapsed button groups to use a secondary variant 2024-09-05 16:46:55 +01:00
Andrew Kingston 238b1cecf1
Highlight row action row rather than select 2024-09-04 11:28:49 +01:00
Andrew Kingston 07df8157b3
Update data section background colours for a better loading experience 2024-09-04 11:20:31 +01:00
Andrew Kingston 409580c787
Fix issue preventing initial click of deleting relationship from working when relationship popover is open 2024-09-04 09:49:34 +01:00
Andrew Kingston 54e09267f1
Only show hover state in relationship badges when fields are available to show 2024-09-04 09:35:56 +01:00
Andrew Kingston b067b8ad54
Update relationship popover styles and position 2024-09-04 09:19:51 +01:00
Andrew Kingston ea7d9d722d
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-04 08:55:15 +01:00
Andrew Kingston 53ff7e1167
Add new builder store for row action CRUD, ensuring consistent state everywhere 2024-09-03 18:58:22 +01:00
Dean 0f3e39dcfc Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-03 17:19:33 +01:00
Dean 7703da159d Merge commit 2024-09-03 17:16:49 +01:00
Andrew Kingston 0e6d903c74
Select row when opening row actions popover 2024-09-03 15:14:40 +01:00
Andrew Kingston 789df301cb
Enable renaming row actions and improve row actions in grids 2024-09-03 15:05:13 +01:00
Adria Navarro 773b4f1050
Merge pull request #14482 from Budibase/BUDI-8561/display-relationship-fields
Display relationship fields
2024-09-03 14:05:27 +02:00
Adria Navarro 00f8f386d3 PR comments 2024-09-03 11:15:47 +02:00
Andrew Kingston 232a2829d2
Add UI for controlling row actions on views, and add support for view row actions in button actions 2024-09-03 10:09:07 +01:00
Andrew Kingston b37a4cb0c9
Lint 2024-09-03 08:49:49 +01:00
Adria Navarro 156b70f9ef Use "filter: brightness" instead of "::before" 2024-09-02 16:02:14 +02:00
Adria Navarro d1c1e467a7 line-clamp 2024-09-02 15:55:58 +02:00
Adria Navarro 86ea50a8d6 Add minwidth 2024-09-02 15:49:27 +02:00
Adria Navarro 0da0145dba Formatting 2024-09-02 15:48:36 +02:00
Adria Navarro 42a2eec439 Display relationship fields on relationship focus only 2024-09-02 15:40:58 +02:00
Andrew Kingston 51cbced119
Add common collapsed button group and use it for row actions and client button groups. Add collapsed settings to grids and form blocks 2024-09-02 11:44:49 +01:00
Andrew Kingston d8b6d10dce
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-09-02 10:17:56 +01:00
Adria Navarro 9dc9224b65 Add hover effect 2024-09-02 11:14:13 +02:00
Adria Navarro c70f2c2fe2 Use reactivity 2024-09-02 10:37:46 +02:00
Andrew Kingston fae897f468
Allow button groups to be collapsed 2024-09-02 09:31:19 +01:00
Dean 8eb5734102 Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-09-02 09:02:41 +01:00
Dean df038417b5 Merge commit 2024-09-02 09:02:28 +01:00
Andrew Kingston 2d52eff96f
Update button column to account for ability to add rows 2024-09-02 08:47:15 +01:00
Andrew Kingston c5e27b860f
Add row actions to tables in data section 2024-09-02 08:45:49 +01:00
Adria Navarro 3d1c861222
Merge branch 'master' into feat/pick-relationship-fields 2024-08-31 20:24:00 +02:00
melohagan 3f357561d0
The UI should indicate who the account holder is (#14470)
* Get tenantInfo in user fetch

* Add account holder label in users table

* Don't allow account holder to be selected in users table

* Sort account holder to top of list

* Only use account holder role in users table

* lint

* Remove joi validation from tenant-info endpoint

* Remove dayPasses

* Catch CouchDB 404 and return undefined

* Don't allow account holder role to be changed UI

* Don't offer delete option for tenant owner

* Backend validation to ensure account holder role cannot be updated

* Don't allow account holder role to be changed UI

* Get tenantOwner in separate call

* Pass data into SelectEditRenderer

* Rename var to __selectable

* setEnrichedUsers

* Update pro reference

* Only load tenantOwner once
2024-08-30 16:29:38 +00:00
Adria Navarro 31388aec91 Change paddings 2024-08-30 14:25:32 +02:00
Adria Navarro e9940ce43e Hide undefineds 2024-08-30 14:21:14 +02:00
Adria Navarro d8744e1b72 Change padding 2024-08-30 14:02:47 +02:00
Adria Navarro 9f414c5148 Honor relationship columns 2024-08-30 14:00:34 +02:00
Adria Navarro f1fdbe3908 Don't show popover when focused 2024-08-30 13:44:59 +02:00
Adria Navarro 00f6f84b35 Display popover 2024-08-30 13:38:36 +02:00
Adria Navarro de29d31c35 Enrich configuration only for views 2024-08-29 13:16:27 +02:00
Adria Navarro 8a2bc639ea Flag checks on frontend 2024-08-27 16:21:32 +02:00
Adria Navarro ca0ea3faf8 Don't show primary display 2024-08-27 15:07:09 +02:00
Adria Navarro 76ae3a1331 Display relationship header 2024-08-27 15:07:09 +02:00
Adria Navarro 1bf0f933f0 Split between addSchemaMutation and addSubSchemaMutation 2024-08-27 15:07:08 +02:00
Adria Navarro 6301b9de4c Tidy 2024-08-27 15:07:08 +02:00
Adria Navarro a63d193a3c Fix flashes 2024-08-27 15:07:08 +02:00
Adria Navarro cdead18402 Get isDisplay and field type from table 2024-08-27 15:07:08 +02:00
Adria Navarro 2ee356692e Don't show chevron for hidden fields 2024-08-27 15:07:08 +02:00
Adria Navarro 6c70d09fc2 Mutate properly 2024-08-27 15:07:08 +02:00
Adria Navarro 82c0f6f076 Use data from the backend 2024-08-27 15:07:08 +02:00
Adria Navarro 81d89cf4ef Handle onclose 2024-08-27 15:07:08 +02:00
Adria Navarro 11ffff377b Don't show hidden fields 2024-08-27 15:07:08 +02:00
Adria Navarro 643210f3aa Update/fetch nested settings 2024-08-27 15:07:07 +02:00
Adria Navarro 97a44a8162 Persist nested mutation 2024-08-27 15:07:07 +02:00
Adria Navarro 9d139e0ff4 Tooltips 2024-08-27 15:07:07 +02:00
Adria Navarro 6413d89cf1 Tooltips & disableds 2024-08-27 15:07:07 +02:00
Adria Navarro 31c1fa8b7a Allow setting visibilities via parameter 2024-08-27 15:07:07 +02:00
Adria Navarro 8f9995d04c Order and display name 2024-08-27 15:07:07 +02:00
Adria Navarro 10d2001cc3 Clean 2024-08-27 15:07:07 +02:00
Adria Navarro c745b99a39 Don't show relationships and formulas 2024-08-27 15:07:07 +02:00
Adria Navarro d72b5849da Display panels 2024-08-27 15:07:07 +02:00
Adria Navarro 890de94fa0 Allow passing columns 2024-08-27 15:07:06 +02:00
Adria Navarro b92adecb53 Display chevron 2024-08-27 15:07:06 +02:00
Andrew Kingston 304c6fb58a
Lint 2024-08-23 14:30:22 +01:00
Andrew Kingston a29cd7fefc
Update grid border to match data section 2024-08-23 09:27:14 +01:00
Dean f6723cf77b Merge remote-tracking branch 'origin/master' into feature/builder-filtering-update 2024-08-22 09:26:28 +01:00
Dean 49628e6235 Merge commit 2024-08-22 09:26:08 +01:00
Andrew Kingston c7c6597424
Add majority of frontend implementation of row actions 2024-08-21 16:33:51 +01:00
Andrew Kingston 1f7b10cfd1
Update style of generate automation button 2024-08-21 09:04:49 +01:00
Andrew Kingston f54d1985b4
Add new detail popover and update manage access button to use it 2024-08-21 07:46:15 +01:00
Andrew Kingston d8fd021e37
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-08-20 15:31:23 +01:00
Andrew Kingston fa5a2ae198
Fix param 2024-08-20 15:29:39 +01:00
Andrew Kingston aba38c02b9
Fix memos 2024-08-20 15:28:12 +01:00
Andrew Kingston f662916978
Merge branch 'master' of github.com:Budibase/budibase into new-data-ui 2024-08-20 15:27:16 +01:00
Andrew Kingston 346f55691b
Merge branch 'master' of github.com:Budibase/budibase into grid-layout-expansion 2024-08-20 10:26:39 +01:00
Andrew Kingston 54f9507e53
Update buttons for views 2024-08-20 08:24:23 +01:00
Andrew Kingston b76a0b6e89
Move all grid buttons to builder codebase, update table grids 2024-08-19 15:00:15 +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