Commit Graph

33239 Commits

Author SHA1 Message Date
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
Sam Rose b6f1396a01
Merge pull request #14186 from Budibase/budi-8436-handle-required-fields
[BUDI-8436] Make sure a field cannot both have a default value and be required.
2024-07-19 16:27:09 +01:00
Sam Rose 2d976bd439
Merge pull request #14177 from Budibase/budi-8434-default-value-row-processing
[BUDI-8434] Default value implementation on the backend.
2024-07-19 16:26:54 +01:00
Sam Rose 41bc9b87c3
Fix tests. 2024-07-19 15:46:48 +01:00
Sam Rose 1704d0e69f
Respond to PR comments. 2024-07-19 15:10:02 +01:00
Sam Rose 3c18cf7c34
Fix tests. 2024-07-19 15:08:48 +01:00
Sam Rose ca31add039
Don't allow a column to be both required and have a default value. 2024-07-19 15:08:48 +01:00
Sam Rose c64d76eb84
Respond to PR comments. 2024-07-19 15:07:58 +01:00
Sam Rose 8a49953449
Merge branch 'master' of github.com:budibase/budibase into budi-8434-default-value-row-processing 2024-07-19 15:03:19 +01:00
Adria Navarro a62d71ec94
Merge pull request #14198 from Budibase/BUDI-8452/remove-unnecessary-save-button
Remove unnecessary save button for automation steps
2024-07-19 08:39:14 +02:00
Adria Navarro bb4fd4c14c Fix possible undefined reference 2024-07-18 17:19:34 +02:00
Adria Navarro 19d614b329 Remove save button on add action step 2024-07-18 17:17:27 +02:00
Budibase Staging Release Bot 57dbe3141f Bump version to 2.29.22 2024-07-18 14:20:17 +00:00
Sam Rose 4fa680df51
Merge pull request #14193 from Budibase/support-spaces-as-last-char-in-column-sqs
Support space as last char in column name in SQS
2024-07-18 15:05:59 +01:00
Adria Navarro b2ea1d17c2
Merge branch 'master' into support-spaces-as-last-char-in-column-sqs 2024-07-18 15:50:56 +02:00
Gerard Burns 3b0e2ba0e5
Fix Bug Preventing Deleting Multiple Apps in a Row (#14196) 2024-07-18 14:40:00 +01:00
Budibase Staging Release Bot 8098b48dbd Bump version to 2.29.21 2024-07-18 10:50:31 +00:00
Sam Rose 669692e722
Make switch exhaustive. 2024-07-18 11:41:37 +01:00
Sam Rose 481bf9a8b8
Fix generic-sql.spec.ts 2024-07-18 11:40:44 +01:00
Sam Rose df765c1dc7
Merge branch 'master' of github.com:budibase/budibase into support-spaces-as-last-char-in-column-sqs 2024-07-18 11:12:25 +01:00
Sam Rose 5bbdcc1298
Remove unused function. 2024-07-18 11:08:42 +01:00
Sam Rose 0b2a5162a4
Fix the problem, and the tests. 2024-07-18 11:00:10 +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
Adria Navarro 5e3bec86ed
Merge pull request #14191 from Budibase/BUDI-8430/automation-code-away-from-controller
Move automation code away from controller
2024-07-17 17:56:57 +02:00
Adria Navarro f57d8a6147 Fix jest circular references 2024-07-17 17:46:48 +02:00
Sam Rose aea9cda8f5
wip 2024-07-17 15:45:35 +01:00
Adria Navarro 88aa0fc9cf Fix types 2024-07-17 16:40:19 +02:00
Adria Navarro 812afdb85e Fix tests (breaking because of mutating objects...) 2024-07-17 16:28:46 +02: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
Adria Navarro 166d8fac5e Use relative paths 2024-07-17 13:43:25 +02:00
Andrew Kingston 7faa6188c4
Improve support for formula columns when using table conditional colouring 2024-07-17 12:33:05 +01:00
Adria Navarro 53d6219b79 Extract find and fetch 2024-07-17 13:32:45 +02:00
Adria Navarro dc47037dbb Move update and remove 2024-07-17 13:26:40 +02:00
Adria Navarro 373aeac00f Move automation creation to sdk 2024-07-17 13:10:19 +02:00
Adria Navarro 68dea69cc1
Merge pull request #14190 from Budibase/BUDI-8428/prevent-duplicated-names
Prevent duplicated names on row actions
2024-07-17 12:47:46 +02:00
Adria Navarro 3411411c3f
Merge pull request #14152 from Budibase/BUDI-8428/row-action-crud
Row action CRUD endpoints
2024-07-17 12:46:59 +02:00
Adria Navarro 13c6ad9924 More tests 2024-07-17 12:30:31 +02:00
Adria Navarro 371a3ad8ec Ensure unique on updates 2024-07-17 12:26:36 +02:00
Adria Navarro 8297a58270 Ensure unique names 2024-07-17 12:18:09 +02:00
Adria Navarro c51d2cd431 Trims names 2024-07-17 12:16:14 +02:00
Adria Navarro 7fb13b757b Use .string instead of .work 2024-07-17 11:52:29 +02:00
Andrew Kingston 1fd4b983e5
Update comments 2024-07-17 10:39:56 +01:00
Adria Navarro b1cfdc4f25 Clean code 2024-07-17 11:15:55 +02:00