Commit Graph

52 Commits

Author SHA1 Message Date
Andrew Kingston 5b2ff31e73 Add ability to eject blocks into raw components 2022-06-30 19:31:25 +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
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 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 4ef06ea6c1 Merge branch 'develop' of github.com:Budibase/budibase into copy-paste-improvements 2022-03-08 13:35:35 +00:00
Andrew Kingston e84e4f9899 Add duplicate action to settings bar 2022-03-07 14:05:26 +00:00
Andrew Kingston 91b698cfe1 Properly remove window event listener when unmounting component preview 2022-03-07 10:17:05 +00:00
Andrew Kingston 891bdefcb7 Remove all obscure error handling from stores and move it to the display level 2022-01-24 18:40:06 +00:00
Andrew Kingston ff97e5af43 Update builder to reference assets in frontend core 2022-01-20 09:41:05 +00:00
Andrew Kingston adae966769 Remove legacy performance hack of remove _revs from component definitions as this was sometimes leading to invalid JSON, preventing the app from loading 2021-12-06 17:59:23 +00:00
Andrew Kingston cd5d370e7b Allow using JSON field arrays as a data provider source and add data bindings for nested JSON fields 2021-12-06 11:41:17 +00:00
Andrew Kingston f14e6d8e22 Remove unused client event for iframe-loaded 2021-11-16 13:15:31 +00:00
Andrew Kingston 2adbaea026 Merge develop into editable text lab day 2021-11-16 11:14:46 +00:00
Martin McKeaveney 7cf916a00d code review, simplify iframeTemplate 2021-11-10 12:12:33 +01:00
Martin McKeaveney 0cc2069929 fixes for templates, ensured iframetemplate fires ready event 2021-11-09 17:40:31 +01:00
Martin McKeaveney fddf52ad45 remove comment 2021-11-09 12:25:02 +01:00
Martin McKeaveney 72eb24b0fa formatting 2021-11-09 12:24:18 +01:00
Martin McKeaveney cb459bc877 adding flags for messagePassing 2021-11-09 12:15:29 +01:00
Martin McKeaveney 1219c53250 fix safari 2021-11-04 17:24:56 +01:00
Andrew Kingston de163567f5 Move keyboard handling into client library so that component deletion via keyboard can reference client app state 2021-10-28 13:00:55 +01:00
Andrew Kingston b0b0268b7d Give up on attempting to get jest to work with BBUI, change strategy for showing notifications when deleting invalid components 2021-10-04 16:50:52 +01:00
Andrew Kingston e625d2e4a3 Reduce duplication in move componment handler from dnd callback 2021-09-16 17:39:39 +01:00
Andrew Kingston fdef6d1e89 Merge branch 'develop' of github.com:Budibase/budibase into dnd 2021-09-16 17:34:40 +01:00
Andrew Kingston 110fd1d5af Fix intermittent crash due to invalid iframe reference when hot reloading 2021-09-16 16:27:19 +01:00
Andrew Kingston d86e5718d5 Prevent DND if target is a child of source 2021-09-16 07:35:19 +01:00
Andrew Kingston 0ce0f5c823 Add initial DND implementation with working functionality for dropping inside components 2021-09-16 07:28:59 +01:00
Martin McKeaveney a575af5e4a Merge pull request #2120 from mslourens/delete_component_with_keyboard
Delete component with keyboard
2021-09-15 16:48:38 +01:00
Andrew Kingston 3b3df86e4d Leave builder preview always the same size and depend on app to resize itself 2021-09-07 16:02:47 +01:00
Andrew Kingston fbbeccc0a1 Add preview device selection buttons and pass device preview down to client app 2021-09-07 16:02:11 +01:00
Andrew Kingston 04a26f3344 Hide state action in old apps and add working basic implementation of theming 2021-09-02 11:38:41 +01:00
Maurits Lourens 378760074f only show delete confirmation when no input or textarea is focussed 2021-08-31 15:46:30 +02:00
Maurits Lourens e476b15d42 replace 'replaceAll' with 'replace' and a regular expression 2021-08-24 08:51:38 +02:00
Maurits Lourens 7173be59c6 remove event listeners prevents memory leaks 2021-07-26 23:53:11 +02:00
Maurits Lourens 1497f3f680 delete component using the keyboard 2021-07-26 23:48:59 +02:00
Andrew Kingston cc7b07a020 Use client features to determine when to show client preview on initial load 2021-07-07 13:54:44 +01:00
Andrew Kingston ac99f7a23b Update develop with master bugfix and add comments to explain loading events 2021-07-07 13:21:30 +01:00
Andrew Kingston 67ffb2d96d Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-07 13:16:26 +01:00
Andrew Kingston ef88c740b2 Fix iframe preview loading bug in old client library versions 2021-07-07 13:09:33 +01:00
Andrew Kingston 07ea6469fd Add error handling to builder preview and loading indicator 2021-07-07 11:10:23 +01:00
Andrew Kingston 9b9bda1fb4 Add error handling to builder preview and loading indicator 2021-06-30 19:37:03 +01:00
Andrew Kingston f2be9501d3 Add global app theme picker and use it in client preview 2021-06-28 12:55:11 +01:00
Andrew Kingston 098131099d Add new typography settings, add new settings bar dropdowns, add settings bar to text components 2021-06-23 14:21:37 +01:00
Andrew Kingston 38e064fa0f Fix all eslint issues 2021-06-15 19:36:56 +01:00
Andrew Kingston 65e7453fbf 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 888f6cf398 Move settings bar into client library and allow configuration from manifest.json 2021-06-08 08:00:54 +01:00
Andrew Kingston 1712f559aa Update routing to serve any builder routes under /app so that envoy can proxy correctly 2021-05-06 16:39:34 +01:00