Commit Graph

82 Commits

Author SHA1 Message Date
Andrew Kingston 40c6976035 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-devtools 2022-02-24 14:03:29 +00:00
Andrew Kingston ae9a5b19c0 Simply and improve core client library logic 2022-02-01 16:32:37 +00:00
Andrew Kingston 5aa52f4b9d Remove log statements 2022-02-01 11:55:31 +00:00
Andrew Kingston 7c514df39d Cache the determination of client component settings and simplify initialisationlogic 2022-01-31 18:54:04 +00:00
Andrew Kingston e7b02aec04 Add experimental support for caching the creation of HBS template functions 2022-01-29 18:53:21 +00:00
Andrew Kingston 542dc6db2f Fix issue with multiple enrichments before components mount without affecting other components 2022-01-25 11:22:26 +00:00
Andrew Kingston 2290652b27 Fix rare issue which could occur when enriching component props twice before an initial render has taken place 2022-01-24 19:25:19 +00:00
Andrew Kingston e3b8e44eeb Update remaining dependency issues in client 2022-01-20 10:16:13 +00:00
Andrew Kingston 71cf06e6f4 Update remaining usage of API in client library 2022-01-20 09:57:57 +00:00
Andrew Kingston 910c58b41d Lint 2021-12-17 10:43:27 +00:00
Andrew Kingston 492c2acc9a Remove initial render of components with undefined props by passing in initial props without triggering svelte invalidation 2021-12-17 09:18:07 +00:00
Andrew Kingston 460d9f8c8d Update core component handling to use svelte function to manually control props in order to avoid triggering additional reactive statements and improve performance 2021-12-17 08:22:40 +00:00
Andrew Kingston 29c5e6c243 Add devtools to app preview and add ability to preview apps as different roles 2021-11-26 13:25:02 +00:00
Andrew Kingston 2ab40d51dc Update logic for determining whether to show empty state or not 2021-11-18 20:38:55 +00:00
Andrew Kingston df29ad1092 Be more explicit about the boolean nature of component settings in the manifest and add back in a render key to fix toggling contenteditable attribute on dom elements 2021-11-18 20:32:42 +00:00
Andrew Kingston c2bf1de547 Fix crash when component definition is not found 2021-11-18 14:24:10 +00:00
Andrew Kingston 9fea436cc2 Remove log statements 2021-11-16 17:52:14 +00:00
Andrew Kingston 9aa03c39ba Optimise core memoization of client component props to improve performance significantly 2021-11-16 16:29:31 +00:00
Andrew Kingston d13170ff57 Disable drag and drop for components in the selected path when edit mode is enabled to fix firefox issue with text selection when draggable attribute is set 2021-11-16 13:17:34 +00:00
Andrew Kingston 1cfb0f467d Prevent dragging of a component while being edited 2021-11-16 11:46:46 +00:00
Andrew Kingston 638972804d Merge develop into editable text lab day 2021-11-16 11:14:46 +00:00
Andrew Kingston 07f15c5759 Add data block component 2021-11-12 15:19:25 +00:00
Andrew Kingston aa56d6fd63 Add card list with search block. Add concept of nested settings which can consume their own contexts and are not enriched at the top level 2021-11-08 14:35:58 +00:00
Andrew Kingston 808d2d0f73 Add generic block structure with support for writing blocks like normal svelte components rather than a JSON builder 2021-11-02 08:45:27 +00:00
Andrew Kingston 90403948dd Fix issue editing components in the preview when nested inside another draggable component 2021-10-28 15:52:07 +01:00
Andrew Kingston 7c16a1423b Allow in-preview editing of paragraphs and headings 2021-10-28 12:43:31 +01:00
Andrew Kingston cae514ca06 Simplify client app component re-render keying 2021-09-20 15:41:20 +01:00
Andrew Kingston 9634b021a5 Refactor client app data tags to be classnames and simplify logic 2021-09-20 15:34:51 +01:00
Andrew Kingston f65b374622 Remove preview specific data tags from components when running real apps 2021-09-20 12:16:23 +01:00
Andrew Kingston 03be8ee153 Prevent DND targetting either above or below the screen/layout, and fix bug determinging whether a drop target is valid 2021-09-20 09:12:35 +01:00
Andrew Kingston c2aeefae7b Only allow dropping inside empty components that accept children to massively reduce the amount of unwanted drop targets due to parent container components 2021-09-20 08:26:44 +01:00
Andrew Kingston 8460744e68 Apply grab cursor when hovering over a draggable component 2021-09-17 14:30:54 +01:00
Andrew Kingston a05dc7e295 Add above/below dnd and support for dropping above/below components which also allow dropping inside 2021-09-16 14:28:44 +01:00
Andrew Kingston b0f6bd9e76 Prevent dragging the screen or layout components, and prevent dragging any layout components when previewing a screen 2021-09-16 07:52:49 +01:00
Andrew Kingston 4be4dd014d Add initial DND implementation with working functionality for dropping inside components 2021-09-16 07:28:59 +01:00
Andrew Kingston 9e5805f092 Merge standard-components into the client library 2021-09-01 11:41:48 +01:00
Andrew Kingston 8c114fae34 Show component hidden by conditional UI if they would otherwise hide the selected component 2021-08-23 14:01:57 +01:00
Andrew Kingston 10066bf3e0 Fix dependency loop in client stores 2021-08-20 09:27:38 +01:00
Andrew Kingston caccba8fd8 Simplify logic for determine default visibility for a conditional UI component 2021-07-26 13:16:45 +01:00
Andrew Kingston 24f6adbcca Add initial work on dynamically updating any setting via conditional UI 2021-07-22 19:19:37 +01:00
Andrew Kingston e721d4e01d Add initial work on evaluation of conditional UI conditions in client library 2021-07-21 14:03:49 +01:00
Andrew Kingston 171b4c9f9f Aggressively optimise client library to prevent handlebars enrichment where possible 2021-06-25 15:04:27 +01:00
Andrew Kingston 9f8eeb7c99 Remove transition setting from components 2021-06-18 12:41:15 +01:00
Andrew Kingston 440e80e890 Prevent hovering over layout components when editing screens 2021-06-11 13:34:37 +01:00
Andrew Kingston 7d87befe13 Allow user styles to override placeholder styles 2021-06-11 09:14:22 +01:00
Andrew Kingston 72dfa1ba1b Add manifest option to prevent showing component empty states 2021-06-11 08:49:06 +01:00
Andrew Kingston 3b085d9ac3 Add placeholders and empty states automatically as required to any empty client components 2021-06-11 08:05:49 +01:00
Andrew Kingston ba1908f7f9 Render builder preview selection indicators via top level component instead of via styleable healper. Add indiciator on hover and add name to indicator 2021-06-08 14:19:03 +01:00
Andrew Kingston 41f87f0354 Move settings bar into client library and allow configuration from manifest.json 2021-06-08 08:00:54 +01:00
Andrew Kingston c6827e8a75 Improve client performance and add action to control data provider queries 2021-06-01 14:59:42 +01:00