Skip to content

Conversation

@Sharqiewicz
Copy link
Member

@Sharqiewicz Sharqiewicz commented Jan 22, 2026

📋 Summary
This PR adjusts the widget flow so clicking the Logo keeps navigation under the /widget route, and introduces a useReducedMotion hook to respect users’ reduced-motion preferences for animations.

🎯 Key Changes

  • Updates Logo click/redirect behavior so the widget flow stays scoped under /widget rather than bouncing to a broader app route.
  • Introduces useReducedMotion to detect reduced-motion preference and allow disabling/reducing animations accordingly.
  • Minor related UI behavior tweaks implied by the above routing + motion-preference integration (review for any side effects in navigation/animation defaults).

📛 Breaking changes: No.

🆙 Dependencies: No.

⚙️ Configuration: No.

✅ Review Focus Areas

  • Confirm all Logo entry points in the widget flow resolve to routes under /widget (including nested routes, query params, and back/forward browser navigation).
  • Verify useReducedMotion is wired to the correct animation/transition paths and that “reduced motion” mode results in usable UI (no missing state changes that were previously animation-driven).
  • Check edge cases: deep-linked widget pages, refresh-on-subroute, and any place where absolute navigation might still escape /widget (e.g., hardcoded links or redirects).

@netlify
Copy link

netlify bot commented Jan 22, 2026

Deploy Preview for vortexfi ready!

Name Link
🔨 Latest commit 663d331
🔍 Latest deploy log https://app.netlify.com/projects/vortexfi/deploys/6971f7eaf4a55b00086db580
😎 Deploy Preview https://deploy-preview-1028--vortexfi.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.

@netlify
Copy link

netlify bot commented Jan 22, 2026

Deploy Preview for vortex-sandbox ready!

Name Link
🔨 Latest commit 663d331
🔍 Latest deploy log https://app.netlify.com/projects/vortex-sandbox/deploys/6971f7ead7c99a0008830717
😎 Deploy Preview https://deploy-preview-1028--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.

@Sharqiewicz Sharqiewicz changed the title draft: add new components stories ready: Change Logo redirect behaviour to stay under /widget in the widget flow + introduce useReducedMotion Jan 22, 2026
@Sharqiewicz Sharqiewicz marked this pull request as ready for review January 22, 2026 10:02
@Sharqiewicz Sharqiewicz requested review from ebma and gianfra-t January 22, 2026 10:05
@Sharqiewicz
Copy link
Member Author

The main purpose of the PR is what we discussed: when user is in the /widget flow and clicks on "Vortex" then they're going to stay under /widget and the flow resets.
In addition to this PR I implemented useReducedMotion

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.

2 participants