Commit Graph

224 Commits

Author SHA1 Message Date
Andrew Kingston b82a34d7e1 Tidy up 2023-07-25 15:35:58 +01:00
Adria Navarro 4c3bfdd8b2 Map datasource 2023-07-25 15:54:10 +02:00
Andrew Kingston b8bc25a39a Merge branch 'develop' of github.com:Budibase/budibase into global-bindings 2023-07-25 09:43:58 +01:00
Dean b6caebe431 Merge remote-tracking branch 'origin/develop' into feature/app-settings-section 2023-06-26 15:51:31 +01:00
melohagan 8325b5bb1e Add count to duplicate errors (#10920)
* Add count to duplicate errors

* Lint: Remove unused prop
2023-06-23 18:34:05 +01:00
Dean 2304032423 Added embed state, behaviours and event tracking to client app. UI/UX Refactoring 2023-06-16 12:30:08 +01:00
Andrew Kingston b3e23562f0 Update in builder preview to be a full screen overlay rather than opening in a new tab 2023-06-08 15:12:50 +01:00
Andrew Kingston d03f96ceb8 Make all blindings global and improve client component performance 2023-04-28 09:03:09 +01:00
Andrew Kingston f2b12bcf45 Component error state improvements (#10136)
* Tidy logic for creating initial component instances

* Add initial implementation of enriching empty settings

* Fix regression that prevented custom placeholders from working (#9994)

* Tidy up

* Add automatic naming of form fields when added

* Update missing required setting placeholder

* Improve error states and add ability to automatically wrap a component in a required parent type

* Fix crash in column editor and rename component placeholder to error state

* Select the parent component after adding it when wrapping a component with a missing ancestor

* Fix blocks and make fields require forms

* Improve empty component placeholder

* Lint
2023-03-28 21:11:33 +01:00
Dean c914ded42c Feedback updates 2023-03-28 11:18:49 +01:00
Dean bfd7e49c72 Template fixes and updates to the file picker. Error handling added to display a warning when navigating to an unpublished or invalid app url. 2023-03-21 09:20:43 +00:00
melohagan 6a6bbb38c4 Support navigate to link in new tab (#9800)
* Support navigate to link in new tab

* Add dropdown for Navigate To type

* lint

* Remove labels
2023-03-01 17:41:50 +00:00
Andrew Kingston aacfe297bc Debounce hiding side panel to avoid toggling visibility when cycling through records 2022-12-06 09:55:42 +00:00
Gerard Burns ffa3eede49 Public App Missing Nav Menu (#8870)
* Public App Missing Nav Menu

* PR Feedback
2022-12-02 09:24:20 +00:00
Andrew Kingston c868cda7dd Remove automatic closing of side panel when screen changes as no longer needed 2022-11-22 15:51:57 +00:00
Andrew Kingston 64828e3b06 Close side panel whenever screen changes 2022-11-17 14:18:17 +00:00
Andrew Kingston 058547fd67 Add initial version of side panel component 2022-10-27 08:08:35 +01:00
Andrew Kingston c111f02e70 Improve client grid DND event handling 2022-10-24 09:38:07 +01:00
Andrew Kingston a11854d957 Fix issue with getting environment details 2022-10-24 09:13:05 +01:00
Andrew Kingston ce78c5ecb9 Refactor app preview event sending to support async callbacks in client library 2022-10-24 09:02:50 +01:00
Andrew Kingston 4dc6b869a8 Lint and improve comments 2022-10-21 16:59:26 +01:00
Andrew Kingston 794db1a7db 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 1dffcd8d6c Update how grid DND styles are applied to remove flashing 2022-10-20 08:43:33 +01:00
Andrew Kingston 9a94e9da7c 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 a870d2473d Allow grid DND without selecting components 2022-10-18 18:29:21 +01:00
Andrew Kingston 15bbc78847 Add grid functionality separately to DND 2022-10-18 16:18:22 +01:00
Andrew Kingston 774566d03b Merge branch 'dnd-improvements' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-10-18 08:12:11 +01:00
Andrew Kingston dabc93e1b6 Fix unused plugins not being able to be dragged into the preview 2022-10-14 19:39:38 +01:00
Andrew Kingston 1a210e3ee6 Fix issues dropping components from new component panel 2022-10-14 18:24:47 +01:00
Andrew Kingston 2ffb29dddf Invert some client store dependencies to improve performance and prevent dependency cycles 2022-10-14 18:16:19 +01:00
Andrew Kingston 4e94b6633f 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 a71a553ee6 Add ability to drag new components into the preview 2022-10-14 13:37:14 +01:00
Andrew Kingston 29fdaab5fd Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-14 08:54:47 +01:00
Rory Powell 2f0f36e635 Merge branch 'master' into merge-master 2022-10-12 10:19:46 +01:00
Andrew Kingston f7d6e8db60 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 e90a79257f Remove dragged component from consideration of drop target 2022-10-10 14:00:37 +01:00
Mel O'Hagan 5b9befcefe Allow deleteComponent from settings bar 2022-10-10 13:36:32 +01:00
Andrew Kingston 73a206e2f1 Fully remove source component from client tree while dragging 2022-10-10 09:51:13 +01:00
Andrew Kingston 09f2cc1f72 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 eb1dbc7302 Hide the selected component when dragging 2022-10-07 14:34:47 +01:00
Andrew Kingston a0ab832995 Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-07 14:16:24 +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
Andrew Kingston c4bb3ac014 Only explode components when dragging over them 2022-10-07 08:20:51 +01:00
Andrew Kingston bb8388133a Rewrite drag and drop from scratch using mouse position heuristics 2022-10-07 08:05:44 +01:00
Andrew Kingston 9c82a9d073 Don't clear drop target on invalid selection 2022-10-06 09:17:26 +01:00
Andrew Kingston ef9650136a Hot reload custom component settings in the builder 2022-09-30 16:26:15 +01:00
Andrew Kingston 3b4027b873 Fetch environment info early in the client app initialisation process 2022-09-30 12:31:16 +01:00
Andrew Kingston 45627661f1 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-09-20 17:23:52 +01:00
Rory Powell 00cef3a047 Don't show budibase logo on free plan in self hosted installations 2022-09-15 13:22:17 +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
Andrew Kingston 1f1f482f9d 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 881024ca60 Remove further usages of plugin versions 2022-09-02 19:52:52 +01:00
Andrew Kingston 166064f6df Don't clear grid dnd state when loading client library 2022-08-26 14:47:29 +01:00
Andrew Kingston b839325a86 Add initial work on grid layout 2022-08-26 08:47:50 +01:00
Andrew Kingston 06eee0d386 Make block ejection work properly via the builder rather than client app button hack 2022-08-23 19:05:38 +01:00
Andrew Kingston 6716f5e978 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-eject-blocks 2022-08-23 15:34:25 +01:00
Andrew Kingston 2961b0ed89 Remove logging and expect version to be passed in top level when initialising plugins 2022-08-22 18:30:13 +01:00
Andrew Kingston e6a15c9cdd 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 bec08eecc8 Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-22 17:54:25 +01:00
Andrew Kingston 19c99f4390 Allow configuring whether notification is automatically dismissed or not 2022-08-22 11:08:52 +01:00
Andrew Kingston 2c87d6e340 Initial work on websockets 2022-08-19 11:09:20 +01:00
Andrew Kingston 32025ef76d Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-17 16:13:27 +01:00
Andrew Kingston 3caae00d38 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 8c227c0edd Simply logic around handling runtime reloading of custom components 2022-08-12 14:02:11 +01:00
Andrew Kingston f0d17b2039 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-11 17:05:58 +01:00
Andrew Kingston 3b3d48196e Transparently hot reload app preview when inserting a custom component bundle and reload relevant components 2022-08-11 17:05:42 +01:00
mike12345567 c9c468a424 Merge branch 'plugins-dev-experience' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-11 16:36:07 +01:00
mike12345567 76d427001a Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience 2022-08-11 16:34:01 +01:00
Andrew Kingston f00d860d9c Use full component names for custom components in client library 2022-08-11 15:27:51 +01:00
Andrew Kingston eab1b93c24 Update client library to full handle custom components 2022-08-10 15:34:00 +01:00
Rory Powell 500e697974 Trigger served events on ping endpoint 2022-08-10 11:01:54 +01:00
Andrew Kingston 8758f6b49a Add support for custom themes in client apps 2022-07-29 13:33:04 +01:00
Andrew Kingston a4847a471c Add keyboard shortcuts for components. Improve component reordering 2022-07-29 13:33:02 +01:00
Mel O'Hagan c88995244f Remove timeoutIds 2022-07-28 09:39:24 +01:00
Mel O'Hagan 3b1edf2bdb lint 2022-07-20 13:55:12 +01:00
Mel O'Hagan cc5920da12 Add notification store timeouts 2022-07-20 13:54:45 +01:00
Mel O'Hagan 6e9ece3cd7 Allow client notifications to be stacked 2022-07-20 13:41:18 +01:00
Andrew Kingston 80018e9668 Visually hide components when cutting but do not remove from real definition 2022-07-15 13:09:43 +01:00
Andrew Kingston 5b2ff31e73 Add ability to eject blocks into raw components 2022-06-30 19:31:25 +01:00
Andrew Kingston 0c7b5362e0 Move screen ranking and sorting logic to screen store 2022-06-17 10:18:39 +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 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 c6dbd52c88 Show devtools even in client app error states, to fix being locked out when changing to a public preview 2022-06-09 15:55:59 +01:00
Andrew Kingston 12961806ff Invalidate cached API responses when bad response statuses are recevied and invalidate entire API cache when switching role 2022-06-09 15:33:41 +01:00
Andrew Kingston 9d26b06958 Improve logic around dev tools roles and its usages. Ensure dev tools roles are never used in builder preview 2022-06-09 15:03:43 +01:00
Andrew Kingston 3d1c5111e9 Add role setting to navigation links to allow easily customising which roles see which links 2022-06-09 14:28:02 +01:00
Andrew Kingston 6e83c96236 Show empty screen placeholder with a CTA to add a component 2022-06-07 13:41:17 +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
Rory Powell 4841c84861 Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-23 10:29:33 +01:00
Andrew Kingston 8cdbb690eb Add icons to app preview selection indicators 2022-05-17 14:33:12 +01:00
Andrew Kingston 550511d404 Render screenslot when showing legacy layouts and remove concept of preview type 2022-05-12 09:42:25 +01:00
Andrew Kingston 78b5e7707d Add screen width setting with backwards compatibility 2022-05-10 14:54:53 +01:00
Andrew Kingston 28fcf18559 Hide dev tools when in screen peek modal 2022-05-06 14:09:35 +01:00
Andrew Kingston 85a619c6ea Automatically go to navigation section when clicking navigation in preview 2022-05-06 13:59:16 +01:00
Andrew Kingston eb4d8d5e52 Add full navigation settings panel in new design UI. Remove navigation theme settings from theme panel 2022-05-06 13:51:27 +01:00
Andrew Kingston 1db3ae2974 Add support for instant updating of navigation settings in client apps 2022-04-28 17:30:48 +01:00
Andrew Kingston d94b30cb1e Fix issue loading app previews 2022-04-28 12:18:08 +01:00