Commit Graph

68 Commits

Author SHA1 Message Date
chfhtw 6d0ab0d4aa bugfix: empty data fields cause error in gridlogic (this happens when items are rearranged but not processed in index order) 2026-04-27 15:20:24 +02:00
chfhtw 51be318edc replace Api calls with UrlStore 2026-04-27 10:26:48 +02:00
Harald Bamberger e984425e36 Merge branch 'feature-68530/Dashboard_Cleanup_Admin' into cis40_2026-02_rc 2026-04-23 12:09:09 +02:00
chfhtw 5571353464 let items jump over pinned items (this may be especially relevant if pinned items trap one or more items involved in a drag and drop operation) 2026-04-22 09:37:50 +02:00
chfhtw 38ea481177 add safety measures to add function of GridLogic 2026-04-21 13:49:39 +02:00
chfhtw dbf945dfe5 Comments for GridLogic 2026-04-21 13:48:49 +02:00
Harald Bamberger d926e4165b Merge branch 'master' into cis40_2026-02_rc 2026-04-20 17:52:24 +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 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
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 e21f35b880 easier more straightforward way to computed free slots in gridlogic 2026-04-16 10:58:47 +02:00
chfhtw 88c82a41ba gridlogic: return null for impossible updates instead of throwing an error 2026-04-15 13:55:07 +02:00
chfhtw 38d9d91945 get rid of cachedWidgetLoader & slightly rename some prop for better understanding 2026-04-14 11:12:26 +02:00
chfhtw 01e6a1061c get renderers inside the components that require it 2026-04-07 13:43:50 +02:00
chfhtw e957926a4d replace controllers/dashboard/Widget.php with controllers/api/frontend/v1/dashboard/Widget.php 2026-03-23 10:57:43 +01:00
Harald Bamberger f4f645b103 Merge branch 'master' into cis40_2026-02_rc 2026-02-03 17:17:09 +01:00
Harald Bamberger 77abcb6129 use absoluteJsImportUrl in Dashboard Widget Api Endpoints, send widget setup and arguments column values as json to frontend, remove JSON.parse from frontend dashboard code 2026-01-30 18:58:20 +01:00
Harald Bamberger 6c2a2e4665 work in progress, add reset function to EventLoader composable, to be able to reload when external parameters are changed 2025-11-27 18:15:38 +01:00
SimonGschnell 645da5a5bf fix(Dashboard drag&drop): ensures dragend events trigger correctly in chrome 2025-08-13 12:09:34 +02:00
chfhtw 3cd00a5e5f Cleanup 2025-07-29 15:27:09 +02:00
chfhtw d101b53d3d Calendar: ResizeObserver for compact day mode 2025-07-25 09:27:56 +02:00
chfhtw 20e8964274 Comment 2025-07-21 15:38:35 +02:00
chfhtw f1971659b4 Loading Events 2025-07-21 15:33:35 +02:00
chfhtw f1e28cec4e Bugfix eventloader 2025-07-21 14:10:23 +02:00
chfhtw da9f00fff0 add Calendar 2025-07-15 11:17:49 +02:00
SimonGschnell fc0a09180a update(Dashboard pinned animation): also triggers the pinned animation when the target area of a drag action contains a pinned widget 2025-04-15 11:16:20 +02:00
SimonGschnell 88c4a04aea fix(Dashboard widget resize position): when resizing an widget without saved position it would save it with x:0 and y:0 2025-04-14 14:57:14 +02:00
SimonGschnell 59ebd33ba6 feature(Dashboard resize):adds overlays to the elements when resizing widgets on the dashboard 2025-04-14 11:28:13 +02:00
SimonGschnell a0a2ac41bf refactor(Dashboard Grid): updates replace logic when moving widgets and fixes position detection between mousemove and mousedown 2025-04-11 12:00:38 +02:00
SimonGschnell 9b9b8b1532 feature(CIS Dashboard gridsystem): allows to pin widgets in the grid and changes how widgets are positioned in different viewports 2025-04-09 10:50:19 +02:00
Harald Bamberger 92ba4aea9a return year as number not as string 2025-02-14 14:53:19 +01:00
Johann Hoffmann fe4351fc87 lv info ort content link when content_id was expanded 2025-02-11 11:23:50 +01:00
Johann Hoffmann eabe8ef401 CalendarDate patch schaltjahr 2025-02-11 10:15:22 +01:00
Johann Hoffmann fc06ffe0e5 fix jumping into march 01 from january 29 2025-02-06 13:18:19 +01:00
Johann Hoffmann d70cd58698 past shadow on day page if it is today; current time line on day & week page; mobile checkup; close lvInfoModal on stundenplan unmount; 2025-02-04 18:04:41 +01:00
Johann Hoffmann c1918726df Stundenplan Week Page smaller breakpoints style handling; searchbar emit action finished on default link click; month stundenplan past days use opacity-50 class; Day page height fix of right col; 2025-01-31 14:09:05 +01:00
SimonGschnell 062e6e5f90 update(Sprachen.js): updates the usage of the classes fhc-entry in the Sprachen.js component 2025-01-29 14:04:36 +01:00
SimonGschnell 10c718b78c update(CalendarDate):changes the stop watcher function 2025-01-29 12:10:16 +01:00
SimonGschnell 516554c1e3 update(CalendarDate.js): uses phrasen.user_locale for calculations and watches for changes on the user_locale 2025-01-14 11:43:50 +01:00
SimonGschnell 16097edfca refactor(CalendarDate.js): sets the locale for every new instance of CalendarDate that gets created in the CalendarDate.js class 2025-01-13 09:41:58 +01:00
SimonGschnell 05cbe495fe fix(Calendar Weeks View): updates the number of weeks in the weeks View when going to the next or previous year 2025-01-13 09:29:54 +01:00
SimonGschnell 478588aef0 fix(Calendar Date Issues):fixes a variety of user_locale calendar bugs 2025-01-10 13:46:24 +01:00