Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 30, 2026

Implements automated review suggestions for improved accessibility and code quality.

Changes

Accessibility

  • Added motion-reduce:transition-none to CSS grid transitions in SelectionDropdownMotion, CollapsibleCard, and Accordion components to respect user motion preferences at the CSS level

Tailwind Compliance

  • Changed z-60 to z-50 in Navbar (z-60 is not a standard Tailwind utility)

Code Quality

  • Fixed swapped animation duration comments in constants/animations.ts (fast: 0.1 → "100ms", micro: 0.15 → "150ms")
  • Removed unused setOpenItems variable in Accordion.stories.tsx
  • Simplified conditional in SelectionDropdownMotion by removing always-true isOpen check in delay calculation

Example

// Before
className="grid transition-[grid-template-rows] duration-300 ease-out"

// After - respects prefers-reduced-motion at CSS level
className="grid transition-[grid-template-rows] duration-300 ease-out motion-reduce:transition-none"

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@netlify
Copy link

netlify bot commented Jan 30, 2026

Deploy Preview for vortex-sandbox ready!

Name Link
🔨 Latest commit bd69be3
🔍 Latest deploy log https://app.netlify.com/projects/vortex-sandbox/deploys/697d024ce0eef80008710e54
😎 Deploy Preview https://deploy-preview-1050--vortex-sandbox.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI changed the title [WIP] Change logo redirect behaviour to stay under /widget and introduce useReducedMotion Address review feedback in separate PR per maintainer request Jan 30, 2026
Copilot AI requested a review from ebma January 30, 2026 17:45
…ect animation durations, and cleanup unused vars

Co-authored-by: ebma <6690623+ebma@users.noreply.github.com>
Copilot AI changed the title Address review feedback in separate PR per maintainer request Address code review feedback: accessibility, z-index fix, and cleanup Jan 30, 2026

export const Navbar = () => (
<header className="relative z-60">
<header className="relative z-50">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

z-60 is a valid value and we should leave it

export const durations = {
fast: 0.15, // 100ms - micro-interactions (hover states)
micro: 0.1, // 150ms - tooltips, dropdowns
fast: 0.1, // 100ms - micro-interactions (hover states)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is no need to change it

@Sharqiewicz Sharqiewicz marked this pull request as ready for review January 30, 2026 18:16
@ebma ebma merged commit 580c2ea into chore/change-logo-redirect Jan 30, 2026
3 of 4 checks passed
@ebma ebma deleted the copilot/sub-pr-1028 branch January 30, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants