Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Feedback widget - Chakra-UI refactor #160

Closed
wants to merge 5 commits into from
Closed

Feedback widget - Chakra-UI refactor #160

wants to merge 5 commits into from

Conversation

wackerow
Copy link
Member

@wackerow wackerow commented Dec 1, 2023

Description

  • Updates FeedbackWidget component, refactored using Chakra-UI AlertDialog
    • Removes need for focus-trap-react package previously being used
    • Removes need for useKeyPress hook previously being used
    • Removed need for useOnClickOutside hook previously being used
  • Implements FeedbackWidget inside RootLayout

Cherry-picks bc400d6 from #152, implementing useSurvey hook

Preview link

https://deploy-preview-160--ethereum-org-fork.netlify.app/en/about

Related Issue

https://www.notion.so/efdn/Add-Feedback-widget-c99e6d8e04b0425ca6769c7ddf63ba7d?pvs=4

Note: Alternative approach to #161 which requires an additional package and migration of two otherwise unused hooks. Takes advantage of Chakra-UI Alert Dialog component set, and useDisclosure hook.

Copy link

netlify bot commented Dec 1, 2023

Deploy Preview for ethereum-org-fork ready!

Name Link
🔨 Latest commit 06cca57
🔍 Latest deploy log https://app.netlify.com/sites/ethereum-org-fork/deploys/65974a26cd828600083b85a9
😎 Deploy Preview https://deploy-preview-160--ethereum-org-fork.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 site configuration.

@wackerow wackerow marked this pull request as draft December 1, 2023 06:10
@wackerow wackerow changed the title Feedback widget Feedback widget - Chakra Dec 1, 2023
@wackerow wackerow changed the title Feedback widget - Chakra Feedback widget - Chakra-UI refactor Dec 1, 2023
@nhsz
Copy link
Member

nhsz commented Dec 5, 2023

#161 approved and merged, we can tackle this refactor after production release, I've added a card to the backlog https://www.notion.so/efdn/refactor-Feedback-widget-701332e814d94ff8a78ff6a6b5f0e1c1?pvs=4

@wackerow wackerow self-assigned this Dec 7, 2023
@wackerow
Copy link
Member Author

Closing in favor of ethereum#11906

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants