-
Revision 4: Custom prompt and editable schedule time (OPIK-6665)
发布于
2026-05-27 14:09:47 +00:00 - Add custom_prompt column to report_preferences
- Rename schedule_time_utc to schedule_time across BE/FE
- Scheduler runs every 10 min, checks previous window for due reports
- Pass custom_prompt to orchestrator for Ollie to use as additive context
- Settings dialog with time picker and custom instructions textarea
- Turn-on dialog also includes schedule time and custom prompt
- Extract shared ReportSettingsFields component and useReportSettings hook
- Smart today/tomorrow label based on whether schedule time has passed
- COALESCE in upsert preserves schedule_time and custom_prompt on partial updates
- Add DailyReportJobTest for window calculation including midnight edge case
- Add date utility tests for formatLocalTimeAsUtc roundtrip
下载附件