feat(tasks): add calendar view for tasks (month / week / day)#178
Open
paryanineil wants to merge 1 commit into
Open
feat(tasks): add calendar view for tasks (month / week / day)#178paryanineil wants to merge 1 commit into
paryanineil wants to merge 1 commit into
Conversation
Adds a third view mode to the Tasks page (alongside list and kanban)
that lays tasks out on a calendar by their due date, with Month, Week,
and Day sub-modes.
- New TaskCalendar component with Month / Week / Day switcher:
- Month: full 6-week grid with "+N more" overflow per day
- Week: 7-day columns listing that day's tasks
- Day: single-day agenda with status and priority
- Mode-aware prev/next/today navigation, today highlighting, and a
tray listing tasks with no due date so none are hidden
- Calendar toggle button added to the Tasks view switcher
- Saveable as a named view: adds "calendar" to Hive View.view_type and
restores the mode from saved views and the sidebar
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Calendar view to the Tasks page, alongside the existing List and Kanban views. Tasks are laid out by their
due_date, with Month, Week, and Day sub-modes.What's included
TaskCalendarcomponent (frontend/src/components/TaskCalendar.tsx)+N moreoverflow per daydate-fns(already a dependency) and shadcnButton/BadgecalendartoHive View.view_type; the mode is restored from saved views and the sidebarNotes
Hive View.view_typeSelect field (list→list\nkanban\ncalendar).Testing
yarn buildpasses,tsc --noEmitclean, ESLint clean on the new component