70 Commits

Author SHA1 Message Date
chfhtw 9bc564dbf9 min size & delete loading id when adding widgets 2026-04-27 15:35:29 +02:00
chfhtw dd13c73415 code quality 2026-04-23 14:04:49 +02:00
chfhtw 26d468aa6f more semantics and code quality 2026-04-23 09:28:23 +02:00
chfhtw 0f7188a347 remove id (it's bad practice) and we don't need it anymore 2026-04-22 15:35:05 +02:00
chfhtw 3e832f9526 remove unused resizeOverlay 2026-04-22 15:32:59 +02:00
chfhtw 0751aa5a0f basic semantics 2026-04-22 14:36:55 +02:00
chfhtw 6c818e5c30 add dragClick to the additionalRow button 2026-04-22 11:01:58 +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 21065a3c95 because of 4ab9056700 pinned property can't be deleted (will get overwritten by the original value) so work around that with boolean values that are later removed if false 2026-04-21 13:47:08 +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 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 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 a8f680810f remove unnecessary touch and mouse events from dashboard 2026-04-13 10:45:54 +02:00
chfhtw 653a320e6c Display section name only in admin mode & display source information for widgets (from which section it is) in non-admin mode 2026-04-10 12:57:58 +02:00
chfhtw 57e7ad6903 don't render hidden widgets in default (non edit) mode 2026-04-08 15:55:56 +02:00
chfhtw dd713a26db replace inline styles with bootstrap class 2026-04-08 15:07:42 +02:00
chfhtw fad293fbbf code quality dashboard section 2026-04-08 15:00:36 +02:00
chfhtw e6eed4be4e move hidden widgets to the bottom of the dashboard 2026-04-02 16:36:04 +02:00
chfhtw 4d9ff395e9 remove reorder which is not used anymore 2026-04-02 14:52:17 +02:00
chfhtw 3fe15a302c correct calculation of allowed resize directions 2026-03-30 14:14:06 +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
ma0068 02153e469f Dashboard Admin Cleanup
- refactoring Api: FHC-API controller for Edit/Update, widgets and presets
- delete dashboard with Prompt
- phrases
2025-12-19 11:39:31 +01:00
chfhtw 132ab686c9 get rid of Dashboard warnings 2025-07-23 09:24:16 +02:00
SimonGschnell df108482eb update(Dashboard additionalRow): opens tooltip when hovering over the button to add a now line to the dashboard grid 2025-05-19 09:09:48 +02:00
SimonGschnell dab628a72d refactor(Dashboard UX): improves user experience for dashboard 2025-05-13 11:48:01 +02:00
SimonGschnell ed2a467926 refactor(Dashboard additional row): changes the UI and behavior to add an additional row to the grid 2025-05-12 13:51:20 +02:00
SimonGschnell a94b52dbc6 refactor(Dashboard touch events): fixes the touch event behaviors for the widgets and the dashboard 2025-05-12 11:44:27 +02:00
SimonGschnell 0c95dbad1f update(Dashboard Section description): adds phrases for the description of general/custom/other sections 2025-04-22 11:40:58 +02:00
SimonGschnell 8c00158d04 refactor(Dashboard Database data structure): changes how the data for the dashboard is structured in the database, instead of having a global widgets property, each section has its own widgets property where additional properties like description can be stored 2025-04-22 09:52:07 +02:00
SimonGschnell 19f169aca2 feature(Dashboard Grid): adds a red border to the widget if the user tries to resize the widget over its max width/height or under its min width/height 2025-04-15 13:55:02 +02:00
SimonGschnell a25ccd79b2 fix(Dashboard New Widget Not Draggable): adds the widgetid property to newly created widgets if it is not already present 2025-04-14 14:46:11 +02:00
SimonGschnell d4ae8b0f91 fix(Dashboard Grid Height): a bug was removed where the grid height was not correct when adding a new widget and the widget was not correctly displayed when adding a new widget 2025-04-14 14:33:49 +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
SimonGschnell 97e34948e5 refactor(WidgetIcon for Dashboard dragging): puts the hidden dashboard icons for the dragging image in the section component so that each section has its relative clientX and clientY positions 2025-04-02 11:23:25 +02:00
SimonGschnell 33f800fa28 fix(Dashboard Mobile Touch Events): fixes the behaviour of the touch event for the dashboard grid 2025-04-01 13:06:23 +02:00
SimonGschnell 232da256ac fix(Dashboard Drag Placeholder): doesn't allow placeholder items to be dragged anymore and keeps the height and width of a widget when resizing the grid of the dashboard 2025-03-31 14:56:50 +02:00
SimonGschnell b52993f7cc refactor(Grid Widgets drag): shows a placeholder item in the space where the new widget position would be when dragging a widget on the dashboard 2025-03-26 13:02:48 +01:00
SimonGschnell 7936e08d3d refactor(Dasboard Item): adds container for actions events from Dashboard widgets 2025-03-21 12:49:29 +01:00
Harald Bamberger 9bcd566bee fix TransitionGroup children have to be keyed and duplicate attribute v-bind 2025-02-12 17:57:53 +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
Johann Hoffmann 61728f3044 dashboard & widgets: template cleanup; property definiton cleanup; delete unwrapInjectedRef -> resolved since vue3.3; 2024-11-21 15:43:35 +01:00
Johann Hoffmann d8af18673c always show card header of widgets as in editMode but enable certain tools only when actually in editMode. editMode is active for dashboard not for section; less paddings overall in dashboard; deleted Section headers and put cog besides personal greeting; reformatted name var for greeting into generic viewData property; 2024-11-19 17:07:05 +01:00
Johann Hoffmann f82c669475 provide/inject editModeIsActive from section.js -> currently used in bookmark widget to move redundant config modal into actual widget when said mode is on; 2024-11-19 13:35:06 +01:00