chfhtw
|
9316016d24
|
get selected funktionen the vuejs way
|
2026-04-20 14:59:35 +02:00 |
|
chfhtw
|
33b5c370b1
|
code quality
|
2026-04-20 14:41:28 +02:00 |
|
chfhtw
|
cdf63840b0
|
simplify widgetAdd, widgetUpdate and widgetRemove
|
2026-04-20 14:30:31 +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
|
4ab9056700
|
deep clone instead of shallow to prevent watchers from executing prematurely
|
2026-04-20 12:53:03 +02:00 |
|
chfhtw
|
0b3f7d1fe3
|
code quality
|
2026-04-20 12:50:20 +02:00 |
|
chfhtw
|
a9d82de25c
|
handle custom prop like other internal props
|
2026-04-20 12:47:48 +02:00 |
|
Harald Bamberger
|
6cc09969dd
|
Merge branch 'master' into feature-68530/Dashboard_Cleanup_Admin
|
2026-04-20 10:45:20 +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
|
4e88765a83
|
remove unused function
|
2026-04-17 10:19:27 +02:00 |
|
chfhtw
|
aac26f6720
|
replace with faster logic
|
2026-04-17 10:02:34 +02:00 |
|
chfhtw
|
3b3e75003f
|
indentation
|
2026-04-17 10:01:13 +02:00 |
|
chfhtw
|
ab699aafdc
|
using variables for better readability
|
2026-04-17 09:59:38 +02:00 |
|
chfhtw
|
98bdb8c526
|
bugfix: if the moving object is bigger than 1x1 and its target location touches the original location swapping could locate the occupier inside the overlapping slot making the occupier overlap the moving object
|
2026-04-17 09:57:24 +02:00 |
|
chfhtw
|
992cb6b310
|
!some(!true) is the same as every(true) and we don't need to check for the originalFrame since only the moving item was in there and no other item hence no occupier
|
2026-04-16 16:00:01 +02:00 |
|
chfhtw
|
5b5f6ac0b9
|
missed one line in 8ab83eaf41
|
2026-04-16 15:49:35 +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
|
2a86a70386
|
gridlogic: save width & height on move action similar to resize action (see: 88c4a04aea)
|
2026-04-16 11:24:03 +02:00 |
|
Harald Bamberger
|
f121f9b5a2
|
deactivate pagination - since potentially msg threads are not shown completely
|
2026-04-16 11:23:57 +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
|
e21f35b880
|
easier more straightforward way to computed free slots in gridlogic
|
2026-04-16 10:58:47 +02:00 |
|
chfhtw
|
24c8a1c501
|
Decode JSON in backend not frontend and make component path a full path (also in backend)
|
2026-04-16 09:51:32 +02:00 |
|
chfhtw
|
cfe6e3c805
|
rearrange and comment dropgrid for better understanding
|
2026-04-16 09:27:12 +02:00 |
|
Harald Bamberger
|
88b22f5490
|
revert to v-if to not render element when not necessary and use Vue.nextTick for dependent code
|
2026-04-15 17:02:58 +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
|
88c82a41ba
|
gridlogic: return null for impossible updates instead of throwing an error
|
2026-04-15 13:55:07 +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 |
|
ma0068
|
95a7797ae9
|
delete unused apicall for mode modal
add editor.setContent to function getReplyData
readd loadReplyData and use v-show for visibleDiv for mode inSamePage
|
2026-04-14 15:46:34 +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
|
328fe4256e
|
safeguard component loading from widgetTemplate (=widgetSetup)
|
2026-04-14 11:44:30 +02:00 |
|
chfhtw
|
c240eb4a4e
|
move loading animation inside component root element
|
2026-04-14 11:30:13 +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
|
d68fa8ce95
|
code quality dashboard.css
|
2026-04-13 14:03:28 +02:00 |
|
chfhtw
|
d61ee51d79
|
rename css class to dash-case
|
2026-04-13 14:00:14 +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
|
5fa374259e
|
replace draggedItem css class
|
2026-04-13 13:22:16 +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 |
|