Commit Graph

1089 Commits

Author SHA1 Message Date
Andrew Kingston b06c6852a3 Optimise client library performance with skeleton loaders (#9256)
* Treat empty string default values as nullish when considering whether field default values should be applied to the real field value

* Add flag to allow not loading data immediately upon creation of a data fetch object

* Use loading context inside forms to avoid wasted renders while form schema are loading

* Wait for parent data providers to finish loading before loading their own data

* Optimise data provider to reduce updates as much as possible

* Allow forms to render content immediately again, but use the loading context to inform data providers to wait for them

* Remove fetchOnCreation flag for data fetches as now redundant

* Fix issue with deleting the selected button action when the next action has no parameters

* Lint
2023-01-11 08:01:41 +00:00
melohagan 88bda769a4 Merge pull request #8911 from Budibase/bug/sev2/custom-sql-query-bindings
Update custom sql query in design when changed in the data section
2023-01-10 16:51:27 +00:00
Andrew Kingston 3b1819952d Builder data section routing refactor (#8996)
* 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

* Lint

* Fix BBUI import

* Fix datasource navigator selected state not working for internal DB or sample data
2022-12-17 14:13:06 +00:00
FlaminWrap a1ee10c1c6 Button action for user prompt (#8676)
* Commit for enhancement #7762

Added Question option for buttons which acts as a dialog prompting the user to confirm or cancel before continuing.

* Fixes

* Made changes to allow custom modal title

Changed Question to User Prompt
Allows custom title

* Revert "Made changes to allow custom modal title"

This reverts commit 42a43bef4914cd52b07a2b6964bf78aa50eb2707.

* Revert "Fixes"

This reverts commit 915a8718e5ac6dd32a6c3d377d5edb02fc8a3138.

* Adds custom title

Adds custom title

* Wrong version of buttonActions was commited

* Delete index.js

* refactor

* lint

Co-authored-by: Mel O'Hagan <mel@budibase.com>
2022-12-15 16:21:24 +00:00
Andrew Kingston 090ae5df49 Master => Develop (#9049)
* v2.1.46

* Update pro version to 2.1.46

* v2.2.0

* Update pro version to 2.2.0

* Fix for budibase plugin skeleton, which utilises the old import style.

* Fix side nav styles

* v2.2.1

* Update pro version to 2.2.1

* using dist folder to allow importing constants for openAPI specs

* v2.2.2

* Update pro version to 2.2.2

* Fix for user enrichment call (updating to @budibase/nano fork) (#9038)

* Fix for #9029 - this should fix the issue users have been experiencing with user enrichment calls in apps, essentially it utilises a fork of the nano library we use to interact with CouchDB, which has been updated to use a POST request rather than a GET request as it supports a larger set of data being sent as query parameters.

* Incrementing Nano version to attempt to fix yarn registry issues.

* v2.2.3

* Update pro version to 2.2.3

* Fix SQL table `_id` filtering (#9030)

* Re-add support for filtering on _id using external SQL tables and fix filter key prefixes not working with _id field

* Remove like operator from internal tables and only allow basic operators on SQL table _id column

* Update data section filtering to respect new rules

* Update automation section filtering to respect new rules

* Update dynamic filter component to respect new rules

Co-authored-by: Martin McKeaveney <martin@budibase.com>
Co-authored-by: Budibase Release Bot <>
Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2022-12-15 12:13:42 +00:00
Andrew Kingston c3b6afbb6f Fix SQL table `_id` filtering (#9030)
* Re-add support for filtering on _id using external SQL tables and fix filter key prefixes not working with _id field

* Remove like operator from internal tables and only allow basic operators on SQL table _id column

* Update data section filtering to respect new rules

* Update automation section filtering to respect new rules

* Update dynamic filter component to respect new rules
2022-12-15 09:22:28 +00:00
Andrew Kingston e26d5096ae Merge branch 'cheeks-fixes' of github.com:Budibase/budibase into cheeks-fixes 2022-12-07 09:54:47 +00:00
Andrew Kingston 608576ff3b Remove console log 2022-12-07 09:02:31 +00:00
Andrew Kingston d4a7412163 Update filter labels to reflect that more than and less than also include equal to 2022-12-07 09:00:29 +00:00
Andrew Kingston 0e9477b982 Fix filter drawer and filtering in general across data, design and automate and update to support keyed fields and 'match any' 2022-12-07 08:57:17 +00:00
Andrew Kingston 783e95b688 Merge pull request #8667 from FlaminWrap/Flaminwrap-Enhancement-7604
Allow user to disable hard coded notifications for button actions #7604
2022-12-05 09:36:31 +00:00
Mel O'Hagan 32285a2a1f Update value with new query 2022-12-02 15:10:43 +00:00
Rory Powell 7a7bbd1857 Merge branch 'master' into develop 2022-12-01 14:39:05 +00:00
Mel O'Hagan 2e5744eedd Remove _id from filter field list in external dbs 2022-11-29 11:00:54 +00:00
Mel O'Hagan 57f695ac3c Don't add numbering to primary key 2022-11-24 18:24:38 +00:00
Andrew Kingston c01b9af1f0 Merge branch 'develop' of github.com:Budibase/budibase into side-panel 2022-11-22 16:52:09 +00:00
deanhannigan c5df700d82 Merge pull request #8672 from Budibase/feature/default-internal-datasource
Default Datasource and sample row data
2022-11-22 10:32:12 +00:00
Mel O'Hagan f385d7a6a9 Refactor 2022-11-21 16:24:24 +00:00
Mel O'Hagan f1c6d15999 Merge branch 'develop' into feature/dynamic-filter-custom-labels 2022-11-21 16:20:05 +00:00
Dean 64e7239d42 Merge remote-tracking branch 'origin/develop' into feature/default-internal-datasource 2022-11-21 15:40:11 +00:00
Mel O'Hagan 8fae013203 Add subject prop 2022-11-21 15:11:21 +00:00
Mel O'Hagan e7becbf849 Remove duplication 2022-11-21 14:48:26 +00:00
Mel O'Hagan 79dc972c56 Don't allow cell edit for dynamic filter col conf 2022-11-18 16:19:49 +00:00
Andrew Kingston e8b993b14c Add working side panels to table blocks 2022-11-17 10:16:45 +00:00
Dean f73b4f8b01 Review updates 2022-11-15 17:03:35 +00:00
Andrew Kingston fa3de9f0ac Lint 2022-11-15 13:04:09 +00:00
Andrew Kingston e7061647da Ensure action parameters can never be null and fix display of close screen modal action 2022-11-15 12:52:06 +00:00
Andrew Kingston e37027f808 Use explicit actions for opening and closing side panels, and automatically close side panels when using form blocks 2022-11-15 11:54:20 +00:00
Andrew Kingston aa81e0451a Add button action for showing/hiding side panels 2022-11-14 15:02:57 +00:00
Dean ff7a3b8cef Default Datasource and sample row data 2022-11-13 21:37:50 +00:00
FlaminWrap 0859691afe Ran yarn lint:fix
Ran yarn lint:fix as I forgot to do that
2022-11-13 17:25:48 +00:00
FlaminWrap e190f932d8 Commit for enhancement #7604
Added a checkbox to allow the user to disable the default notifications to the following button actions:
* Save row
* Duplicate row
* Trigger automation
* Execute query
* Delete row
Also adjusted buttonActions.js to reflect the behaviour of that checkbox being ticked.
2022-11-13 17:08:23 +00:00
Martin McKeaveney 87717ebdf5 merge with master 2022-10-31 13:44:23 +00:00
Andrew Kingston 603c8744a5 Merge branch 'master' into master-develop 2022-10-25 12:03:33 +01:00
Martin McKeaveney 69775a0324 Merge pull request #8016 from Budibase/feature/redirect-after-modal-close
Allow screen redirect after modal close
2022-10-21 08:58:21 +01:00
Dean 7ccf29bff7 Pushed default parsing up into the InnerForm component to ensure that invalid default values are removed entirely. Fixes for custom validation for array types 2022-10-18 16:24:36 +01:00
Andrew Kingston d7f033eedf Add sensible min widths to settings in the filter drawer 2022-10-15 13:23:20 +01:00
Andrew Kingston 167f8f368b Only show sortable fields for sort column settings 2022-10-13 15:58:44 +01:00
Dean 299122324e Ensure field type is preserved if it contains a slash. Some additional refactoring 2022-10-10 14:20:06 +01:00
Dean 9d00b59c49 Adjustments to accomodate the updates scanner type 2022-10-10 12:11:29 +01:00
Dean 07be0208e5 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-10 09:08:48 +01:00
Andrew Kingston f27704ccf6 Merge branch 'develop' of github.com:Budibase/budibase into form-block 2022-10-07 12:45:53 +01:00
Andrew Kingston bdce3fc9fc Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-10-07 11:31:32 +01:00
Dean c09154b03e Renamed the 'Scanned Code' field type to 'Barcode/QR'. The component is also now listed as 'Barcode/QR Scanner'. Minor fix to include longform text columns in the table csv import list 2022-10-07 11:00:25 +01:00
Dean e251c914ff Review feedback changes. Changed 'Code' labelling to 'Scanned Code' 2022-10-06 13:02:17 +01:00
Dean 2ec21741d1 Initial commit of QR Reader field 2022-10-05 09:28:07 +01:00
Andrew Kingston ea35b9bff6 Fix table setting type 2022-09-30 16:26:24 +01:00
Andrew Kingston 10320574a4 Update naming conventions in filter drawer 2022-09-28 15:36:35 +01:00
Andrew Kingston 7909745fb5 Simplify, strengthen and make consistent filter drawer validation logic 2022-09-28 15:08:44 +01:00
Andrew Kingston 6c63edc279 Merge branch 'master' of github.com:Budibase/budibase into bug/sev2/is-in-filter-startswith-crash 2022-09-28 14:16:45 +01:00
Mel O'Hagan 4bb9dad06e Add screen input to CloseScreenModal 2022-09-28 13:49:35 +01:00
Martin McKeaveney 57bbf28119 merge with master 2022-09-26 17:57:23 +01:00
Andrew Kingston 8563f1df90 Merge branch 'master' of github.com:Budibase/budibase into bug/sev2/is-in-filter-startswith-crash 2022-09-26 15:04:02 +01:00
Peter Clement f6d7b5dc8e Merge pull request #7944 from Budibase/pc/automation-fix
Automate fixes
2022-09-26 08:39:47 +01:00
Peter Clement f069ddb27e Automation fixes 2022-09-23 13:35:27 +01:00
Dean c3f41c8f31 Added category and icon for table configuration binding drawer 2022-09-22 17:04:58 +01:00
Mel O'Hagan eaddd72d66 Handle valueType change 2022-09-22 09:40:45 +01:00
mike12345567 1be71933ca Merge branch 'develop' of github.com:Budibase/budibase into group-fixes 2022-09-16 17:02:08 +01:00
mike12345567 8744d0a86c Renaming data source -> datasource as per Mel's request. 2022-09-14 12:11:20 +01:00
Andrew Kingston c873a4d965 Merge branch 'cheeks-lab-day-eject-blocks' of github.com:Budibase/budibase into form-block 2022-09-13 11:32:04 +01:00
Andrew Kingston 3283a0ab5a Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-09-13 11:31:45 +01:00
Mel O'Hagan 1edbb73e33 Remove console log 2022-09-12 08:58:47 +01:00
Mel O'Hagan 76c861c266 Null safety when creating automation from design 2022-09-12 08:57:44 +01:00
Andrew Kingston 5577f31a17 Merge branch 'cheeks-lab-day-eject-blocks' of github.com:Budibase/budibase into form-block 2022-09-06 09:00:21 +01:00
Andrew Kingston df3787bda3 Tidy up component list panel monolith 2022-08-30 13:23:12 +01:00
Andrew Kingston b86bd5bf03 Add setting button for ejecting blocks. Update manifest to show info beside relevant settings 2022-08-30 10:53:58 +01:00
Andrew Kingston de9d46dce8 Add placeholder setting to URLSelect 2022-08-23 14:59:18 +01:00
Andrew Kingston 434fe378c7 Merge branch 'develop' of github.com:Budibase/budibase into form-block 2022-08-23 11:40:15 +01:00
Andrew Kingston 60ed162fe3 Add missing bindings to show notification action 2022-08-22 11:10:47 +01:00
Andrew Kingston 19c99f4390 Allow configuring whether notification is automatically dismissed or not 2022-08-22 11:08:52 +01:00
Andrew Kingston 8a2f35b3f0 Add action for showing a custom notification 2022-08-22 11:00:51 +01:00
Rory Powell 7d1a32f729 Merge branch 'master' into develop 2022-08-19 14:15:49 +01:00
Andrew Kingston 7b6cef8794 Rename some usages of button actions to events 2022-08-18 13:43:32 +01:00
mike12345567 ae9ae26bd4 Merge branch 'develop' of github.com:Budibase/budibase into feature/multiselect-filters 2022-08-15 12:24:41 +01:00
mike12345567 1c7f860184 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-08-11 16:28:46 +01:00
NEOLPAR 60e61f1107 wrong comment 2022-08-10 16:30:26 +01:00
NEOLPAR 0687d7c235 fixing wrong filter, excluding just bb_internal 2022-08-10 16:27:53 +01:00
Rory Powell 664cb2b0b0 Merge branch 'master' into develop 2022-08-10 14:36:49 +01:00
NEOLPAR 0b8e0309f6 filtering datasources for execute query actions 2022-08-08 12:12:56 +01:00
Mel O'Hagan 84b86b2450 Handle 'Is in' onOperatorChange 2022-08-06 20:52:34 +01:00
Andrew Kingston 9ad23afc89 Update groups list and groups details pages to new designs. Multiple fixes and improvements. Standardise divider thickness 2022-08-04 11:06:49 +01:00
mike12345567 dee15b6415 Switching to an explicit select for the OR/AND options in the filter. 2022-08-03 17:44:44 +01:00
mike12345567 129c966226 Updating the filter system to allow adding multiple filter properties of the same name at once, as well as enabling the use of the allOr property from within the UI - resolves an old issue #2585. 2022-08-02 18:34:58 +01:00
Mel O'Hagan d41f813efb Add multiselect for options is in 2022-07-29 16:09:53 +01:00
Mel O'Hagan 1bdc0658e7 Merge branch 'develop' into feature/multiselect-filters 2022-07-29 14:23:12 +01:00
Andrew Kingston 3ebb2e193f Merge branch 'master' of github.com:Budibase/budibase into develop 2022-07-29 13:48:27 +01:00
Mel O'Hagan 35dd4b0aa8 Add Multiselect to FilterDrawer 2022-07-26 13:50:36 +01:00
Andrew Kingston 8296c8f996 Move new component panel to right side, animate via sliding in and remove add component button above preview 2022-07-25 10:20:59 +01:00
Mel O'Hagan 5a3688d237 Remove checkbox. Always validate current step. 2022-07-20 09:56:02 +01:00
mike12345567 1c02c3d3c3 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-07-19 14:12:48 +01:00
Andrew Kingston 0aa4f43581 Merge pull request #6733 from Budibase/409-fixes-master
Frontend store improvements for conflicts and performance
2022-07-18 15:03:47 +01:00
mike12345567 6afdd6dcec Merge branch 'master' of github.com:Budibase/budibase into develop 2022-07-18 14:09:02 +01:00
mike12345567 c525721854 Fix for #6709 - Adding the option to set a role for app action, allowing users to set what level an automation can be accessed from. 2022-07-15 17:13:45 +01:00
Andrew Kingston aa1c0298bc Move screen setting updates into store and use patches. Make screen settings generic 2022-07-15 13:09:23 +01:00
deanhannigan 998f48e171 Merge pull request #6676 from Budibase/feature/app-action-ui-updates
Feature/app action UI updates
2022-07-15 10:46:58 +01:00
Dean 05abecd503 Merge remote-tracking branch 'origin/develop' into remove-datasource-from-schema-picker 2022-07-13 17:12:07 +01:00
Dean 8426088c2a Refactoring of the button actions layout, updating the padding of the action categories to better separate them. 2022-07-13 16:53:08 +01:00
Dean e3170c2a2f Updated action categories, adding a logic specific entry for the conditional step. Shift the action text above the button. 2022-07-13 12:30:58 +01:00
Dean b5183fec93 Merge remote-tracking branch 'origin/develop' into feature/app-action-ui-updates 2022-07-13 09:11:03 +01:00
Dean 00eb3bfee3 Made action visibility react based on the number of loaded actions 2022-07-13 09:09:00 +01:00
Andrew Kingston 16116f2877 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-07-11 10:33:50 +01:00
Dean 1d1de31c35 Action drawer updates. Actions now grouped by type and filterable in the action drawer 2022-07-08 09:09:21 +01:00
Dean 663b405032 Data providers are excluded from the Form Schema picker 2022-07-04 17:01:40 +01:00
Andrew Kingston 77a943cc36 Reduce builder side panel width to 260px 2022-07-01 12:47:30 +01:00
Andrew Kingston 2dda9caa32 Update font sizes and weights 2022-07-01 12:03:04 +01:00
Andrew Kingston c502eff614 Update some font sizes and weights 2022-07-01 11:26:30 +01:00
Andrew Kingston e7869504d0 Fix slight issue with column editor layout 2022-06-27 14:44:38 +01:00
Andrew Kingston a0d83eefaa Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-06-22 12:49:46 +01:00
Andrew Kingston 680849d561 Merge pull request #6392 from Budibase/custom-csv-export
Add option to customise which columns are exported in export data action
2022-06-22 12:49:10 +01:00
Andrew Kingston b6231b281b Merge pull request #6352 from Budibase/fix/select-table-by-id
Fix autoscreen and autoscreen link creation and deletion
2022-06-22 12:47:57 +01:00
Andrew Kingston ad57889c79 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-06-21 15:10:58 +01:00
Mel O'Hagan b3308b09d4 Set external type of field for filter 2022-06-20 17:55:11 +01:00
Andrew Kingston 6845f86689 Add option to customise which columns are exported in export data action 2022-06-20 12:32:13 +01:00
Andrew Kingston 6580010286 Fix logic around deleting autoscreens and autoscreen links 2022-06-16 11:46:53 +01:00
Andrew Kingston 947840e79e Use ID rather than name to identiy datasources when creating autoscreens 2022-06-16 11:46:16 +01:00
Andrew Kingston b5d635c83f Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-06-15 15:32:33 +01:00
Andrew Kingston eb3a7b44b6 Merge pull request #6309 from Budibase/builder-focus-updates
Builder focus updates
2022-06-15 11:07:46 +01:00
Andrew Kingston 2914f99e67 Improve determination of default values and logic around showing highlighted settings 2022-06-14 15:29:27 +01:00
Andrew Kingston 7ec1b02c99 Scroll the highlighted element into view 2022-06-14 14:32:17 +01:00
Andrew Kingston e34a79e904 Save highlighted setting key in store and show as highlighted until unmounted or changed 2022-06-14 14:05:28 +01:00
Andrew Kingston d89047b2ab Revert focus specific logic in other components and simplify 2022-06-13 16:11:12 +01:00
Rory Powell 4dc5cfc5a7 Merge branch 'release' into merge-release 2022-06-13 11:45:18 +01:00
Andrew Kingston 5a35c182c1 Allow role select to accept a placeholder 2022-06-09 14:27:29 +01:00
Andrew Kingston e806001107 Update action button style for component settings to match designs 2022-06-08 16:51:14 +01:00
Andrew Kingston 3aa7b4e2c9 Update select settings to match the settings bar style where possible 2022-06-08 15:13:47 +01:00
Andrew Kingston 186e281ef0 Fix custom options drawer layout 2022-06-08 12:50:04 +01:00
Rory Powell 6fbb5afeec Remove ui events except for component created and view published app 2022-06-06 12:51:22 +01:00
Rory Powell 33f44f6ee7 Remove todos 2022-06-06 11:11:13 +01:00
Dean 692039cd34 Component Cypress tests and fixes 2022-05-31 22:57:33 +01:00
Dean f1111fffca Updated approach to focus behaviour. Placeholder now updates to direct the user to the next required field they haven't entered 2022-05-30 12:57:10 +01:00
Dean 663a4ee7c7 Expanding the focus behaviour to more component types in the builder. Minor fix for cypress test 2022-05-24 09:58:05 +01:00
Dean 253642ad1f Refactored the approach to builder focus. Extending the behaviour beyond form fields 2022-05-23 16:12:56 +01:00
Dean 4c25248de8 Builder focus behaviour added to guide users when adding form elements. Refactored the component tests 2022-05-17 15:09:13 +01:00
Andrew Kingston 78b8bc4493 Delete old design UI code 2022-05-11 13:10:05 +01:00
Andrew Kingston 8be243add5 Refactor design panels into core panel component and update usages 2022-05-11 13:09:21 +01:00
Andrew Kingston df22e70e5d Add initial layouts panel and add explicit panels for theme and navigation tabs 2022-05-11 13:06:41 +01:00
Andrew Kingston 88018aff4e Add initial layouts panel and add explicit panels for theme and navigation tabs 2022-05-11 12:47:24 +01:00
Andrew Kingston 9679956d46 Remove concept of selected access role and refactor logic around assigning roles to new screens 2022-05-11 08:47:24 +01:00
Andrew Kingston f1777c23f7 Add fallback UI when no screens exist and add custom theme metadata to new apps 2022-05-10 18:20:26 +01:00
Andrew Kingston 316d5d682f Improve role colours and ordering 2022-05-10 14:02:00 +01:00
Andrew Kingston b89203cd45 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-05-09 09:41:28 +01:00
Rory Powell e4257f1e04 Merge branch 'develop' into feature/posthog-v2 2022-05-05 08:47:06 +01:00
mike12345567 d090f2a8aa Fix for #5553 - when importing for SQL databases attempt to manage date and time only column times, handle these when displaying in tables and when filtering. 2022-05-03 14:11:06 +01:00
Andrew Kingston 2736954438 Add link settings to new navigation tab 2022-04-27 17:50:01 +01:00
Rory Powell 1caf4b1965 Merge branch 'develop' into feature/posthog-v2 2022-04-27 16:32:00 +01:00
Andrew Kingston e2d89490b8 Slightly increase width of side panels and add expandable toggle for component tab 2022-04-27 08:06:09 +01:00
Andrew Kingston 271e302b10 Add back in component settings panel 2022-04-26 14:22:32 +01:00
Andrew Kingston 168ec6634e Add back in working component tree with scrolling and dropdown menus 2022-04-26 13:44:21 +01:00
Andrew Kingston 2c0ae18438 Fix iframe remounting on routify changes 2022-04-26 10:16:58 +01:00
Andrew Kingston b1f4f94f93 Add icons to screen picker above app preview 2022-04-26 09:51:53 +01:00
Andrew Kingston 943dcc7afa Add new components above app preview 2022-04-26 09:44:59 +01:00
Andrew Kingston c127703a6c Add initial new 'add component' panel 2022-04-26 08:23:53 +01:00
Andrew Kingston 5d426b25a7 Fix overflow not scrolling properly in settings panel 2022-04-26 07:42:27 +01:00
Andrew Kingston 091ebe89f5 Fix overflow not scrolling properly in side panels 2022-04-26 07:41:58 +01:00
Andrew Kingston 0e05c82c8c Move theme editor into theme tab 2022-04-25 20:26:06 +01:00
Andrew Kingston 55804b0c32 Tidy up and polish screen settings panel 2022-04-25 20:10:52 +01:00
Andrew Kingston 877791970a Add screen settings panel 2022-04-25 19:59:30 +01:00
Andrew Kingston 1e59576a30 Update routify structure to prevent remounting full page when changing URL params and update nav item wrapping 2022-04-25 19:33:43 +01:00
Andrew Kingston b9a2d96765 Make publish button CTA and tidy up alignment 2022-04-25 14:58:41 +01:00
Andrew Kingston 378d7a014e Add screen creation modal to screens tab 2022-04-25 14:37:14 +01:00
Andrew Kingston d269354d6f Merge branch 'feature/new-app-publish-workflow' of github.com:Budibase/budibase into new-design-ui-dirty 2022-04-25 13:42:23 +01:00
Dean 85928e72b2 Merge remote-tracking branch 'origin/develop' into feature/new-screen-addition-ui 2022-04-25 09:06:54 +01:00
Dean 7cbf9c2e61 Cypress fixes for screen create flow 2022-04-22 18:23:16 +01:00
Andrew Kingston 03be935e6c Refactor routes and start updating core design UI into new components 2022-04-22 16:03:47 +01:00
Dean b9f57eecb3 Minor modal refactor for testing. Updates to the cypress tests around creating screens 2022-04-22 14:57:13 +01:00
Dean 1885a3e275 Refactored the screen wizard to separate out the role selection. Design and layout updates to address feedback 2022-04-22 12:22:21 +01:00
Andrew Kingston 754aa82cec Merge pull request #5417 from Budibase/form-actions
Form actions
2022-04-22 10:47:57 +01:00
Mel O'Hagan 8494f872af Remove Row Rev from UI 2022-04-20 11:00:58 +01:00
Andrew Kingston 9545b3af1b Add button actions to update form field values 2022-04-14 09:46:07 +01:00
Andrew Kingston 5e19a93726 Merge pull request #5369 from Budibase/fix-query-block-search
Fixes for custom queries
2022-04-13 14:13:46 +01:00
Rory Powell 33719fcb09 Merge branch 'feature/licensing' into feature/posthog-v2 2022-04-12 17:12:46 +01:00
Andrew Kingston 3bb9834895 Remove table ID from custom queries to fix 500 errors when trying to fetch a table definition and passing up a query ID, and fix issue with search fields when no table ID exists 2022-04-12 16:58:26 +01:00
Andrew Kingston e692dc9095 Use the readable schema when generating search field options 2022-04-12 16:27:14 +01:00
Mel O'Hagan 6ee859b04e Default option labels and values 2022-04-12 14:54:15 +01:00
Mel O'Hagan 6850bb77fd Added error messages to inputs instead 2022-04-11 16:08:25 +01:00
Mel O'Hagan 6c9ee5e27c Merge branch 'develop' into bug/sev3/require-option-values 2022-04-11 15:18:10 +01:00
Mel O'Hagan fdca96609b Simplify condition 2022-04-08 23:24:46 +01:00
Mel O'Hagan fafce24d5b Error messaging for invalid options in editor 2022-04-08 23:15:47 +01:00
Dean ebf1fd5238 Ensure datasources are refreshed when loading the create screen modal 2022-04-08 09:05:56 +01:00
Andrew Kingston ff40ddd9af Fix bug with automations that have no inputs in an app action trigger 2022-04-07 16:02:08 +01:00
Dean aaa46e8992 Removed debugging statements and updated event data for screen create workflows 2022-04-07 09:35:12 +01:00
Dean 186dcc00f6 Initial commit of screen workflow updates 2022-04-06 10:10:53 +01:00
Andrew Kingston a846c701ef Fix issue where changing the role of a screen did not correctly update screen list 2022-04-01 18:02:34 +01:00
Andrew Kingston cf7900564a Prevent updating a screen role to a role for which the screen URL already exists 2022-04-01 14:53:01 +01:00
Andrew Kingston e61e3ddf27 Prevent update a screen URL to an existing URL for the same role 2022-04-01 14:47:49 +01:00
Andrew Kingston d08d9d1248 Add form block and form block plus components 2022-04-01 12:51:23 +01:00
Rory Powell 3e5e95a9c1 Add analytics to backend-core. Update server posthog usage 2022-03-25 13:04:34 +00:00
Andrew Kingston 4d82b49c0e Merge pull request #5086 from Budibase/continue-if-button-action
'Continue if' button action
2022-03-25 12:29:19 +00:00
Andrew Kingston bedbf4bcae Merge branch 'develop' of github.com:Budibase/budibase into feature/map-actions 2022-03-25 12:00:17 +00:00
Dean 962f53e36f Merge remote-tracking branch 'origin/develop' into feature/map-component 2022-03-25 11:31:45 +00:00
Andrew Kingston 4b55e8c85e Add 'continue if' button action 2022-03-25 09:26:15 +00:00
Andrew Kingston 3817de254e Merge branch 'develop' of github.com:Budibase/budibase into cheeks-fixes 2022-03-23 10:48:49 +00:00
Andrew Kingston 406776088d Add identifier to messages sent to client iframe preview to avoid conflicts with embedded iframe events 2022-03-22 18:15:41 +00:00
Andrew Kingston 8a2aa166fc Remove selected state from current screen and only show component 2022-03-21 16:06:23 +00:00
Andrew Kingston 123e805668 Lint 2022-03-21 15:56:42 +00:00
Andrew Kingston 014d318437 Update layouts in nav tree to new full width style 2022-03-21 15:40:07 +00:00
Andrew Kingston 0ffd080b0f Fix issue when currentAsset is null and fix overflow when no screens for current role 2022-03-21 15:21:29 +00:00
Andrew Kingston 53ce97b9de Ensure the component tree containing the selected component cannot be hidden 2022-03-21 15:17:51 +00:00
Andrew Kingston 7157b29da0 Support scrolling screens or folders into view when clicking 2022-03-21 14:46:59 +00:00
Andrew Kingston a2283fefa5 Remove logs 2022-03-21 14:23:56 +00:00
Andrew Kingston 0798556a52 Tidy up logic for scrolling to components 2022-03-21 13:54:46 +00:00
Andrew Kingston 697c43187a Add vertical scrolling to selected component and support scrolling to selected screen 2022-03-21 13:38:53 +00:00
Andrew Kingston a8a6c0a428 Properly center all path, screen and component dropdown menu icons 2022-03-21 09:57:55 +00:00
Andrew Kingston 88e619aff7 Merge branch 'develop' of github.com:Budibase/budibase into scrollable-component-tree 2022-03-21 09:52:40 +00:00
Martin McKeaveney cf9105c9dc Merge pull request #4821 from Budibase/copy-paste-improvements
Copy paste improvements + extras
2022-03-21 08:25:01 +00:00
Andrew Kingston c79ec57a5d Add initial work on horizontally scrollable component tree with automatic scrolling 2022-03-18 19:52:11 +00:00
Maurits Lourens 103bb25437 don't sent searchableSchema to getSchemaForDatasource 2022-03-18 16:45:33 +01:00
Andrew Kingston 9500203515 Add event context to button actions to allow passing in params at run time and add corresponding data bindings 2022-03-15 11:16:51 +00:00
Dean c672a439c0 Merge remote-tracking branch 'origin/develop' into feature/map-component 2022-03-09 11:02:53 +00:00
Andrew Kingston f335c2635b Merge branch 'develop' of github.com:Budibase/budibase into copy-paste-improvements 2022-03-08 17:58:12 +00:00
Andrew Kingston 990442b45e Add optional chaining to all current asset references to account for nullish values 2022-03-08 17:57:36 +00:00
Dean b67b34928a Initial Commit for Issue/3819. World map component added and a small change to the Component draggable behaviour to accomodate it. 2022-03-08 16:41:21 +00:00
Andrew Kingston d8cb5bfd24 Fix screen renaming when same route already exists 2022-03-08 14:14:57 +00:00
Peter Clement 38ba2509d7 Merge remote-tracking branch 'origin/develop' into feature/export-from-client 2022-03-08 13:56:56 +00:00
Andrew Kingston 4ef06ea6c1 Merge branch 'develop' of github.com:Budibase/budibase into copy-paste-improvements 2022-03-08 13:35:35 +00:00
Peter Clement ebaaff1f8c account for blocks within export button action 2022-03-08 13:31:14 +00:00
Peter Clement 064aee5e2e Update how button action for exporting works 2022-03-08 12:58:05 +00:00
Martin McKeaveney 14cffcd6ff merge 2022-03-08 12:40:41 +01:00
Martin McKeaveney 975eb0b99e merge from master 2022-03-08 12:34:27 +01:00
Andrew Kingston e84e4f9899 Add duplicate action to settings bar 2022-03-07 14:05:26 +00:00
Andrew Kingston d2b13cf3fa Add option to paste inside screens 2022-03-07 13:56:06 +00:00
Peter Clement ed2c210db8 Add button action allowing for export of client row selection 2022-03-07 12:06:11 +00:00
Andrew Kingston 4c88a046fd Update confirm text button when duplicating screens 2022-03-07 10:41:52 +00:00
Andrew Kingston 91b698cfe1 Properly remove window event listener when unmounting component preview 2022-03-07 10:17:05 +00:00
Andrew Kingston 018b8713d7 Use new string-templates function and remove the one implemented on this branch for finding HBS expressions 2022-03-07 09:32:31 +00:00
Andrew Kingston 530024bd63 Add component name to settings panel 2022-03-07 08:16:55 +00:00
Andrew Kingston 8b4e464e8a Allow bulk deleting all screens under a route 2022-03-02 19:52:10 +00:00
Andrew Kingston f5ff71f9d1 Allow duplication of screens 2022-03-02 19:26:43 +00:00
Andrew Kingston f2fbd3d1d0 Rewrite screen wizard to make modals reusable and fix some edge case URL bugs 2022-03-02 19:10:18 +00:00
Andrew Kingston e411354538 Improve copy and paste to support keeping all data bindings valid 2022-03-02 17:45:01 +00:00
Andrew Kingston 0f295afb04 Make component setting updates sequential to prevent 409s 2022-03-01 11:11:56 +00:00
Andrew Kingston 1ec76e3e7e Merge branch 'develop' of github.com:Budibase/budibase into table-cell-config 2022-02-23 13:25:48 +00:00
Rory Powell 6fca8ca936 Merge branch 'master' into merge-master 2022-02-23 12:14:04 +00:00
Andrew Kingston 58d7a30894 Lint 2022-02-21 13:50:20 +00:00
Andrew Kingston f1209f30de Merge branch 'develop' of github.com:Budibase/budibase into table-cell-config 2022-02-21 13:46:22 +00:00
Andrew Kingston 7236ae80e5 Allow bindings for table cell values and break out cell settings into its own drawer component 2022-02-21 13:19:29 +00:00
Andrew Kingston f63db2fb4f Add configuration options for table cell customisation to the table component 2022-02-18 20:15:47 +00:00
Andrew Kingston 6237af2826 Add quick actions for adding all column or for resetting column selection back to default 2022-02-18 12:36:12 +00:00
Rory Powell 814b5ae5ab Merge branch 'master' into develop 2022-02-18 11:57:54 +00:00
Andrew Kingston a69962c26c Fix usage of className instead of class 2022-02-17 16:06:17 +00:00
Andrew Kingston 6a4067da52 Fix role being stale when creating screens 2022-02-17 11:50:55 +00:00
Andrew Kingston 053e6af3d1 Use selected role when creating screens 2022-02-17 09:41:44 +00:00
mike12345567 db45086105 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-02-15 16:54:21 +00:00
Andrew Kingston ee0bfa9ab0 Update datasource schema generation to take new flags, and update automation blocks to use core databinding utilities 2022-02-15 14:59:11 +00:00
mike12345567 c1bd5b8329 Fixing issue #4337, allows internal tables to search by the _id or _rev properties in automation query block. 2022-02-14 14:57:06 +00:00
Andrew Kingston 6c1701830f Improve layout and edge cases around using column editor drawer 2022-02-14 13:06:32 +00:00
Andrew Kingston 4f00e7a3b1 Add labels to column config drawer 2022-02-14 11:47:48 +00:00
Andrew Kingston c7edfa7f59 Remount button action components fully when changing action to prevent stale UI 2022-02-13 15:18:54 +00:00
Andrew Kingston b94ed3d23b Add new setting component for configuring table column order and display names 2022-02-10 16:41:43 +00:00
Andrew Kingston a0c703288c Fix button layout in drawers 2022-02-10 11:46:57 +00:00