Commit Graph

157 Commits

Author SHA1 Message Date
Andrew Kingston ce532cc403 Improve client grid DND event handling 2022-10-24 09:38:07 +01:00
Andrew Kingston 9097b33fc9 Fix issue with getting environment details 2022-10-24 09:13:05 +01:00
Andrew Kingston 8d644c5a10 Refactor app preview event sending to support async callbacks in client library 2022-10-24 09:02:50 +01:00
Andrew Kingston e124a70def Lint and improve comments 2022-10-21 16:59:26 +01:00
Andrew Kingston 9d10e938a4 Make DND feel much smoother by persisting the end position of drops, and more performance by properly memoizing some state values 2022-10-21 16:54:34 +01:00
Andrew Kingston 1508a5dc3b Update how grid DND styles are applied to remove flashing 2022-10-20 08:43:33 +01:00
Andrew Kingston 0c2e286ca7 Use a container as the DND placeholder and use approx size when dragging into grids 2022-10-19 14:39:28 +01:00
Andrew Kingston 465d10a8be Allow grid DND without selecting components 2022-10-18 18:29:21 +01:00
Andrew Kingston 0e63a403bc Add grid functionality separately to DND 2022-10-18 16:18:22 +01:00
Andrew Kingston c21a7b3e89 Merge branch 'dnd-improvements' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-10-18 08:12:11 +01:00
Andrew Kingston adc7e8e5fc Fix unused plugins not being able to be dragged into the preview 2022-10-14 19:39:38 +01:00
Andrew Kingston 78a5f9c891 Fix issues dropping components from new component panel 2022-10-14 18:24:47 +01:00
Andrew Kingston d02fb96e6e Invert some client store dependencies to improve performance and prevent dependency cycles 2022-10-14 18:16:19 +01:00
Andrew Kingston 23eb09ab6a Don't reset component padded state for DND until dragging stops, to prevent jankiness due to losing space 2022-10-14 15:45:02 +01:00
Andrew Kingston d997afffc0 Add ability to drag new components into the preview 2022-10-14 13:37:14 +01:00
Andrew Kingston 2c8dd09a56 Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-14 08:54:47 +01:00
Rory Powell ef433633b2 Merge branch 'master' into merge-master 2022-10-12 10:19:46 +01:00
Andrew Kingston b5d50a71d7 Improve DND experience, use correct size of drop placeholder and don't drop if the position is unchanged 2022-10-11 16:02:09 +01:00
Andrew Kingston 0dd245c21c Remove dragged component from consideration of drop target 2022-10-10 14:00:37 +01:00
Mel O'Hagan 1b4531ec29 Allow deleteComponent from settings bar 2022-10-10 13:36:32 +01:00
Andrew Kingston 90172ec2a1 Fully remove source component from client tree while dragging 2022-10-10 09:51:13 +01:00
Andrew Kingston ab4eebc0cf Reduce jank by computing symmetrical component breakpoint whens considering DND candidate positions and ignoring the hidden selected component 2022-10-07 20:00:25 +01:00
Andrew Kingston 4a0be4523b Hide the selected component when dragging 2022-10-07 14:34:47 +01:00
Andrew Kingston cea2a4cecf Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-07 14:16:24 +01:00
Andrew Kingston e41078f265 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-10-07 11:31:32 +01:00
Andrew Kingston 9df86362b9 Only explode components when dragging over them 2022-10-07 08:20:51 +01:00
Andrew Kingston 4322345aca Rewrite drag and drop from scratch using mouse position heuristics 2022-10-07 08:05:44 +01:00
Andrew Kingston 428b786184 Don't clear drop target on invalid selection 2022-10-06 09:17:26 +01:00
Andrew Kingston de536d6f26 Hot reload custom component settings in the builder 2022-09-30 16:26:15 +01:00
Andrew Kingston 3f80c02038 Fetch environment info early in the client app initialisation process 2022-09-30 12:31:16 +01:00
Andrew Kingston 2c3f02347e Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-09-20 17:23:52 +01:00
Rory Powell c8789412e2 Don't show budibase logo on free plan in self hosted installations 2022-09-15 13:22:17 +01:00
Andrew Kingston 3bfc91135c Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-09-13 11:31:45 +01:00
Andrew Kingston 0c7e8c2033 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-09-02 19:53:49 +01:00
Andrew Kingston b20f6b3d33 Remove further usages of plugin versions 2022-09-02 19:52:52 +01:00
Andrew Kingston c2efdd059e Don't clear grid dnd state when loading client library 2022-08-26 14:47:29 +01:00
Andrew Kingston 16c9c6c0dc Add initial work on grid layout 2022-08-26 08:47:50 +01:00
Andrew Kingston 80bcfd2692 Make block ejection work properly via the builder rather than client app button hack 2022-08-23 19:05:38 +01:00
Andrew Kingston 66fc18566a Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-08-23 15:34:25 +01:00
Andrew Kingston 8148004d55 Remove logging and expect version to be passed in top level when initialising plugins 2022-08-22 18:30:13 +01:00
Andrew Kingston 668362d41a Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience-websocket 2022-08-22 17:54:40 +01:00
Andrew Kingston f14af4bae9 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-22 17:54:25 +01:00
Andrew Kingston acc71cb0e9 Allow configuring whether notification is automatically dismissed or not 2022-08-22 11:08:52 +01:00
Andrew Kingston dced5d1c0f Initial work on websockets 2022-08-19 11:09:20 +01:00
Andrew Kingston 59b3bed470 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-17 16:13:27 +01:00
Andrew Kingston 82ca88ad28 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-keyboard-shortcuts-develop 2022-08-17 14:20:34 +01:00
Andrew Kingston a7c424550c Simply logic around handling runtime reloading of custom components 2022-08-12 14:02:11 +01:00
Andrew Kingston ac8e4ecaeb Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-11 17:05:58 +01:00
Andrew Kingston 3a07002310 Transparently hot reload app preview when inserting a custom component bundle and reload relevant components 2022-08-11 17:05:42 +01:00
mike12345567 ba16af1daa Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-11 16:36:07 +01:00