Commit Graph

205 Commits

Author SHA1 Message Date
Andrew Kingston a6bf8084e7 Automatically migrate old apps server-side when importing or using templates 2022-08-24 21:35:24 +01:00
Andrew Kingston 210fc143ee Fix pasting inside different screens and select new screen when pasting inside different screen 2022-07-15 13:09:37 +01:00
Andrew Kingston be76f9ebfb Allow pasting multiple times after copying when not cutting 2022-07-15 13:09:32 +01:00
Andrew Kingston b82c57fac8 Remove debug logs and add comments 2022-07-15 13:09:28 +01:00
Andrew Kingston f00d441f8e Move screen setting updates into store and use patches. Make screen settings generic 2022-07-15 13:09:23 +01:00
Andrew Kingston e46f64a166 Update screen settings to use patches 2022-07-15 13:09:19 +01:00
Andrew Kingston d5b8ddafaf Ensure state never gets out of sync when saving app metadata by using server response to update state 2022-07-15 13:09:13 +01:00
Andrew Kingston 2a240b1831 Use patch for all component methods, add core component patch function, add component move functions to store 2022-07-15 13:09:09 +01:00
Andrew Kingston bfefae0e5f Update cut+paste so cut doesn't actually remove the component from the tree and use new patch function 2022-07-15 13:08:55 +01:00
Andrew Kingston 64ca62f8d8 Use patch when deleting components 2022-07-15 13:08:50 +01:00
Andrew Kingston 283de4b673 Use patch when creating new components 2022-07-15 13:08:44 +01:00
Andrew Kingston 07c04e3093 Remove deprecated layout logic 2022-07-15 13:08:38 +01:00
Andrew Kingston fa42acaaf8 Reduce state updates when selecting layouts 2022-07-15 13:08:32 +01:00
Andrew Kingston da41c6d96a Use patch when detaching screen custom layouts 2022-07-15 13:08:25 +01:00
Andrew Kingston 6b85700fff Use patches when updating homescreens 2022-07-15 13:08:20 +01:00
Andrew Kingston 3e4cf89765 Add screen patch store method and reduce state updates when deleting screens 2022-07-15 13:08:04 +01:00
Andrew Kingston 55fb91a1ae Reduce state updates while saving screens 2022-07-15 13:07:35 +01:00
Andrew Kingston 75ed8feb92 Reduce state updates when selecting screens 2022-07-15 13:06:43 +01:00
Andrew Kingston 64990ca11a Lint 2022-06-29 09:09:44 +01:00
Andrew Kingston 1dd0528b17 Update autoscreen link creation and deletion to use new app level navigation settings 2022-06-22 15:42:08 +01:00
Andrew Kingston 955c7b0600 Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-06-22 12:49:46 +01:00
Andrew Kingston 56187d0d39 Fix logic around deleting autoscreens and autoscreen links 2022-06-16 11:46:53 +01:00
Andrew Kingston 15c28bcb8f Merge branch 'develop' of github.com:Budibase/budibase into new-design-ui 2022-06-15 15:32:33 +01:00
Andrew Kingston 48dc729f9a
Merge pull request #6309 from Budibase/builder-focus-updates
Builder focus updates
2022-06-15 11:07:46 +01:00
Andrew Kingston bc2c665ba3 Remove unnecessary code 2022-06-14 14:05:35 +01:00
Andrew Kingston c052303eee Save highlighted setting key in store and show as highlighted until unmounted or changed 2022-06-14 14:05:28 +01:00
Andrew Kingston 22df82dd9d Revert focus specific logic in other components and simplify 2022-06-13 16:11:12 +01:00
Rory Powell 05f0393310 Merge branch 'release' into merge-release 2022-06-13 11:45:18 +01:00
Rory Powell 14e9fb4505 Remove ui events except for component created and view published app 2022-06-06 12:51:22 +01:00
Rory Powell 4cdfb3c110 Remove todos 2022-06-06 11:11:13 +01:00
Dean 0c25ecbf21 Component Cypress tests and fixes 2022-05-31 22:57:33 +01:00
Dean dbbf7afcd0 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 702b62f8e6 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 f82316561a Refactored the approach to builder focus. Extending the behaviour beyond form fields 2022-05-23 16:12:56 +01:00
Andrew Kingston 123f091730 Lint 2022-05-23 11:56:15 +01:00
Andrew Kingston 74266702bc Update component drag and drop to perform better 2022-05-22 15:34:06 +01:00
Dean 93f90405cf 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 47631a47e7 Disable new screens settings when viewing an old screen and correctly upgrade all screen settings when detaching from custom layouts 2022-05-16 08:48:03 +01:00
Andrew Kingston b488293e92 Add warning to navigation section when using an old screen with a custom layout, and allow upgrading 2022-05-13 13:50:15 +01:00
Andrew Kingston b041700ea8 Remove concept of frontend preview types 2022-05-12 09:46:21 +01:00
Andrew Kingston 8331b72b1a Remove currentView flag from builder store 2022-05-12 09:42:57 +01:00
Andrew Kingston 5f7940d9a1 Render screenslot when showing legacy layouts and remove concept of preview type 2022-05-12 09:42:25 +01:00
Andrew Kingston 343f28bbe1 Add initial layouts panel and add explicit panels for theme and navigation tabs 2022-05-11 12:47:24 +01:00
Andrew Kingston 914a94b695 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 90436a0167 Automatically update old apps with new navigation settings based on old layouts 2022-05-10 16:20:28 +01:00
Andrew Kingston 1d9b053efc Add link settings to new navigation tab 2022-04-27 17:50:01 +01:00
Andrew Kingston 944e7a0343 Add ability to set home screens and fix issue with sorting screens 2022-04-27 11:36:47 +01:00
Andrew Kingston c22ffb9f52 Don't show selected components unless the components tab is active and automatically route to components whenever selecting on in the preview 2022-04-27 08:47:06 +01:00
Andrew Kingston 53f3a4755b Add back in working component tree with scrolling and dropdown menus 2022-04-26 13:44:21 +01:00
Andrew Kingston a1a4dca420 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