Repository navigation
[3693 by Claude Opus 5.5] Tap targets under 32 px left after #3609 - #3699
Conversation
…px on touch layouts, and nothing changes on desktop. Each one uses the invisible `::after` hit area (`touch-hit`) from #3670, except the expanded dashboard rows, which grow to 32 px on touch instead (explained below). What changed (propr-ui only) - Dashboard "earlier updates": the "N earlier updates" / "Hide…" toggle (20 px) now uses `touch-hit`. The expanded update rows (24 px) are a different case: they sit directly on top of each other, so an invisible box on each would overlap its neighbours. They become 32 px tall on touch layouts instead (`touch:min-h-8`), which is a small visible change on phones only. - Repository "Select" rows: the button had `truncate`, which clips its own `::after` box. The button now gets `touch-hit`, and the name is truncated by an inner span instead. - Segmented controls: I changed all three in the automation editor: Schedule (Off / Repeat), Event trigger and Autonomy. Each group had `overflow-hidden`, which also clipped the hit box. I removed it, and the first and last segments now round their own corners. The screenshot shows they look the same as before. - Inbox Dismiss: the list's ✕ button gets `touch-hit`. From 640 px up it is 24 px, so at 844×390 it was too small. Tests - I extended `e2e/touch-hit-areas.pw.ts` with four tests: the automation segments, the repository Select rows, the dashboard toggle and rows, and the Inbox Dismiss button. Each runs at 390, 320 and 844 px, measures the box including the pseudo-element, hit-tests its edges, and checks there is no sideways scroll. - I moved the Inbox API stub into `touch-hit-areas.fixture.ts`, together with a new `expectNoSideScroll` helper. - Check against the old code: with the source changes reverted, every new check fails. The Inbox Dismiss check fails only at 844 px, which matches the issue. - With the fix: that spec plus `dashboard-recent-updates`, `automations-schedule-repeat`, `inbox-dismissal`, `navigation-history` and `global-search-repository` all pass (57 tests). The related unit tests pass (489), and typecheck and zero-warning lint are clean. Left alone: the "Done" button in the Inbox's open-item pane is 28 px, but that pane only appears on desktop widths, not at 844 px, so I didn't change it. I've attached two phone-width (390 px) previews: the dashboard with earlier updates expanded, and the automation editor's segmented controls.
|
/ultrafix goal=8 max=3 |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 3) First action:
|
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR is merge-ready within scope, conditional on the five pending checks completing successfully. The changes are localized and consistent with the 32×32 px touch-target objective. ✅ Clipping addressed — Repository labels retain truncation inside a span, while segmented controls remove ancestor clipping and preserve rounded outer corners. ✅ Appropriate row sizing — Expanded dashboard updates use a touch-only minimum height, giving each link its own target without extending into neighboring rows. ✅ Focused regression coverage — New tests check target dimensions, edge hit-testing, and horizontal overflow at 320, 390, and 844 px. This assessment uses static review of the supplied diff and context; no commands or tests were run. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Exercise expanded-area activationConsider adding coordinate-based taps outside the visible control but inside its enlarged target, then asserting selection or dismissal occurs. The current tests verify geometry and hit ownership, which is valuable, but do not exercise activation through the pseudo-element—particularly native radio-label activation in Autonomy. This is optional additional coverage, not a demonstrated defect. ScoreThe implementation addresses the requested controls with limited complexity and targeted regression tests. No merge-blocking defect was verified; the supplied current-head status has no failures and five checks pending. Score: 9/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
CI failed: Validate Changes Please investigate and fix this CI failure.
Failure evidence
|
Checks FailedValidation failed during setup, tests, CLI packaging, linting, or build checks. View Logs |
|
✅ Applied the requested follow-up changes in commit 564c36c Summary of ChangesI fixed the failing Validate Changes check. The test was out of date, not the code. The only edit is to the test file Cause: this PR makes the expanded "earlier updates" rows on the dashboard 32 px tall on touch layouts, and phone widths count as touch layouts. An older check in the "dashboard cleanup … at 390px" test still required every row to be 28 px or shorter. That check passes on desktop but fails at 390 px. Fix: the check now depends on the layout:
Verification:
I didn't capture new previews because this follow-up doesn't change anything users see. Review digestRisk-tiered paths
Diff size: 1 file changed, +4/−1 lines 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…t of date, not the code. The only edit is to the test file `propr-ui/e2e/dashboard-sections.pw.ts`. I fixed the failing Validate Changes check. The test was out of date, not the code. The only edit is to the test file `propr-ui/e2e/dashboard-sections.pw.ts`. **Cause:** this PR makes the expanded "earlier updates" rows on the dashboard 32 px tall on touch layouts, and phone widths count as touch layouts. An older check in the "dashboard cleanup … at 390px" test still required every row to be 28 px or shorter. That check passes on desktop but fails at 390 px. **Fix:** the check now depends on the layout: - **Desktop (1440 px):** rows must still be 28 px or shorter, as before. - **Phone widths (under 640 px):** rows must be exactly 32 px, so the test now also confirms the new tap size is applied. **Verification:** - The failing test passes at both 1440 and 390 px. - All 19 tests in `dashboard-sections.pw.ts` and `dashboard-recent-updates.pw.ts` pass. - Zero-warning lint is clean on the edited file. I didn't capture new previews because this follow-up doesn't change anything users see. PR: #3699 Comment by: @propr-dev[bot] (ID: 6976080057) Model: Claude Opus 5.5
|
ℹ️ Analyzed the follow-up request by @github-actions[bot] Analysis SummaryI made no changes. The failure in that comment is already fixed on the branch, but CI hasn't passed on the current commit yet.
I didn't create previews because nothing visible changed in this follow-up. No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
CI failed: Validate Changes Please investigate and fix this CI failure.
Failure evidence
|
Checks FailedValidation failed during setup, tests, CLI packaging, linting, or build checks. View Logs |
|
ℹ️ Analyzed the follow-up request by @github-actions[bot], @propr-dev[bot] Analysis SummaryI made no code changes. The Validate Changes failure was a CI infrastructure problem, not something in this PR.
The real smoke-test failure from the earlier commit (run 44283419904) is what the previous follow-up fixed in I didn't create any previews, since nothing visible changed. No code changes were necessary based on the current state of the branch. 🤖 Analysis Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
AI Implementation Summary
Closes #3693
Branch:
3693/claude-opus-5-5-tap-targets-under-32-px-l-20261118-0951-1btCommits: ✅ Changes committed (3812b76)
AI Processing Completed
Execution Details:
Summary:
All four controls from the issue now take taps across at least 32×32 px on touch layouts, and nothing changes on desktop. Each one uses the invisible
::afterhit area (touch-hit) from #3670, except the expanded dashboard rows, which grow to 32 px on touch instead (explained below).What changed (propr-ui only)
touch-hit. The expanded update rows (24 px) are a different case: they sit directly on top of each other, so an invisible box on each would overlap its neighbours. They become 32 px tall on touch layouts instead (touch:min-h-8), which is a small visible change on phones only.truncate, which clips its own::afterbox. The button now getstouch-hit, and the name is truncated by an inner span instead.overflow-hidden, which also clipped the hit box. I removed it, and the first and last segments now round their own corners. The screenshot shows they look the same as before.touch-hit. From 640 px up it is 24 px, so at 844×390 it was too small.Tests
e2e/touch-hit-areas.pw.tswith four tests: the automation segments, the repository Select rows, the dashboard toggle and rows, and the Inbox Dismiss button. Each runs at 390, 320 and 844 px, measures the box including the pseudo-element, hit-tests its edges, and checks there is no sideways scroll.touch-hit-areas.fixture.ts, together with a newexpectNoSideScrollhelper.dashboard-recent-updates,automations-schedule-repeat,inbox-dismissal,navigation-historyandglobal-search-repositoryall pass (57 tests). The related unit tests pass (489), and typecheck and zero-warning lint are clean.Left alone: the "Done" button in the Inbox's open-item pane is 28 px, but that pane only appears on desktop widths, not at 844 px, so I didn't change it.
I've attached two phone-width (390 px) previews: the dashboard with earlier updates expanded, and the automation editor's segmented controls.
Review digest
Risk-tiered paths
propr-ui/src/components/Agents/AgentAutonomySection.tsx(+2/−2)propr-ui/src/components/Agents/AgentEventTriggerSection.tsx(+2/−2)propr-ui/src/components/Agents/AgentScheduleSection.tsx(+2/−2)propr-ui/src/components/Dashboard/CompletedFeed.tsx(+2/−2)propr-ui/src/components/RepositoryListItem.tsx(+3/−2)propr-ui/src/pages/InboxPageComponents.tsx(+1/−1)propr-ui/e2e/touch-hit-areas.fixture.ts(+25/−0)propr-ui/e2e/touch-hit-areas.pw.ts(+68/−18)Diff size: 8 files changed, +105/−29 lines
View task for the run's logs and conversation.
This PR was created automatically by ProPR after processing issue #3693.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!
Visual preview
Automation editor segmented controls (390px, touch)
Schedule, Event trigger and Autonomy segments no longer clip their 32px hit box; corners are still rounded and the controls look the same as before.
Full-size original
Dashboard earlier updates on a phone (390px, touch)
The expanded earlier-update rows are now 32px tall on touch layouts; the toggle keeps its size and takes taps in an invisible 32px box. Desktop is unchanged.
Full-size original