Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(APIKeyModal): implement useFocus hook #6290

Merged
merged 13 commits into from
Nov 11, 2024

Conversation

makafsal
Copy link
Member

@makafsal makafsal commented Oct 24, 2024

Closes #6245 #6252 #6249 #6247 #6375

What did you change?

Implemented the useFocus hook into the APIKeyModal component

How did you test and verify your work?

yarn test
yarn avt
Storybook

@makafsal makafsal requested a review from a team as a code owner October 24, 2024 07:18
@makafsal makafsal requested review from matthewgallo and anamikaanu96 and removed request for a team October 24, 2024 07:18
Copy link

netlify bot commented Oct 24, 2024

Deploy Preview for ibm-products-web-components ready!

Name Link
🔨 Latest commit d52d0b4
🔍 Latest deploy log https://app.netlify.com/sites/ibm-products-web-components/deploys/672c5e4ed7fa950008231dd7
😎 Deploy Preview https://deploy-preview-6290--ibm-products-web-components.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.

Copy link

netlify bot commented Oct 24, 2024

Deploy Preview for carbon-for-ibm-products ready!

Name Link
🔨 Latest commit d52d0b4
🔍 Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/672c5e4eb8990500087dcf4b
😎 Deploy Preview https://deploy-preview-6290--carbon-for-ibm-products.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.

@makafsal makafsal added the hacktoberfest https://hacktoberfest.com/ label Oct 24, 2024
Copy link

codecov bot commented Oct 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.61%. Comparing base (365c310) to head (d52d0b4).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6290      +/-   ##
==========================================
+ Coverage   79.57%   79.61%   +0.04%     
==========================================
  Files         394      394              
  Lines       12840    12858      +18     
  Branches     4253     4263      +10     
==========================================
+ Hits        10217    10237      +20     
+ Misses       2623     2621       -2     
Components Coverage Δ
ibm-products ∅ <ø> (∅)
ibm-products-web-components ∅ <ø> (∅)

@makafsal makafsal requested a review from matthewgallo November 4, 2024 14:11
anamikaanu96
anamikaanu96 previously approved these changes Nov 6, 2024
Copy link
Contributor

@anamikaanu96 anamikaanu96 left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link
Member

@matthewgallo matthewgallo left a comment

Choose a reason for hiding this comment

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

Can you add some unit tests for the new focus updates? I'm guessing they could be fairly similar to the tests you added to tearsheet when the new focus hook was added there.

@matthewgallo matthewgallo added this pull request to the merge queue Nov 11, 2024
Merged via the queue into carbon-design-system:main with commit 4a92770 Nov 11, 2024
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest https://hacktoberfest.com/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[a11y]: API Key Modal, While Modal active , parent page controls are navigable /readable:
3 participants