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

Added story for DocLink component [resolves #14595] #14630

Conversation

alexandriaroberts
Copy link
Contributor

Created story tests for the DocLink component

Description

  • Move /src/components/DocLink.tsx to /src/components/DocLink/index.tsx

  • Fix any filepath changes to imports for the DocLink component

  • Create story file /src/components/DocLink/DocLink.stories.tsx

  • Writes story testing render of DocLink component in context of use

Related Issue

Closes #14595

Copy link

netlify bot commented Jan 9, 2025

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 6f74897
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/67902cc5265ce00008ab5904
😎 Deploy Preview https://deploy-preview-14630--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 49 (🟢 up 1 from production)
Accessibility: 92 (no change from production)
Best Practices: 89 (🔴 down 9 from production)
SEO: 98 (no change from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

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

Copy link
Member

@wackerow wackerow left a comment

Choose a reason for hiding this comment

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

Thanks @alexandriaroberts! Left one note about placement of the story, otherwise this looks great to me!

src/components/DocLink/DocLink.stories.tsx Outdated Show resolved Hide resolved
Copy link
Member

@corwintines corwintines left a comment

Choose a reason for hiding this comment

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

Great! Thank you @alexandriaroberts!

@corwintines
Copy link
Member

@all-contributors can you add @alexandriaroberts for code

Copy link
Contributor

@corwintines

I've put up a pull request to add @alexandriaroberts! 🎉

@corwintines corwintines merged commit e2fa609 into ethereum:dev Jan 21, 2025
5 of 6 checks passed
Copy link

gitpoap-bot bot commented Jan 21, 2025

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

Be sure to join the Ethereum.org discord if you are interested in contributing further to the project or have any questions for the team.

GitPOAP: 2025 Ethereum.org Contributor:

GitPOAP: 2025 Ethereum.org Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

@alexandriaroberts alexandriaroberts deleted the add_story_tests_for_DocLink_component branch January 24, 2025 00:25
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.

Create story for DocLink component
3 participants