feat(calendar): festival jump, countdown shortcut, year/month picker + bug fix#7
Merged
Merged
Conversation
…rtcut - Festival entries in the calendar detail sidebar are now clickable and navigate the calendar to the corresponding date - New "Add countdown" button in the selected-day card creates a desktop countdown widget targeting the selected date, named after the day's festival when one exists Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The month title in the header is now a dropdown trigger. The panel offers a 12-month grid plus a paged 12-year grid (toggled by clicking the year), clamped to the 1900-2050 range covered by the lunar data. Picking a month jumps the view and keeps the selected day-of-month clamped, matching the existing prev/next month behavior. Escape and outside clicks close the panel before closing the modal. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ival Clicking a festival in the "This Month" sidebar moved the selected date forward, and the list — filtered to festivals on or after the selection — dropped every earlier entry. The clicked entry was also mislabeled "Today" because days-away was computed relative to the selection. The month list now always shows every festival of the viewed month, and all days-away labels (month + upcoming sections) are computed against the real today, with new "yesterday" / "N days ago" wording for past dates. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Defines the two local dev servers (Vite frontend on 5173 and Go backend on 8080) so Claude Code's preview_start can launch them directly. Co-Authored-By: Claude Sonnet 4.6 <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
三项日历详情弹窗增强 + 一个 bug 修复:
Changes
frontend/src/components/CalendarDetailModal.tsx— 主要改动frontend/src/utils/calendar.ts— 导出MIN_CALENDAR_YEAR/MAX_CALENDAR_YEAR供 UI 限制年份范围frontend/src/changelog.json— 新增 1.0.3 双语更新日志条目.claude/launch.json— 添加本地开发服务器配置.claude/skills/changelog/SKILL.md— 新增/changelog技能,发版前自动从 git 历史起草双语更新日志Test plan