Commit graph

167 commits

Author SHA1 Message Date
Janus Knudsen
f29613e55f Updates mock event data and adds logging
Updates mock event data to reflect future dates for testing purposes.

Adds console logging in various managers to aid in debugging and understanding the event loading and rendering process.
Specifically, logs the number of loaded events, the first and last event details, and information about event rendering and time axis creation.

Also, adds execution permission for PowerShell scripts in the .claude settings.
2025-08-02 00:28:45 +02:00
Janus Knudsen
c510994ca2 Makes calendar week view width dynamic
Changes the calendar week view to dynamically adjust its width based on the `--day-column-min-width` CSS variable.
This allows for more flexible and responsive layouts, avoiding fixed widths.
Also, the base calendar CSS file is now included in the index file.
2025-08-02 00:04:45 +02:00
Janus Knudsen
26a4544c09 wip 2025-08-01 23:58:30 +02:00
Janus Knudsen
209ae0830d A step in the right direction for this time axis 2025-08-01 23:45:13 +02:00
Janus Knudsen
b6d3d22ce9 wip 2025-08-01 23:23:48 +02:00
Janus Knudsen
3bf2baf9e9 wip 2025-07-30 01:07:17 +02:00
Janus Knudsen
470fcb5e58 wip 2025-07-30 00:53:59 +02:00
Janus Knudsen
00b374617f wip 2025-07-30 00:34:50 +02:00
Janus Knudsen
a410088fa7 wip 2025-07-29 23:17:52 +02:00
Janus Knudsen
2e50679602 Refactors grid layout for scrollbar implementation
Updates the grid structure to correctly position the scrollbars.

Replaces fixed scrollbars with a grid-based layout using spacers and
a right column for a more integrated and maintainable solution.
This change addresses layout issues related to scrollbar positioning
and ensures better alignment across different browsers.
2025-07-29 23:01:00 +02:00
Janus Knudsen
bfd2ba0272 Adjusts week header z-index
Lowers the z-index of the week header to ensure it slides under the header-spacer during horizontal scrolling.

This prevents the week header from overlapping the header-spacer, improving the visual flow of the calendar layout.
2025-07-29 21:30:26 +02:00
Janus Knudsen
1d25ab7b53 Adds fixed scrollbars for improved navigation
Implements fixed scrollbars at the browser edges to enhance navigation within the calendar view. This ensures that the scrollbars remain visible regardless of the user's scroll position, providing consistent access to horizontal and vertical scrolling.

Removes the right header spacer and right column, integrating their functionality into the new fixed scrollbar components.

Additionally, synchronizes the week header position with the horizontal scroll, improving the user experience.

Scrollbar hiding is now handled in the CSS file.
2025-07-29 21:22:13 +02:00
Janus Knudsen
1822fa7287 Improves sticky header and time axis layering
Adjusts z-index values to ensure the week header and header spacer
elements cover the time axis during scrolling. This prevents visual
artifacts and improves the overall user experience.
2025-07-29 01:01:12 +02:00
Janus Knudsen
9f6d4333cb Implements custom scroll and event logging
Adds custom scroll management for the calendar week view, replacing native scrollbars with a custom handle.

Introduces categorized event logging with console grouping and styling, enhancing debug output. It also allows configuring logging for specific event categories.
2025-07-29 00:52:01 +02:00
Janus Knudsen
42c418e961 Snapshot 2025-07-25 23:31:25 +02:00
Janus Knudsen
b443649ced Improves grid layout and navigation
Refactors the calendar grid to support smoother navigation transitions by using separate week containers.

This change introduces a GridManager to handle grid rendering and interactions within these containers, enabling scroll synchronization and click event handling for each week view.

Also, configures the calendar to start at midnight and span a full 24-hour day, providing a more comprehensive view.
2025-07-25 00:24:15 +02:00
Janus Knudsen
f06c02121c Initial commit: Calendar Plantempus project setup with TypeScript, ASP.NET Core, and event-driven architecture 2025-07-24 22:17:38 +02:00