You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(settings): redesign the Daily review surfaces #1902
Two surfaces, one feature, both currently misbehaving.
Settings › Daily review (daily-review-settings-page.tsx) renders every row as an Astryx Item with an endContent control. Two of those controls break out of the row: the 执行时间 TextInput (:190) overflows the card's right edge instead of sitting inside it, and the 分析模型 Selector (:246, width={320}) opens a popover that extends past the card's left edge and covers the row that opened it. Nine switch rows, one text input and one selector also read as a flat undifferentiated list — 深度分析 (costs more) and 生成后发送外部通知 (not wired up yet) carry the same weight as an ordinary section toggle.
Module hub › Daily review (daily-review-panel.tsx) mixes range controls, date navigation, four metric blocks, report navigation and a large empty-state card carrying a second copy of the header's generation action.
Desired outcome
Settings: every control stays inside its row's bounds; popovers open within the card and never cover their own trigger; rows that cost money or are not yet wired are visually distinguishable from ordinary toggles.
Module: the report is the dominant structure; range and date navigation converge into one compact pattern; zero-value metrics do not need four separate blocks; each generation mode has exactly one entry point.
Verification
Storybook for both surfaces including the open-selector state and narrow width; a computed-style contract that the time input and the selector popover stay within their container; live-app before/after.
Note
Supersedes the Daily review section of #1452 and adds the settings page, which #1452 never covered.
Activity
Astro-Han commentedon Aug 2, 2026
I’m taking this. I’ll rebuild both Daily Review surfaces from the Astryx templates rather than patch the current overflow.
The implementation boundary is:
daily/deepmodes with one range-based generation contract for 1 / 7 / 30 days;I’ll work in one draft PR and keep the runtime changes limited to what the simplified UI contract requires.