feat(rain): add date preset picker and reduce time clarification prompts.
Memind CI / Test, build, and release guards (push) Successful in 5m5s

Default to last 3 days in UI and backend, only ask when time is truly ambiguous, and treat「做成页面」as HTML report pages without follow-up questions.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-09-07 16:54:11 +08:00
parent 7cc3fb7f8a
commit d2d463b1db
11 changed files with 230 additions and 24 deletions
+12
View File
@@ -0,0 +1,12 @@
export type RainTimePresetId = 'today' | 'yesterday' | '3d' | '7d';
export const RAIN_SKILL_ID = 'rain';
export const RAIN_TIME_PRESET_OPTIONS: ReadonlyArray<{ id: RainTimePresetId; label: string }> = [
{ id: 'today', label: '今天' },
{ id: 'yesterday', label: '昨天' },
{ id: '3d', label: '近3天' },
{ id: '7d', label: '近7天' },
];
export const DEFAULT_RAIN_TIME_PRESET: RainTimePresetId = '3d';