chfhtw
|
746f8bc736
|
bugfix: overwriting const
|
2026-04-27 09:37:59 +02:00 |
|
chfhtw
|
2a21bbf062
|
add list semantics to drop grid for accessibility
|
2026-04-23 10:41:08 +02:00 |
|
chfhtw
|
20f043abc6
|
ignore additionRow when overwriteRows is active & only activate overwriteRows if it is bigger
|
2026-04-22 11:01:35 +02:00 |
|
chfhtw
|
416451eb0b
|
remove marginForExtraRow and add the required space via CSS
|
2026-04-22 10:23:51 +02:00 |
|
chfhtw
|
3ab7a61a47
|
handle additionalRow disabling outside Grid.js and recreate behavior before commit a8f680810f
|
2026-04-22 10:03:13 +02:00 |
|
chfhtw
|
95d85c7f5b
|
temporary change height on dragging if the reordering process needs it (otherwise we get some ugly overflow issue on the preview item or if another item is moved to the bottom it vanishes during the drag and drop operation and reappears after the drop)
|
2026-04-22 09:36:11 +02:00 |
|
chfhtw
|
d7e509979a
|
account for additionalRow prop when computing placeholders (missed this in 262b170244)
|
2026-04-22 09:32:53 +02:00 |
|
chfhtw
|
91a5b2d4fc
|
fire correct method for draganddrop cancel
|
2026-04-22 09:28:20 +02:00 |
|
chfhtw
|
239577e9cf
|
safeguard watchers; move indexedItems watcher code into a method and reuse it in cols watcher
|
2026-04-20 15:17:07 +02:00 |
|
chfhtw
|
a8fb45adc6
|
undo parts of 187b4a6e4b to prevent having no gridlogic available
|
2026-04-20 15:03:06 +02:00 |
|
chfhtw
|
cf14501311
|
handle initial position and size in Grid.js no Section.js & add weights & add size properties of updated items to return value in GridLogic.add()
|
2026-04-20 14:16:21 +02:00 |
|
chfhtw
|
187b4a6e4b
|
guard indexedItems watcher so it won't run unnecessarily
|
2026-04-20 14:05:16 +02:00 |
|
chfhtw
|
ff08ca140c
|
remove unused variable
|
2026-04-17 12:22:12 +02:00 |
|
chfhtw
|
61a9feb8fd
|
rearrange code and call preventDefault only if moving/resizing would be successful
|
2026-04-17 12:19:56 +02:00 |
|
chfhtw
|
21fdf31518
|
move checkPinnedWidgetAnimation into dragOver function
|
2026-04-17 12:10:37 +02:00 |
|
chfhtw
|
3af9397689
|
move removeWidgetClones and this.mode=MODE_IDLE into _cleanupDragging function
|
2026-04-17 12:08:03 +02:00 |
|
chfhtw
|
fef756f508
|
change denied-dragging-animation to drop-grid-item-blocker and call it the vuejs way instead of vanilla js
|
2026-04-17 11:44:25 +02:00 |
|
chfhtw
|
131edf1293
|
move check into updateCursor block, it only needs to check if the hovered tile changes
|
2026-04-17 11:41:31 +02:00 |
|
chfhtw
|
6787b9b553
|
correct pinned widget detection => before it only accounted for 1x1 widgets
|
2026-04-17 10:46:00 +02:00 |
|
chfhtw
|
97baaf6797
|
rename items_placeholders => placeholders
|
2026-04-17 10:21:54 +02:00 |
|
chfhtw
|
4b064f566a
|
get information if resize would be successful from tempPositionUpdates instead of gridlogic
|
2026-04-16 11:53:23 +02:00 |
|
chfhtw
|
8ab83eaf41
|
don't use place in gridlogic -> the current values should be in the root of the object
|
2026-04-16 11:16:22 +02:00 |
|
chfhtw
|
262b170244
|
utilize getFreeSlots from gridlogic to create placeholders
|
2026-04-16 11:00:34 +02:00 |
|
chfhtw
|
cfe6e3c805
|
rearrange and comment dropgrid for better understanding
|
2026-04-16 09:27:12 +02:00 |
|
chfhtw
|
d3b62daea0
|
not needed anymore since "resizeOverlay" is now handled by css classes (see previous commit)
|
2026-04-15 15:50:10 +02:00 |
|
chfhtw
|
35355b28c0
|
use css classes instead of temporary items
|
2026-04-15 13:56:35 +02:00 |
|
chfhtw
|
910e960e4f
|
code quality
|
2026-04-15 13:54:30 +02:00 |
|
chfhtw
|
d1911f0f96
|
add shared cleanup function to prevent duplicate code
|
2026-04-15 10:14:56 +02:00 |
|
chfhtw
|
09a5515121
|
replace checkWidgetSizeLimitAnimation function with simple condition statement and remove now unused helper function
|
2026-04-14 14:35:50 +02:00 |
|
chfhtw
|
38d9d91945
|
get rid of cachedWidgetLoader & slightly rename some prop for better understanding
|
2026-04-14 11:12:26 +02:00 |
|
chfhtw
|
4669598dd9
|
remove resizeLimit function and replace it with internal function using the widgetsSetup prop
|
2026-04-14 10:42:17 +02:00 |
|
chfhtw
|
a6f81006be
|
hide content of dashboard item on drag not via event but via css class
|
2026-04-13 13:28:15 +02:00 |
|
chfhtw
|
9fd033b30e
|
get rid of toggleDraggedItemOverlay and replace it with css classes that are computed inside the template
|
2026-04-13 13:21:35 +02:00 |
|
chfhtw
|
e98ed3c74f
|
rename function to clarify what it does
|
2026-04-13 11:47:26 +02:00 |
|
chfhtw
|
ebe76821e4
|
remove unused mode
|
2026-04-13 11:45:50 +02:00 |
|
chfhtw
|
3858e38a02
|
remove unused code
|
2026-04-13 11:13:38 +02:00 |
|
chfhtw
|
510c35e077
|
simplify drop grid events
|
2026-04-13 10:50:11 +02:00 |
|
chfhtw
|
a8f680810f
|
remove unnecessary touch and mouse events from dashboard
|
2026-04-13 10:45:54 +02:00 |
|
chfhtw
|
b9207b5efb
|
make drop grid padding configurable via css
|
2026-04-08 15:54:36 +02:00 |
|
chfhtw
|
114a50ad4e
|
Comments & variable renames for better understanding
|
2026-04-02 11:43:29 +02:00 |
|
chfhtw
|
218f434e01
|
stabilize workaround for chrome by adding more code into the workaround and get rid of updateCursorOnMouseMove in the process
|
2026-03-30 16:49:21 +02:00 |
|
chfhtw
|
8a53c438e3
|
more cleanup of dropgrid code
|
2026-03-30 15:01:03 +02:00 |
|
chfhtw
|
dec83bbd21
|
move draggable from item to the buttons
|
2026-03-30 13:37:26 +02:00 |
|
chfhtw
|
2354746d4f
|
more cleanup of dropgrid code & cleanup of dashboard item code
|
2026-03-30 13:34:34 +02:00 |
|
chfhtw
|
d421b1ccb8
|
cleanup dropgrid code
|
2026-03-30 09:29:05 +02:00 |
|
SimonGschnell
|
f695d8b66a
|
update(Dashboard Widget Drag): shows hidden widget when dragging the widget on the dashboard
|
2025-08-18 10:21:18 +02:00 |
|
SimonGschnell
|
e46f46c95b
|
update(Dashboard grid): doesnt allow the user to drag a widget outside of the grid boundaries
|
2025-08-14 15:07:38 +02:00 |
|
SimonGschnell
|
645da5a5bf
|
fix(Dashboard drag&drop): ensures dragend events trigger correctly in chrome
|
2025-08-13 12:09:34 +02:00 |
|
SimonGschnell
|
3e69495842
|
fix(Dashboard drag&drop): behavior of dragged widgets when they exceed the grid limits, and ensures all widget clones are always deleted
|
2025-08-12 09:53:45 +02:00 |
|
Harald Bamberger
|
8494033bda
|
CIS4 Dashboard: add workaround for chrome fireing event dragend when styles are manipulated during dragging
|
2025-08-07 13:35:47 +02:00 |
|