Commit Graph

3005 Commits

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