Commit Graph

3287 Commits

Author SHA1 Message Date
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 575636ed3d Fix components being selected when starting dragging 2022-10-21 16:52:46 +01:00
Dean 59105b4b8a Merge remote-tracking branch 'origin/master' into fix/multipicker-default-behaviour 2022-10-21 15:36:16 +01:00
Dean 6e7ba0d33a Merge remote-tracking branch 'origin/develop' into feature/chart-block-component 2022-10-21 14:21:25 +01:00
Dean 2dba5d18cd Initial commit for chart block component 2022-10-21 14:20:40 +01:00
Andrew Kingston 4ff441e83f Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-10-21 10:59:47 +01:00
Budibase Release Bot 69846d9ee1 v2.0.34 2022-10-21 09:58:52 +00:00
Martin McKeaveney a6c5079190
Merge pull request #8016 from Budibase/feature/redirect-after-modal-close
Allow screen redirect after modal close
2022-10-21 08:58:21 +01:00
Budibase Staging Release Bot 1e515ecaad v2.0.30-alpha.10 2022-10-20 21:11:31 +00:00
Budibase Staging Release Bot 60085b201e v2.0.30-alpha.9 2022-10-20 20:01:10 +00:00
Martin McKeaveney 9aaeaee7f8
Merge pull request #8307 from Budibase/fix/stop-screen-store-double-updating-on-page-change
Stop Screen Store Double Updating on Screen Change
2022-10-20 20:35:18 +01:00
Andrew Kingston fe631a251a Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-10-20 19:49:34 +01:00
Andrew Kingston fb84674e24 Add proper validation for nesting illegal combinations of components 2022-10-20 16:03:53 +01:00
Andrew Kingston b6f640b117 Ensure a fixed height is set on grid by default 2022-10-20 08:46:42 +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 803b11d65f Fix resizing not working inside grids 2022-10-19 13:16:42 +01:00
Budibase Release Bot 5e31270a2d v2.0.33 2022-10-19 11:15:01 +00:00
Andrew Kingston 4e17942a1d Allow normal DND in and out of grid children 2022-10-18 18:49:24 +01:00
Budibase Staging Release Bot a0da70381f v2.0.30-alpha.8 2022-10-18 17:43:08 +00:00
Andrew Kingston 465d10a8be Allow grid DND without selecting components 2022-10-18 18:29:21 +01:00
mike12345567 bd1300b82a Updating export/import to include the budibase client and manifest. 2022-10-18 16:42:25 +01:00
Dean 0e4a7ace08 Pushed default parsing up into the InnerForm component to ensure that invalid default values are removed entirely. Fixes for custom validation for array types 2022-10-18 16:24:36 +01:00
Andrew Kingston 0e63a403bc Add grid functionality separately to DND 2022-10-18 16:18:22 +01:00
Dean b31f7f4b87 Refactor for multiselect value parsing and a fix to ensure default values are parsed before reaching the picker 2022-10-18 11:06:18 +01:00
Gerard Burns ead76f6ace Stop Screen Store Double Updating on Screen Change 2022-10-18 10:10:46 +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
Budibase Release Bot a786d41903 v2.0.32 2022-10-17 16:43:56 +00:00
Andrew Kingston 5cdd6a692b Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-17 16:31:39 +01:00
Andrew Kingston da3202f3c3 Only transition padding when expanding components during DND, but remove it immediately on drop to avoid layout thrashing 2022-10-17 09:00:55 +01:00
Andrew Kingston 554b219d62 Use requestAnimationFrame for DND overlay placeholder updates to further improve performance 2022-10-17 08:48:32 +01:00
Andrew Kingston 3325b7b62b Update styles of padded DND components 2022-10-14 20:30:58 +01:00
Andrew Kingston d166cbb466 Lint and prevent scrolling to selected component when starting dragging 2022-10-14 19:45:47 +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 011ba26769 Fix DND not working in field groups and any other component where children are not rendered inside the first DOM node 2022-10-14 19:34:23 +01:00
Andrew Kingston 622553978b Use block name in placeholders inside blocks 2022-10-14 19:13:44 +01:00
Andrew Kingston 5f7e0cb895 Prevent showing placeholder dot when placeholder is invisible 2022-10-14 19:04:05 +01:00
Andrew Kingston bdae511371 Fix double empty state around blocks 2022-10-14 18:59:32 +01:00
Andrew Kingston 2d64ae59c6 Add default size for every component type 2022-10-14 18:59:23 +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
Budibase Release Bot a93d02d9e3 v2.0.31 2022-10-14 09:26:51 +00:00
Budibase Staging Release Bot 74511ef939 v2.0.30-alpha.7 2022-10-14 09:26:33 +00:00
Gerard Burns 3691fe2cc6
Page load actions now fire on parameter change as well as on mount (#8240)
* Page load actions now fire on parameter change as well as on mount

* PR Feedback

Co-authored-by: ger <ger@gers-MacBook-Pro.local>
2022-10-14 10:10:06 +01:00
Budibase Staging Release Bot 53731a9d2b v2.0.30-alpha.6 2022-10-14 09:04:02 +00:00
Andrew Kingston 2c8dd09a56 Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-14 08:54:47 +01:00
Budibase Staging Release Bot eae13e24a8 v2.0.30-alpha.5 2022-10-13 16:34:26 +00:00
deanhannigan bebeccef12
Merge pull request #8219 from Budibase/feature/blocks-in-auto-screens
Component Blocks in CRUD Auto-screens
2022-10-13 17:18:53 +01:00
Dean 7a2cd4403a Removed commented out barcode scanner config 2022-10-13 17:06:04 +01:00
Dean 2c2a98c163 Merge remote-tracking branch 'origin/develop' into feature/blocks-in-auto-screens 2022-10-13 16:54:55 +01:00
Budibase Staging Release Bot 3cd5107573 v2.0.30-alpha.4 2022-10-13 15:54:42 +00:00
Dean b3c1f9196e Merge remote-tracking branch 'origin/develop' into feature/blocks-in-auto-screens 2022-10-13 16:49:10 +01:00
Dean c162ad458c Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-13 16:16:28 +01:00
Andrew Kingston 30c17c9d8b Only show sortable fields for sort column settings 2022-10-13 15:58:44 +01:00
Budibase Staging Release Bot c083b3e3aa v2.0.30-alpha.3 2022-10-13 09:11:09 +00:00
Budibase Staging Release Bot d5b65426c0 v2.0.30-alpha.2 2022-10-12 19:07:36 +00:00
Budibase Release Bot ec85bd13ae v2.0.30 2022-10-12 16:58:49 +00:00
Budibase Staging Release Bot 6183bdb53e v2.0.30-alpha.1 2022-10-12 11:46:45 +00:00
Budibase Staging Release Bot d0200a093e v2.0.30-alpha.0 2022-10-12 10:30:23 +00:00
Rory Powell ef433633b2 Merge branch 'master' into merge-master 2022-10-12 10:19:46 +01:00
Budibase Release Bot 855990ae00 v2.0.29 2022-10-12 08:22:33 +00:00
Dean a39f6afde1 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-12 09:12:09 +01:00
Dean 1728a19cee Merge remote-tracking branch 'origin/develop' into feature/blocks-in-auto-screens 2022-10-12 09:04:05 +01:00
Budibase Release Bot fbc9af0c20 v2.0.28 2022-10-12 07:33:11 +00:00
Budibase Release Bot 2454379ed3 v2.0.27 2022-10-11 18:11:05 +00:00
Budibase Staging Release Bot 8b477356ce v2.0.24-alpha.4 2022-10-11 16:41:24 +00:00
Dean f5089e52c6 Initial commit, refactoring of autoscreens to incorporate blocks 2022-10-11 17:05:19 +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 f2d1730139 Improve column/row detection by appending an ephemeral child component and tune timings 2022-10-11 08:52:45 +01:00
Dean 6809bd72ed Ensure field type is preserved if it contains a slash. Some additional refactoring 2022-10-10 14:20:06 +01:00
Budibase Release Bot 15e6dc221a v2.0.26 2022-10-10 13:01:46 +00: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
Dean dc38ad03a0 Minor labelling change for field type 2022-10-10 11:40:34 +01:00
Budibase Release Bot 26095923b5 v2.0.25 2022-10-10 10:13:09 +00:00
Dean 806d832dff Code review updates 2022-10-10 10:39:34 +01:00
Andrew Kingston 90172ec2a1 Fully remove source component from client tree while dragging 2022-10-10 09:51:13 +01:00
Andrew Kingston c5b36863d2 Make DND work again by converting new parent+index params into old target+mode 2022-10-10 09:36:17 +01:00
Andrew Kingston 6cf3a0af5b Tune DND throttle rate 2022-10-10 09:22:47 +01:00
Dean 91e63ca2c9 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-10 09:08:48 +01:00
Andrew Kingston 9f7504c53f Reduce padding when dragging over a component tree and remove unused component class names 2022-10-08 15:32:36 +01:00
Andrew Kingston cf0891c911 Rename DND state variables for clarity 2022-10-08 15:28:22 +01:00
Andrew Kingston 6f73ecdc4c Fix row/column detection, add comments and remove old code 2022-10-08 15:18:05 +01:00
Andrew Kingston e9dfc9ad9f Throttle updates to prevent all jank and revert to component center breakboints for DND candidates 2022-10-08 15:04:18 +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
Budibase Release Bot e1180dfac0 v2.0.24 2022-10-07 17:16:16 +00:00
Budibase Staging Release Bot 2384896a1a v2.0.24-alpha.3 2022-10-07 16:45:27 +00: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
Budibase Staging Release Bot 553b534a11 v2.0.24-alpha.2 2022-10-07 12:28:52 +00:00
Andrew Kingston 7d25c3da10
Merge pull request #7456 from Budibase/form-block
Form block
2022-10-07 13:14:13 +01:00
Budibase Staging Release Bot 2b92accab5 v2.0.24-alpha.1 2022-10-07 11:56:02 +00:00
Andrew Kingston a13c309759 Merge branch 'develop' of github.com:Budibase/budibase into form-block 2022-10-07 12:45:53 +01:00
Andrew Kingston cb6a13fafd Fix issue with layout determination 2022-10-07 12:45:22 +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
Dean ad13bbb25c Renamed the 'Scanned Code' field type to 'Barcode/QR'. The component is also now listed as 'Barcode/QR Scanner'. Minor fix to include longform text columns in the table csv import list 2022-10-07 11:00:25 +01:00
Andrew Kingston fd3662e6b2 Improve row vs column detection to fix any edge cases 2022-10-07 08:46:38 +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
Budibase Staging Release Bot 0d274e3477 v2.0.24-alpha.0 2022-10-06 16:40:43 +00:00
mike12345567 ee5bb31508 Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-10-06 16:58:33 +01:00
Budibase Release Bot d185ab9bfc v2.0.23 2022-10-06 14:26:45 +00:00
Dean 4b5fa6a093 Review feedback changes. Changed 'Code' labelling to 'Scanned Code' 2022-10-06 13:02:17 +01:00
Dean e060db2929 UX/UI updates and rollup config changes to exclude common warnings 2022-10-06 09:54:43 +01:00
Andrew Kingston 428b786184 Don't clear drop target on invalid selection 2022-10-06 09:17:26 +01:00
Andrew Kingston ee4c5af1c9 Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-05 17:31:01 +01:00
Budibase Release Bot 9808688025 v2.0.22 2022-10-05 15:44:22 +00:00
Mel O'Hagan 9d67418bf2 Use OG class properties for iOS13 support 2022-10-05 15:53:06 +01:00
Budibase Release Bot cfebcbf1ab v2.0.21 2022-10-05 12:17:39 +00:00
Budibase Release Bot 224e33517c v2.0.20 2022-10-05 09:23:48 +00:00
Andrew Kingston 753e80b33b
Merge pull request #8124 from Budibase/plugin-url-updates
Plugin url updates
2022-10-05 09:57:22 +01:00
Dean 644d0f2bdd Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-05 09:29:32 +01:00
Dean 5836c2b3c4 Initial commit of QR Reader field 2022-10-05 09:28:07 +01:00
Budibase Release Bot 3059cd4634 v2.0.19 2022-10-04 16:57:55 +00:00
Andrew Kingston 22e949ee80 Remove log 2022-10-04 16:33:27 +01:00
Andrew Kingston fc19765628 Always use the raw server plugin JS URL 2022-10-04 16:27:15 +01:00
Budibase Release Bot a51545dd3e v2.0.18 2022-10-04 14:10:26 +00:00
Andrew Kingston 5684543752 Use raw server jsUrl when rendering plugins 2022-10-04 15:01:18 +01:00
Budibase Release Bot b6a758a2ae v2.0.17 2022-10-04 13:20:54 +00:00
Budibase Staging Release Bot ced67d9248 v2.0.14-alpha.4 2022-10-04 12:03:00 +00:00
Budibase Release Bot 4a652e173a v2.0.16 2022-10-04 11:04:16 +00:00
Budibase Staging Release Bot 668c2584ae v2.0.14-alpha.3 2022-10-04 09:55:49 +00:00
Budibase Release Bot ca0f857dbe v2.0.15 2022-10-04 09:48:22 +00:00
Budibase Staging Release Bot 7f233038ac v2.0.14-alpha.2 2022-10-03 10:01:53 +00:00
deanhannigan cf8b5be13e
Merge pull request #8014 from Budibase/feature/automation-log-filter-by-license
Feature/automation log filter by license
2022-10-03 10:49:24 +01:00
Budibase Staging Release Bot 230a667817 v2.0.14-alpha.1 2022-10-03 09:34:56 +00:00
Budibase Release Bot 3ae3d653b3 v2.0.14 2022-10-03 09:02:31 +00:00
Andrew Kingston 1b497861e3 Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-03 09:53:53 +01:00
Budibase Staging Release Bot 73138b4d57 v2.0.14-alpha.0 2022-10-01 14:59:33 +00:00
Budibase Release Bot 096820e096 v2.0.13 2022-09-30 16:48:54 +00:00
Budibase Release Bot 635a561ba2 v2.0.12 2022-09-30 15:51:16 +00:00
Andrew Kingston cb96c67c74 Ensure only one instance of the client websocket exists and reduce reconnection attemps 2022-09-30 16:26:19 +01:00
Andrew Kingston de536d6f26 Hot reload custom component settings in the builder 2022-09-30 16:26:15 +01:00
Andrew Kingston f43d5ea394 Show notification when a plugin is hot reloaded 2022-09-30 16:26:07 +01:00
Budibase Release Bot 33ded6e013 v2.0.11 2022-09-30 14:59:22 +00:00
Budibase Release Bot 3e4c3a8599 v2.0.10 2022-09-30 14:18:54 +00:00
Budibase Release Bot 6d598aa36b v2.0.9 2022-09-30 12:02:17 +00:00
Andrew Kingston ab494e6894
Merge pull request #8060 from Budibase/fix/client-env-awareness
Fetch environment info early in the client app initialisation process
2022-09-30 12:52:02 +01:00
Andrew Kingston 3f80c02038 Fetch environment info early in the client app initialisation process 2022-09-30 12:31:16 +01:00
Budibase Release Bot f1ac02246d v2.0.8 2022-09-30 11:22:29 +00:00
Budibase Release Bot 3617ce2643 v2.0.7 2022-09-30 10:44:12 +00:00
Mel O'Hagan 9a9ea26cc4 Navigate in PeekScreenDisplay 2022-09-29 14:10:34 +01:00
Dean 225f000b2a Centralised licensing types to frontend-core contants. Some minor refactoring 2022-09-29 09:17:22 +01:00
Budibase Release Bot f4eba61994 v2.0.6 2022-09-28 15:34:09 +00:00
Andrew Kingston b470e57a29 Expand component trees with padding when dragging and dropping 2022-09-28 14:16:09 +01:00
Mel O'Hagan df5d609298 Handle navigation on close modal 2022-09-28 13:50:23 +01:00
Budibase Release Bot a8f8ea2504 v2.0.5 2022-09-27 18:15:36 +00:00
Andrew Kingston e1f7a1ca67 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-09-27 15:57:27 +01:00