Skip to content

Fix calendar view#572

Open
Exyeus wants to merge 2 commits intotaskgenius:masterfrom
Exyeus:fix-calendar-view
Open

Fix calendar view#572
Exyeus wants to merge 2 commits intotaskgenius:masterfrom
Exyeus:fix-calendar-view

Conversation

@Exyeus
Copy link
Copy Markdown

@Exyeus Exyeus commented Mar 25, 2026

Description

Fixes two calendar regressions in the custom day view.

When a custom calendar view uses a filtered hour range such as 8-23, timed tasks could be created or rendered at incorrect positions because the visible time grid was still being interpreted against the full 0-24 range. This PR corrects the time-slot mapping and timed event positioning so custom day views display tasks at the expected hours.

This PR also fixes the awkward jump-to-top behavior after task edits or completion toggles in the day/week calendar view by preserving and restoring the time-grid scroll position during refreshes. In addition, it improves timed range resolution so tasks with explicit start/end-like metadata are rendered with the correct duration in calendar views.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Code refactoring

Checklist

  • I have read and agree to the CLA
  • My code follows the project's style guidelines
  • I have tested my changes
  • I have updated the documentation

Related Issues

Closes #(issue number)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant