Commit Graph

3184 Commits

Author SHA1 Message Date
Andrew Kingston 3951550074 Make grid rows and columns configurable and simplify grid style application 2022-10-24 12:05:59 +01:00
Andrew Kingston fb0866f0d9 Tidy up 2022-10-24 09:43:45 +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 32bac91dc7 Remove spam of environment API calls 2022-10-24 09:03:50 +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 b26ab6f8b3 Fix flashing settings bar in stale position 2022-10-21 17:51:35 +01:00
Andrew Kingston 24cc71267c Fix stale hover indiciator 2022-10-21 17:51:25 +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 67b6821b37 Fix components being selected when starting dragging 2022-10-21 16:52:46 +01:00
Andrew Kingston 358e5996f5 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-10-21 10:59:47 +01:00
Martin McKeaveney 69775a0324 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 c5c3036f44 v2.0.30-alpha.10 2022-10-20 21:11:31 +00:00
Budibase Staging Release Bot 49c1126fc9 v2.0.30-alpha.9 2022-10-20 20:01:10 +00:00
Martin McKeaveney 7d8d0f5026 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 d1228a5fe6 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day-grid 2022-10-20 19:49:34 +01:00
Andrew Kingston 73a229b9ec Add proper validation for nesting illegal combinations of components 2022-10-20 16:03:53 +01:00
Andrew Kingston 2e09dcbe03 Ensure a fixed height is set on grid by default 2022-10-20 08:46:42 +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 645235be96 Fix resizing not working inside grids 2022-10-19 13:16:42 +01: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
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
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 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