Commit Graph

3220 Commits

Author SHA1 Message Date
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 645235be96 Fix resizing not working inside grids 2022-10-19 13:16:42 +01:00
Budibase Release Bot ab494256fb v2.0.33 2022-10-19 11:15:01 +00:00
Andrew Kingston a367863d43 Allow normal DND in and out of grid children 2022-10-18 18:49:24 +01:00
Budibase Staging Release Bot 3a26af1ed4 v2.0.30-alpha.8 2022-10-18 17:43:08 +00:00
Andrew Kingston a870d2473d Allow grid DND without selecting components 2022-10-18 18:29:21 +01:00
mike12345567 caa4954d8e Updating export/import to include the budibase client and manifest. 2022-10-18 16:42:25 +01:00
Andrew Kingston 15bbc78847 Add grid functionality separately to DND 2022-10-18 16:18:22 +01:00
Gerard Burns c6fd6699db Stop Screen Store Double Updating on Screen Change 2022-10-18 10:10:46 +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
Budibase Release Bot 873b20219c v2.0.32 2022-10-17 16:43:56 +00:00
Andrew Kingston b7bfb861db Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-17 16:31:39 +01:00
Andrew Kingston 682203fbda 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 8c1c84e9aa Use requestAnimationFrame for DND overlay placeholder updates to further improve performance 2022-10-17 08:48:32 +01:00
Andrew Kingston 0e83bcfe9e Update styles of padded DND components 2022-10-14 20:30:58 +01:00
Andrew Kingston 3f429ff3ce Lint and prevent scrolling to selected component when starting dragging 2022-10-14 19:45:47 +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 fecb8bb1a6 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 3fd7952a17 Use block name in placeholders inside blocks 2022-10-14 19:13:44 +01:00
Andrew Kingston ef28b10def Prevent showing placeholder dot when placeholder is invisible 2022-10-14 19:04:05 +01:00
Andrew Kingston 1b08e88c6f Fix double empty state around blocks 2022-10-14 18:59:32 +01:00
Andrew Kingston 4c2a0028d6 Add default size for every component type 2022-10-14 18:59:23 +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
Budibase Release Bot dea4338d54 v2.0.31 2022-10-14 09:26:51 +00:00
Budibase Staging Release Bot 76fabb81f6 v2.0.30-alpha.7 2022-10-14 09:26:33 +00:00
Gerard Burns 0f642f37f4 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 6511a5460c v2.0.30-alpha.6 2022-10-14 09:04:02 +00:00
Andrew Kingston 29fdaab5fd Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-14 08:54:47 +01:00
Budibase Staging Release Bot 39a72968b3 v2.0.30-alpha.5 2022-10-13 16:34:26 +00:00
deanhannigan fefd6ba018 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 3f434f7410 Removed commented out barcode scanner config 2022-10-13 17:06:04 +01:00
Dean 909a8b7074 Merge remote-tracking branch 'origin/develop' into feature/blocks-in-auto-screens 2022-10-13 16:54:55 +01:00
Budibase Staging Release Bot 4625ee10ee v2.0.30-alpha.4 2022-10-13 15:54:42 +00:00
Dean cb071096e1 Merge remote-tracking branch 'origin/develop' into feature/blocks-in-auto-screens 2022-10-13 16:49:10 +01:00
Dean 7125e3f6e3 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-13 16:16:28 +01:00
Andrew Kingston 167f8f368b Only show sortable fields for sort column settings 2022-10-13 15:58:44 +01:00
Budibase Staging Release Bot cfeffad3c2 v2.0.30-alpha.3 2022-10-13 09:11:09 +00:00
Budibase Staging Release Bot f5f6a46784 v2.0.30-alpha.2 2022-10-12 19:07:36 +00:00
Budibase Release Bot bd52533f01 v2.0.30 2022-10-12 16:58:49 +00:00
Budibase Staging Release Bot 1d886f244a v2.0.30-alpha.1 2022-10-12 11:46:45 +00:00
Budibase Staging Release Bot 54a11c6218 v2.0.30-alpha.0 2022-10-12 10:30:23 +00:00
Rory Powell 2f0f36e635 Merge branch 'master' into merge-master 2022-10-12 10:19:46 +01:00
Budibase Release Bot 24679ceb84 v2.0.29 2022-10-12 08:22:33 +00:00
Dean f5edeb5ddc Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-12 09:12:09 +01:00
Dean 7f73d9defa Merge remote-tracking branch 'origin/develop' into feature/blocks-in-auto-screens 2022-10-12 09:04:05 +01:00
Budibase Release Bot 19e2a76125 v2.0.28 2022-10-12 07:33:11 +00:00
Budibase Release Bot 951fd48ebc v2.0.27 2022-10-11 18:11:05 +00:00
Budibase Staging Release Bot d6e91ca153 v2.0.24-alpha.4 2022-10-11 16:41:24 +00:00
Dean 2bff6254de Initial commit, refactoring of autoscreens to incorporate blocks 2022-10-11 17:05:19 +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 efe9425d3d Improve column/row detection by appending an ephemeral child component and tune timings 2022-10-11 08:52:45 +01:00
Dean 299122324e Ensure field type is preserved if it contains a slash. Some additional refactoring 2022-10-10 14:20:06 +01:00
Budibase Release Bot bc5bf284cf v2.0.26 2022-10-10 13:01:46 +00: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
Dean c5b16fe47e Minor labelling change for field type 2022-10-10 11:40:34 +01:00
Budibase Release Bot 18a93ddc79 v2.0.25 2022-10-10 10:13:09 +00:00
Dean 43befea5e9 Code review updates 2022-10-10 10:39:34 +01:00
Andrew Kingston 73a206e2f1 Fully remove source component from client tree while dragging 2022-10-10 09:51:13 +01:00
Andrew Kingston b2be069ef1 Make DND work again by converting new parent+index params into old target+mode 2022-10-10 09:36:17 +01:00
Andrew Kingston 7d72cee304 Tune DND throttle rate 2022-10-10 09:22:47 +01:00
Dean 07be0208e5 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-10 09:08:48 +01:00
Andrew Kingston 608e41277a Reduce padding when dragging over a component tree and remove unused component class names 2022-10-08 15:32:36 +01:00
Andrew Kingston 0d35e03bdf Rename DND state variables for clarity 2022-10-08 15:28:22 +01:00
Andrew Kingston 234d8953f2 Fix row/column detection, add comments and remove old code 2022-10-08 15:18:05 +01:00
Andrew Kingston c2b32f8c5e 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 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
Budibase Release Bot 15723e38d8 v2.0.24 2022-10-07 17:16:16 +00:00
Budibase Staging Release Bot 3616bfd297 v2.0.24-alpha.3 2022-10-07 16:45:27 +00: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
Budibase Staging Release Bot 52ab10971c v2.0.24-alpha.2 2022-10-07 12:28:52 +00:00
Andrew Kingston 354817dbf3 Merge pull request #7456 from Budibase/form-block
Form block
2022-10-07 13:14:13 +01:00
Budibase Staging Release Bot c2eaffcd39 v2.0.24-alpha.1 2022-10-07 11:56:02 +00:00
Andrew Kingston f27704ccf6 Merge branch 'develop' of github.com:Budibase/budibase into form-block 2022-10-07 12:45:53 +01:00
Andrew Kingston 5beb6819ec Fix issue with layout determination 2022-10-07 12:45:22 +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
Dean c09154b03e 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 d4a767f93e Improve row vs column detection to fix any edge cases 2022-10-07 08:46:38 +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
Budibase Staging Release Bot 6c6001692c v2.0.24-alpha.0 2022-10-06 16:40:43 +00:00
mike12345567 2421f16a8c Merge branch 'develop' of github.com:Budibase/budibase into develop 2022-10-06 16:58:33 +01:00
Budibase Release Bot b961887b6c v2.0.23 2022-10-06 14:26:45 +00:00
Dean e251c914ff Review feedback changes. Changed 'Code' labelling to 'Scanned Code' 2022-10-06 13:02:17 +01:00
Dean 617d443890 UX/UI updates and rollup config changes to exclude common warnings 2022-10-06 09:54:43 +01:00
Andrew Kingston 9c82a9d073 Don't clear drop target on invalid selection 2022-10-06 09:17:26 +01:00
Andrew Kingston a6802e921f Merge branch 'develop' of github.com:Budibase/budibase into dnd-improvements 2022-10-05 17:31:01 +01:00
Budibase Release Bot dff64a1b62 v2.0.22 2022-10-05 15:44:22 +00:00
Mel O'Hagan 969c67f767 Use OG class properties for iOS13 support 2022-10-05 15:53:06 +01:00
Budibase Release Bot d8452a92e1 v2.0.21 2022-10-05 12:17:39 +00:00
Budibase Release Bot c2a9e32be7 v2.0.20 2022-10-05 09:23:48 +00:00
Andrew Kingston 84626294fd Merge pull request #8124 from Budibase/plugin-url-updates
Plugin url updates
2022-10-05 09:57:22 +01:00
Dean 1626338b15 Merge remote-tracking branch 'origin/develop' into feature/qr-barcode-reader 2022-10-05 09:29:32 +01:00
Dean 2ec21741d1 Initial commit of QR Reader field 2022-10-05 09:28:07 +01:00
Budibase Release Bot a3cbb85dce v2.0.19 2022-10-04 16:57:55 +00:00
Andrew Kingston 1abdc12681 Remove log 2022-10-04 16:33:27 +01:00