Fixes the header-overlap on /app/schedules reported in #463.
Root cause
The "Active schedule" Select (SchedulesScreen.tsx:480) rendered at the component default fullWidth=true → .ctv-field-full { width: 100% }. In the flex .ctv-schedule-header that makes it demand the whole row, overlapping the title/counts block and the Add/Edit/Delete buttons.
Fix (pure-SPA/CSS)
fullWidth={false} so the selector sizes to content, bounded to 150–260px via style so a long schedule name can't re-widen it. The native <select> value truncates within the frame (.ctv-select { min-width: 0 }).
Regression test asserts the selector wrapper is not.ctv-field-full.
No API/DB change. SchedulesScreen.test.tsx 25 green; lint/typecheck clean; prod build OK. Visual confirmation (screenshot) to follow.
Fixes the header-overlap on `/app/schedules` reported in #463.
## Root cause
The "Active schedule" `Select` (`SchedulesScreen.tsx:480`) rendered at the component default `fullWidth=true` → `.ctv-field-full { width: 100% }`. In the flex `.ctv-schedule-header` that makes it demand the whole row, overlapping the title/counts block and the Add/Edit/Delete buttons.
## Fix (pure-SPA/CSS)
- `fullWidth={false}` so the selector sizes to content, bounded to **150–260px** via `style` so a long schedule name can't re-widen it. The native `<select>` value truncates within the frame (`.ctv-select { min-width: 0 }`).
- Regression test asserts the selector wrapper is **not** `.ctv-field-full`.
No API/DB change. `SchedulesScreen.test.tsx` 25 green; lint/typecheck clean; prod build OK. Visual confirmation (screenshot) to follow.
fixes #463
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The header selector rendered at the Select default `fullWidth=true`, which applies
`.ctv-field-full { width: 100% }`. In the flex `.ctv-schedule-header` that made it
demand the whole row, overlapping/distorting the title block and Add/Edit/Delete
buttons. Pass `fullWidth={false}` (sizes to content) + bound it to 150–260px so a
long schedule name can't re-widen it; the native select's value truncates within
the frame (`.ctv-select { min-width: 0 }`).
Pure-SPA/CSS, no API/DB change. Regression test asserts the selector wrapper is not
`.ctv-field-full`.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Independent cold review (fresh agent, review-only) of the diff. Verified: fullWidth={false} correctly drops .ctv-field-full { width:100% } (the exact overflow cause); style lands on .ctv-field-frame (a real flex box) so the 150–260px bound applies; .ctv-select { min-width:0 } truncates the value cleanly; the wrapped-width @media path is fine (the selector wraps to its own line instead of overlapping); and the regression test is non-vacuous (fails if fullWidth={false} is removed). No a11y regression.
Nits (cosmetic, no change): a very long schedule name ellipsizes in the closed control (full text visible when opened; minWidth 150 keeps it legible) — acceptable and strictly better than the prior full-row overlap. No docs owed (one-off style prop, not a convention change).
## Cold adversarial review — MERGEABLE-WITH-NITS
Independent cold review (fresh agent, review-only) of the diff. Verified: `fullWidth={false}` correctly drops `.ctv-field-full { width:100% }` (the exact overflow cause); `style` lands on `.ctv-field-frame` (a real flex box) so the 150–260px bound applies; `.ctv-select { min-width:0 }` truncates the value cleanly; the wrapped-width `@media` path is fine (the selector wraps to its own line instead of overlapping); and the regression test is non-vacuous (fails if `fullWidth={false}` is removed). No a11y regression.
Nits (cosmetic, no change): a very long schedule name ellipsizes in the *closed* control (full text visible when opened; minWidth 150 keeps it legible) — acceptable and strictly better than the prior full-row overlap. No docs owed (one-off style prop, not a convention change).
Review-verdict: MERGEABLE @ df617a64c70c715c4b2b32ea015b55f2d2123e22
timothy
merged commit cc2968de15 into main2026-07-19 12:21:01 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes the header-overlap on
/app/schedulesreported in #463.Root cause
The "Active schedule"
Select(SchedulesScreen.tsx:480) rendered at the component defaultfullWidth=true→.ctv-field-full { width: 100% }. In the flex.ctv-schedule-headerthat makes it demand the whole row, overlapping the title/counts block and the Add/Edit/Delete buttons.Fix (pure-SPA/CSS)
fullWidth={false}so the selector sizes to content, bounded to 150–260px viastyleso a long schedule name can't re-widen it. The native<select>value truncates within the frame (.ctv-select { min-width: 0 })..ctv-field-full.No API/DB change.
SchedulesScreen.test.tsx25 green; lint/typecheck clean; prod build OK. Visual confirmation (screenshot) to follow.fixes #463
🤖 Generated with Claude Code
The header selector rendered at the Select default `fullWidth=true`, which applies `.ctv-field-full { width: 100% }`. In the flex `.ctv-schedule-header` that made it demand the whole row, overlapping/distorting the title block and Add/Edit/Delete buttons. Pass `fullWidth={false}` (sizes to content) + bound it to 150–260px so a long schedule name can't re-widen it; the native select's value truncates within the frame (`.ctv-select { min-width: 0 }`). Pure-SPA/CSS, no API/DB change. Regression test asserts the selector wrapper is not `.ctv-field-full`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>Cold adversarial review — MERGEABLE-WITH-NITS
Independent cold review (fresh agent, review-only) of the diff. Verified:
fullWidth={false}correctly drops.ctv-field-full { width:100% }(the exact overflow cause);stylelands on.ctv-field-frame(a real flex box) so the 150–260px bound applies;.ctv-select { min-width:0 }truncates the value cleanly; the wrapped-width@mediapath is fine (the selector wraps to its own line instead of overlapping); and the regression test is non-vacuous (fails iffullWidth={false}is removed). No a11y regression.Nits (cosmetic, no change): a very long schedule name ellipsizes in the closed control (full text visible when opened; minWidth 150 keeps it legible) — acceptable and strictly better than the prior full-row overlap. No docs owed (one-off style prop, not a convention change).
Review-verdict: MERGEABLE @
df617a64c7