Add tactile press feedback to admin buttons#3200
Conversation
Primary, secondary, tertiary and red admin buttons dip to 96% while pressed and spring back via the existing transition. Disabled under prefers-reduced-motion. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughButton variants now visually scale down while pressed, with the effect disabled for users who prefer reduced motion. The SCSS source and compiled admin stylesheet are updated. ChangesButton interaction feedback
Estimated code review effort: 2 (Simple) | ~5 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
|
Overall Grade |
Security Reliability Complexity Hygiene |
Code Review Summary
| Analyzer | Status | Updated (UTC) | Details |
|---|---|---|---|
| PHP | Jul 23, 2026 12:56p.m. | Review ↗ | |
| JavaScript | Jul 23, 2026 12:56p.m. | Review ↗ |
Important
AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.
No ticket — this is a design-polish idea from the Actions & Notifications prototype, not a tracked task.
Admin buttons had no press feedback. This adds a subtle tactile "dip" on click so buttons feel physical.
Screenshot / gif to add — the effect is motion, so a short gif shows it best.
In this update,
:activeand spring back via the existingtransition: all 0.2s ease.prefers-reduced-motion.CI note: the failing checks are pre-existing and unrelated to this change — Mago fails on
master, Cypress fails on all open PRs, and PHP 7.4 is flaky (green on other PRs). This diff is CSS-only (SCSS + compiledfrm_admin.css), no PHP/HTML touched.Summary by CodeRabbit