Commit Graph

167 Commits

Author SHA1 Message Date
Andrew Kingston 6f8e669107
Improve new component DND for grids and add mobile support 2024-09-05 14:54:16 +01:00
Andrew Kingston 5e98580b60
Improve new component DND for both types of layout 2024-09-05 14:03:03 +01:00
Andrew Kingston b575109fdc
Fix possibility of updating wrong component styles when dragging in grids if you are too fast or have a slow server 2024-08-15 10:04:47 +01:00
Andrew Kingston 2afe040332
Update scrolling to selected component so that it works when adding components 2024-08-14 16:36:19 +01:00
Andrew Kingston a755fe7630
Allow quick duplicating via ctrl/cmd + drag 2024-08-14 11:21:59 +01:00
Andrew Kingston b62371d1be
Allow moving grid components using the label 2024-08-14 10:59:06 +01:00
Andrew Kingston 78953848bb
Fix variable name error in indicator sets 2024-08-13 09:19:16 +01:00
Andrew Kingston d6f33b2191
Change how z-index is applied to the dragged element 2024-08-12 16:13:47 +01:00
Andrew Kingston 2f3a7018ae
More tidy up 2024-08-12 15:29:03 +01:00
Andrew Kingston 25ff092da2
Simplify some utils 2024-08-12 14:54:39 +01:00
Andrew Kingston d423d530e4
Rewrite settings bar updates to improve performance 2024-08-12 14:45:17 +01:00
Andrew Kingston 47e4c668ec
Tidy up 2024-08-12 14:01:33 +01:00
Andrew Kingston 9f951bab20
Revert indicator sets to use IntersectionObservers when multiple indicators are required 2024-08-12 10:24:14 +01:00
Andrew Kingston 304c244943
Tidy up and remove old code and simplify some selectors 2024-08-10 20:08:49 +01:00
Andrew Kingston 533a597a0b
Performance improvements 2024-08-10 18:52:24 +01:00
Andrew Kingston 34448cfca2
Fix dragging on tablet preview 2024-08-10 14:40:32 +01:00
Andrew Kingston a6fd2ceb47
Improve responsiveness of settings bar 2024-08-10 10:42:54 +01:00
Andrew Kingston 933942ef26
Make indicators more responsive 2024-08-09 22:20:25 +01:00
Andrew Kingston 863fafa1d0
Simply and improve performance of indicators 2024-08-09 21:21:59 +01:00
Andrew Kingston 376192e85a
Improve performance of grid DND handler 2024-08-09 20:18:30 +01:00
Andrew Kingston 8aa0407236
Hide resize indicators when they don't fit 2024-08-09 19:09:32 +01:00
Andrew Kingston aaa33acc1c
Rework grid layouts to automatically grow as required 2024-08-09 18:04:23 +01:00
Andrew Kingston 46beead098
Update the style of edge anchors 2024-08-09 09:14:53 +01:00
Andrew Kingston 86061543dd
Slightly improve the look and behaviour of working with grid components 2024-08-09 08:52:03 +01:00
Andrew Kingston df77aa3f83
Update when grid lines are shown, show sibling borders, add component padding, remove row and column settings 2024-08-06 11:07:20 +01:00
Andrew Kingston 5071f39153
Lint 2024-08-05 19:45:10 +01:00
Andrew Kingston 22cda514b4
Update component settings bar to respect dependsOn metadata 2024-08-05 16:53:10 +01:00
Andrew Kingston c6cb267b30
Fix settings bar values not working with default values 2024-08-05 16:42:34 +01:00
Andrew Kingston 4bdb408a39
Add reactivity to settings bar grid style buttons 2024-08-03 11:15:10 +01:00
Andrew Kingston 1bce9855d0
More improvements 2024-08-02 16:44:18 +01:00
Andrew Kingston 0ba00a5117
Move most grid specific logic into a dedicated file to avoid polluting rest of the codebase 2024-08-02 16:13:49 +01:00
Andrew Kingston 3630c73837
Fix flashing of missing component settings panel when deleting components 2024-08-02 09:40:12 +01:00
Andrew Kingston 9906ea96a9
Update some component manifest styles and fix issue with default grid vars 2024-08-01 16:23:53 +01:00
Andrew Kingston 64c182df0f
Fix indicator positioning in preview 2024-08-01 12:06:22 +01:00
Andrew Kingston e7dd45a5e9
Fix typo 2024-08-01 12:02:51 +01:00
Andrew Kingston 8879188595
Update how screen layout param is handled 2024-08-01 11:40:16 +01:00
Andrew Kingston 99c7859fb2
Fix DND ghost cursor issue on mac 2024-08-01 09:00:18 +01:00
Andrew Kingston 7433b073c5
Prevent pointer events in components while dragging 2024-08-01 08:52:41 +01:00
Andrew Kingston f6f0b575d6
Add top level screen layout setting 2024-07-31 16:44:46 +01:00
Andrew Kingston de9b80e23d
Multiple style improvements and pixel layout fixes 2024-07-31 15:03:29 +01:00
Andrew Kingston e385c7291c
Fix some crashes and improve pixel alignment 2024-07-31 14:12:46 +01:00
Andrew Kingston 0ea9b157c7
Further refactoring to grid nested layouts 2024-07-31 13:58:29 +01:00
Andrew Kingston fd57f2ffcc
Remove logs 2024-07-31 10:36:39 +01:00
Andrew Kingston cb3c667859
Large refactor of grid css variable handling to simplify everything 2024-07-31 10:35:57 +01:00
Andrew Kingston de183d5c78
Refactor and tidy up 2024-07-30 16:48:54 +01:00
Andrew Kingston 29ddeab0d4
Update grid layout to include nested flex wrappers for more layout control 2024-07-30 15:20:59 +01:00
Andrew Kingston 7d4acc936b
Rewrite grid CSS variable handling 2024-07-30 13:50:38 +01:00
Andrew Kingston f91cc26fe1
Sanity check grid size limits and improve logic around min/max column/row dimensions 2024-07-29 16:36:56 +01:00
Andrew Kingston 1aa7077b9e
Use CSS variables to store grid position metadata 2024-07-29 15:57:43 +01:00
Andrew Kingston bfdbf72b50
Improve responsiveness of indicators 2024-07-29 15:38:24 +01:00