Commit Graph

4364 Commits

Author SHA1 Message Date
Andrew Kingston 31f6f9db7b Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-03-29 12:09:57 +01:00
Rory Powell d6992bbf94 Merge branch 'master' into merge-master-develop 2023-03-29 11:52:09 +01:00
Rory Powell 89d19a87a7 Revert "Merge pull request #10038 from Budibase/fix/budi-6723" (#10143)
This reverts commit b1b18bef18, reversing
changes made to e841ccd0ed.
2023-03-29 08:48:06 +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
Martin McKeaveney bcbed08a40 Merge pull request #9951 from Budibase/settings-panel-update
Settings panel layout update
2023-03-28 18:36:58 +01:00
Andrew Kingston e0e5ca7a3c Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-integration 2023-03-28 15:47:53 +01:00
Martin McKeaveney 191bf47179 Merge pull request #10048 from Budibase/fix/conditional-ui-drawer-sections
Fix component settings which have no labels appearing as undefined in conditional UI
2023-03-27 17:43:56 +01:00
Michael Drury b1b18bef18 Merge pull request #10038 from Budibase/fix/budi-6723
Googlesheet issues - master merge
2023-03-16 13:33:33 +00:00
melohagan eeb8e49b54 Re-add clone for App Action (#10052) 2023-03-16 11:36:47 +00: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
mike12345567 6174b6ae18 Squashing #10024 for master merge. 2023-03-15 14:16:45 +00:00
Peter Clement cc4a911505 Merge pull request #9984 from Budibase/fix/automation-saving-fix
Fix issue with saving of automation fields
2023-03-14 14:39:24 +00:00
mike12345567 c2de0ade7d Merge branch 'develop' of github.com:Budibase/budibase into fix/budi-6723 2023-03-14 14:25:46 +00:00
Peter Clement 4591bf64ee lint 2023-03-14 14:23:39 +00:00
mike12345567 63cf91218d Merge branch 'master' of github.com:Budibase/budibase into develop 2023-03-14 14:12:32 +00:00
Peter Clement 352791dd9b remove unneeded cloneDeep 2023-03-14 14:09:10 +00:00
Peter Clement b854e06b33 fix direct mutation of inputdata in rowselector 2023-03-14 13:57:36 +00:00
mike12345567 4eba548e93 Removing console log. 2023-03-13 18:05:11 +00:00
mike12345567 2a1f215351 Removing relationship option from Googlesheets as it doesn't add value, as well as multi-select as it can't really be supported. Also fixing issues with re-fetching after adding some special column types./ 2023-03-13 18:04:29 +00:00
Dean 567b9418a3 Made the popover logic more responsive to changes in the tour state. 2023-03-13 14:39:36 +00:00
Dean 19d7c94a22 Made tour node registration a bit more forgiving when waiting for tour details to initialise 2023-03-13 13:17:26 +00:00
Andrew Kingston 909118d398 Merge branch 'develop' of github.com:Budibase/budibase into just-dataspace-things 2023-03-13 11:30:18 +00:00
Andrew Kingston 38a3ef0c34 Update filter button to look consistent and add double click to resize columns to default width 2023-03-11 18:54:38 +00:00
mike12345567 9037ab86d5 Adding an error for XLSX type sheets not working, adding the sheets URL as an option for google config (should be added to redirect URL) and fixing some error states. 2023-03-10 18:46:48 +00:00
mike12345567 741d732795 Don't allow creation of google sheets datasource until google auth configured correctly. 2023-03-10 17:39:06 +00:00
Peter Clement 6d6a4816a0 lint 2023-03-10 15:01:31 +00:00
Peter Clement bd7c91b1bd Fix automation saving issue 2023-03-10 14:47:26 +00:00
Mateus Badan de Pieri d8ce0713aa Merge branch 'develop' into license-key-mgmt 2023-03-10 12:29:10 +00:00
Andrew Kingston a78ba19cf8 Tidy up buttons above sheets and add FAB for adding rows 2023-03-10 11:59:10 +00:00
Andrew Kingston c4e3667b6c Merge branch 'develop' of github.com:Budibase/budibase into just-dataspace-things 2023-03-09 17:54:58 +00:00
Mel O'Hagan ad7bda17bb Change database to Service Name in oracle 2023-03-09 15:52:16 +00:00
Andrew Kingston e5271bdef1 Command palette (#9942)
* command palette E2E

* tidy up

* Improve theming with spectrum badges and dedupe spectrum label usage

* Update data section nav to match designs and use panel component

* Fix main content layout in data section

* Update data section routing for tables

* Improve data section routing for tables to account for edge cases

* Update internal and sample datasource routing

* Update external datasource routing

* Update routing for queries and make a top level concept like everything else

* Update routing for views

* Fix undefined reference when deleting datasource

* Reduce network calls and fix issues with stale datasourcenavigator state

* Update routing for REST queries and unify routes for normal queries and REST queries

* Lint

* Fix links for queries from datasource details page

* Remove redundant API calls and improve table deletion logic

* Improve data entity deletion logic and redirection and fix query details keying

* Improve determination of selected item in datasource tree

* Update command palette to support new data routes

* Update command palette, fix keybind issues and updating loading state

* Lint

* Fix publish command and fix preview published app URL

* Fix BBUI import

* Lint

* Fix datasource navigator selected state not working for internal DB or sample data

* Update command palette to use ctr+k/cmd+k

* Update command palette to match new designs and add visible categories

* Restore missing styles£

* Use proper theme constants for changing theme in command palette

* Add command palette action for inviting users

---------

Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2023-03-09 14:15:43 +00:00
Andrew Kingston 1508d4aea3 Update all setting labels to be correctly cased and sized to fit new layout 2023-03-09 08:47:32 +00:00
Andrew Kingston db7f267887 Update component settings to be left aligned and update long component settings labels to be shorter 2023-03-08 19:22:19 +00:00
deanhannigan d5f7a27d07 Component settings section tabs (#9895)
* Added tabs to the component settings section in the builder

* Review updates

* Update setting tab buttons to be size M and use a lighter font color when selected

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2023-03-08 14:40:13 +00:00
mike12345567 f421b93826 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-03-08 13:52:55 +00:00
melohagan a8f873fff3 Try/catch automation Create Row relationship (#9924)
* Try/catch

* Increase height of automation test output

* Unit tests

* lint
2023-03-08 13:39:18 +00:00
mike12345567 ae3671ea42 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-03-07 17:49:44 +00:00
Martin McKeaveney 72cb60ec02 merge from master 2023-03-07 16:54:33 +00:00
Dean c6cddb5c06 Linting 2023-03-07 13:41:57 +00:00
Dean 5b9fbbc3b4 Various fixes for update self behaviour 2023-03-07 13:35:18 +00:00
Andrew Kingston 0e9fc297fb Expose loading state of sheet and improve column highlighting logic 2023-03-07 12:05:00 +00:00
Andrew Kingston df757ce09b Prevent adding rows to users table and remove log 2023-03-07 11:57:28 +00:00
Andrew Kingston 554659bd91 Fix buttons being highlighted when filters are set 2023-03-07 11:43:42 +00:00
Andrew Kingston ca92d520b3 Fully integrates sheets with datasection and remove lots of old stuff 2023-03-07 11:40:32 +00:00
melohagan 09cf4f8bbc Dynamic filter: Enrich columns (#9877)
* WIP

* Allow related fields in Dynamic Filter

* REST URL check https first

* Only allow related fields in dynamic filter column editor
2023-03-07 10:32:52 +00:00
Martin McKeaveney c4ba55842c Merge pull request #9855 from Budibase/fix/martin-ux-updates
small UX updates to improve user addition and perceived loading of builder
2023-03-06 16:16:05 +00:00
Andrew Kingston b93f575bca Add popovers to sheet column headers, improve mouse UX 2023-03-06 15:09:42 +00:00
Andrew Kingston 4647e1bc07 Fix issues with not disconnecting users when swapping datasource and improve multi-user UI 2023-03-06 11:20:47 +00:00
Andrew Kingston 36c953443f Add WIP initial multi-user websocket implementation for sheets 2023-03-05 18:57:05 +00:00
Martin McKeaveney f7d6c37fc7 merge 2023-03-03 16:49:04 +00:00
Andrew Kingston b82e7582db Add back in functional delete row button 2023-03-03 08:34:26 +00:00
Andrew Kingston 5b590a5976 Integrate sheet into data section better 2023-03-02 17:20:51 +00:00
Martin McKeaveney 286c5c3157 lint 2023-03-01 23:05:17 +00:00
Martin McKeaveney 8c4deb1811 small UX updates to improve user addition and perceived loading of builder 2023-03-01 22:51:52 +00:00
melohagan 6a6bbb38c4 Support navigate to link in new tab (#9800)
* Support navigate to link in new tab

* Add dropdown for Navigate To type

* lint

* Remove labels
2023-03-01 17:41:50 +00:00
Dean c5fc4ea521 Fix for group picker in the user details page to accommodate missing userGroups value on a user 2023-03-01 17:40:33 +00:00
Michael Drury f25fe7d5b8 Merge pull request #9829 from Budibase/fix/9602
Query schema - keep changes when running query again
2023-03-01 13:06:51 +00:00
mike12345567 5882f2b468 Fixing an issue shown in #9602 where the schema type will revert each time you re-run a query, this will hold any previously selected schema information in the query. 2023-02-28 19:27:59 +00:00
Dean a5c6dbe4ae Merge remote-tracking branch 'origin/develop' into feature/app-user-onboarding-ux 2023-02-28 16:38:44 +00:00
Dean 8c8dd637e1 Enable the feature tour window and extend the invite duration to 1 week 2023-02-28 16:38:11 +00:00
Andrew Kingston a28148d9f8 Merge branch 'develop' of github.com:Budibase/budibase into spreadsheet-abs 2023-02-28 13:59:37 +00:00
Andrew Kingston b6247fb9e4 Remove logs 2023-02-28 12:54:18 +00:00
Andrew Kingston a44729d7ec Add role footer for admins and developers, remove wasted API calls 2023-02-28 12:49:40 +00:00
Andrew Kingston 862ba6ce92 Update spacing, borders and sizing 2023-02-28 12:29:13 +00:00
Andrew Kingston 385e9eadb0 Add infinite scroll, improve row fetching, add error handling, fix svelte store updates 2023-02-28 11:48:25 +00:00
Dean 61ed62e6c4 Builder user onboarding 2023-02-28 09:37:03 +00:00
Mateus Badan de Pieri 272081a31f move imports to right source 2023-02-27 17:11:53 +00:00
Mateus Badan de Pieri 057abb5351 move component to bbui 2023-02-27 15:04:30 +00:00
adrinr b231311a87 Don't hide errors on the frontend 2023-02-27 13:17:05 +01:00
Andrew Kingston fae24276f9 Migrate sheet to data section, improve reordering and reszing 2023-02-26 21:29:46 +00:00
Gerard Burns b80ed3cfee Fix App Import (#9796) 2023-02-24 13:16:33 +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 8047a0fc4c Fix error being thrown when attempting to change query parameters (#9782) 2023-02-23 08:09:18 +00:00
mike12345567 f7f9e63fe8 Merge branch 'master' of github.com:Budibase/budibase into develop 2023-02-21 16:53:28 +00:00
Gerard Burns 5e7305b4dd Fix Automation Bindings Panel Requiring a Double Click (#9688)
* Fix Automation Bindings Panel Requiring a Double Click

* PR Feedback

---------

Co-authored-by: Rory Powell <rory.codes@gmail.com>
2023-02-21 15:04:37 +00:00
Gerard Burns e64e3a9e45 New Onboarding URL Validation (#9507)
* New Onboarding URL Validation

* linting

* PR Feedback
2023-02-21 15:03:58 +00:00
melohagan 53f6b2b6e6 Null safety (#9746) 2023-02-20 11:03:37 +00:00
Gerard Burns 8289da3f19 Add Fetch Row Button Action (#9653)
* Add Fetch Row Button Action

* PR feedback
2023-02-17 14:49:35 +00:00
Martin McKeaveney 33b08faffa Merge pull request #9706 from Budibase/qa-2-qa-job-for-nightly-api-test
Re-enabling nightly tests
2023-02-16 14:04:51 +00:00
Martin McKeaveney 6b5128a0bf running API tests with reporting qa nightly tests 2023-02-15 23:38:59 +00:00
Rory Powell bb1faac62a Merge master into develop 2023-02-15 15:10:02 +00:00
melohagan fb74956c93 Date filter freeze fix (#9635)
* Filter with enrichedSchemaFields

* Handle empty object values in date range
2023-02-15 09:27:44 +00:00
mike12345567 488b542ac1 Fix for #9654 - the error checking was looking at the through fields flipped, which caused many to many relationships to throw an error. Also I've updated the dev compose file on master so that switching between develop and master is smoother. 2023-02-14 14:38:55 +00:00
melohagan ee054adf39 Longform fields support for JSON string (#9666) 2023-02-13 11:06:33 +00:00
Martin McKeaveney 321a869da7 fix displayColumn logic 2023-02-11 01:14:58 +00:00
Martin McKeaveney cd8e007da8 force display column to be chosen when uploading csv 2023-02-11 01:07:20 +00:00
Dean 4c013df676 Reactivity fix for the editableColumn and an update to the onChange behaviour for the formula value to ensure updates are detected 2023-02-09 16:36:02 +00:00
Gerard Burns e2f52c8e1d Fix Import Validations 2023-02-07 19:05:00 +00:00
andz-bb 59b8aef844 stop chrome autofilling login when adding env var 2023-02-07 17:44:23 +00:00
Martin McKeaveney 238854aa0e updating onboarding tour and fixing github CSP 2023-02-07 14:49:45 +00:00
Peter Clement 99287b9a5a don't coerce options type to array when switching to bindings 2023-02-06 14:37:50 +00:00
Martin McKeaveney 2ebbd319d5 auto columns fix 2023-02-06 08:36:25 +00:00
Martin McKeaveney d4a0e44b31 merge 2023-02-05 22:11:37 +00:00
deanhannigan 368e97f124 Merge pull request #9528 from Budibase/fix/qr-field-type-parsing
Parse field type configuration for invalid characters
2023-02-03 13:27:39 +00:00
Michael Drury ceee79f1b8 Merge pull request #9516 from Budibase/fix/relationship-modal
SQL relationship modal
2023-02-03 11:08:34 +00:00
Dean 8e78b075fd Feedback updates. Backed out parsing and simply renamed the field config property 2023-02-03 10:22:36 +00:00
Dean 90be29452b Removed extra forward slash in qr reader field type. 2023-02-02 17:58:35 +00:00
mike12345567 90c2e69efe Final fix - making sure relationships can be built from table UI. 2023-02-02 17:37:41 +00:00
mike12345567 01edfba90e Some final fixes based on comments, adding foreign key type checking for through tables. 2023-02-02 17:25:02 +00:00