Commit Graph

1140 Commits

Author SHA1 Message Date
Andrew Kingston cfe86194cd Merge pull request #10844 from Budibase/cheeks-lab-day-preview
Preview apps inside builder
2023-06-13 15:15:29 +01:00
Andrew Kingston b3e23562f0 Update in builder preview to be a full screen overlay rather than opening in a new tab 2023-06-08 15:12:50 +01:00
mike12345567 9ee06e8e42 Updating fetch within main datasource UI to mimic that of the onboarding. 2023-06-07 18:34:32 +01:00
Adria Navarro bb901d94d2 Clean code 2023-06-07 11:32:42 +01:00
Adria Navarro f10d3d6973 Update 2023-06-07 11:31:10 +01:00
Adria Navarro 77bd236557 Fetch info when enabled 2023-06-07 11:31:10 +01:00
mike12345567 dab1db2271 Updating datasource save API to allow specifying a filter for which tables to fetch and then linking this up with the new frontend. 2023-06-06 18:27:03 +01:00
mike12345567 cc60baa3d1 Some fixes for BBUI and updating postgres table name fetching to get uniques. 2023-06-06 17:40:14 +01:00
Andrew Kingston 3979c108e0 Add more optional chaining 2023-06-05 13:56:54 +01:00
Andrew Kingston 4a0e23a171 Transfer lock to next oldest session when disconnecting from the builder 2023-06-05 13:54:17 +01:00
Andrew Kingston 680b70643c Merge pull request #10775 from Budibase/collaboration-fixes
Collaboration fixes
2023-06-02 18:03:11 +01:00
Andrew Kingston 53f1a4e67d Update builder socket to ignore own events, and ensure table creation updates state without depending on the websocket 2023-06-02 09:04:50 +01:00
Dean d08dd2d491 Minor fixes for bindings v2 2023-06-01 11:47:27 +01:00
deanhannigan 8c144bbe2c Merge pull request #10732 from Budibase/feature/binding-v2-updates
Binding V2 Updates
2023-05-31 19:15:20 +01:00
Andrew Kingston 680e609b52 Remove plural forms of enums and use TS enum rather than JS const 2023-05-31 17:03:14 +01:00
Andrew Kingston a7c6298d1f Ensure socket pruning due to redis TTL expiry works as expected 2023-05-31 15:37:39 +01:00
Andrew Kingston 05e34076f7 Fully rewrite websocket redis integration to use individual keys per session, enable TTLs on sesisons, prune sessions when users connect and add a heartbeat to sockets 2023-05-31 15:13:22 +01:00
Dean cd95df629e Merge remote-tracking branch 'origin/develop' into feature/binding-v2-updates 2023-05-31 11:07:47 +01:00
Andrew Kingston d3fdb52bf5 Store all socket users in redis to allow all server instances to be aware of all users 2023-05-31 10:21:50 +01:00
Andrew Kingston 1db22d3965 Remove unused code 2023-05-30 11:17:46 +01:00
Andrew Kingston be40d72f55 Merge pull request #10712 from Budibase/data-section-multidev
Multiple user collaboration for data section
2023-05-30 09:08:14 +01:00
Dean e8c6185add Refactoring and some styling updates 2023-05-29 21:19:44 +01:00
Dean 0730c15b14 Merge remote-tracking branch 'origin/develop' into feature/binding-v2-updates 2023-05-28 22:29:47 +01:00
mike12345567 7ba21d836b Merge branch 'develop' of github.com:Budibase/budibase into feature/sync-automations 2023-05-26 16:42:01 +01:00
Andrew Kingston 852df16448 Lint 2023-05-26 10:29:03 +01:00
Dean 56bac67d49 Merge commit 2023-05-26 10:11:51 +01:00
Andrew Kingston cc7df474c9 Standardise usage of user avatars and colours across the entire platform 2023-05-26 09:24:53 +01:00
Andrew Kingston f246a982db Update lock icon and remove logs 2023-05-25 10:45:00 +01:00
Adria Navarro 886b726627 Verify datasouce before saving 2023-05-24 10:03:49 +02:00
Andrew Kingston cfa07a68ae Handle table, query and datasource events using builder socket 2023-05-22 15:59:44 +01:00
Andrew Kingston 3794d8e204 Simplify websocket comms for grid and improve builder socket 2023-05-18 08:57:20 +01:00
Peter Clement 67272c28af Improve logic in add action modal for collect step 2023-05-16 16:06:37 +01:00
Andrew Kingston 6ed691be1d Improve builder socket 2023-05-16 14:18:31 +01:00
Andrew Kingston 5f81584a14 Update top bar when not the primary builder and prevent flashing during loading states 2023-05-12 14:16:10 +01:00
Gerard Burns 8d6c00644a Improve Automations Error Message 2023-04-27 14:09:52 +01:00
Dean f3be917da1 Enrich the upgradable version property when fetching the app package 2023-04-25 12:16:02 +01:00
Gerard Burns d36cd3b1f8 Builder Unit Test PoC (#10173)
* wip

* wip
2023-04-18 14:37:29 +01:00
Peter Clement d0b23d780d Merge pull request #10202 from Budibase/fix/rest-bindings-bug
Fix issue with REST bindings not being shown in drawer
2023-04-14 09:55:24 +01:00
Peter Clement c571a3f881 Fix issue with REST bindings not being shown in drawer 2023-04-04 09:12:15 +01:00
Rory Powell d6992bbf94 Merge branch 'master' into merge-master-develop 2023-03-29 11:52:09 +01:00
Andrew Kingston f2b12bcf45 Component error state improvements (#10136)
* Tidy logic for creating initial component instances

* Add initial implementation of enriching empty settings

* Fix regression that prevented custom placeholders from working (#9994)

* Tidy up

* Add automatic naming of form fields when added

* Update missing required setting placeholder

* Improve error states and add ability to automatically wrap a component in a required parent type

* Fix crash in column editor and rename component placeholder to error state

* Select the parent component after adding it when wrapping a component with a missing ancestor

* Fix blocks and make fields require forms

* Improve empty component placeholder

* Lint
2023-03-28 21:11:33 +01:00
Andrew Kingston 8d79a23700 Fix component settings which have no labels appearing as undefined in the conditional UI drawer 2023-03-16 08:30:16 +00:00
Dean c135a029f9 Merge remote-tracking branch 'origin/develop' into feature/app-user-onboarding-ux 2023-02-27 09:12:07 +00:00
Dean 32619fbfa3 Merge commit 2023-02-27 09:11:32 +00:00
Andrew Kingston 8cd7ba1fdf Undo/Redo for Design and Automate sections + automations refactor (#9714)
* Add full undo/redo support for screens

* Add loading states to disable spamming undo/redo

* Add keyboard shortcuts for undo and redo

* Fix modals not closing in design section when escape is pressed

* Remove log

* Add smart metadata saving to undo/redo

* Add error handling to undo/redo

* Add active state to hoverable icons

* Fix screen deletion

* Always attempt to get latest doc version before deleting in case rev has changed

* Move undo listener top level, hide controls when on certain tabs, and improve selection state

* Add tooltips to undo/redo control

* Update automation section nav to match other sections

* Fix automation list padding

* Fix some styles in create automation modal

* Improve automation section styles and add undo/redo

* Update styles in add action modal

* Fix button size when creating admin user

* Fix styles in add automation step modal

* Fix issue selecting disabled automation steps

* Reset automation history store when changing app

* Reduce spammy unnecessary API calls when editing cron trigger

* WIP automation refactor

* Rewrite most automation state

* Rewrite most of the rest of automation state

* Finish refactor of automation state

* Fix selection state when selecting new doc after history recreates it

* Prune nullish or empty block inputs from automations and avoid sending API requests when no changes have been made

* Fix animation issues with automations

* Sort automations and refetch list when adding or deleting

* Fix formatting

* Add back in ability to swap between values and bindings for block inputs

* Lint

* Format

* Fix potential issue in design section when selected screen is unset

* Fix automation arrow directions everywhere, tidy up logic and fix crash when using invalid looping

* Lint

* Fix more cases of automation errors

* Fix implicity any TS error

* Respect _id specified when creating automations

* Fix crash in history store when reverting a change on a doc whose ID has changed

* Lint

* Ensure cloneDeep helper doesn't crash when a nullish value is passed in

* Remove deprecated frontend automation test

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-23 13:55:18 +00:00
Andrew Kingston c81ef6f128 Attempt to fix flakey 409s when deleting screens that are linked in the nav (#9700) 2023-02-16 13:33:53 +00:00
Andrew Kingston 91a3707527 Generate bindings for unsaved "Update State" actions (#9508)
* Ensure update state actions have a binding for their own key

* Make own binding generation more futureproof

* Refactor array.find to array.some

* Move state binding generation up a level to account for all actions needing to be able to reference newly created state bindings
2023-02-01 17:53:50 +00:00
deanhannigan ee288c1f2d Merge pull request #9409 from Budibase/feature/user-onboarding-overlays
Feature/user onboarding overlays
2023-01-31 16:37:18 +00:00
Rory Powell da2c809a09 Merge branch 'develop' into feature/environment-variables 2023-01-27 11:27:11 +00:00
Peter Clement c68b5ccb84 fix license check 2023-01-26 16:16:56 +00:00