Skip to content

Conversation

@beamandala
Copy link
Contributor

Description

Refactored Breadcrumbs.tsx from styled components to ChakraUI.

Related Issue

#6374

@gatsby-cloud
Copy link

gatsby-cloud bot commented Nov 17, 2022

✅ ethereum-org-website-dev deploy preview ready

@pettinarip pettinarip mentioned this pull request Nov 17, 2022
80 tasks
Copy link
Contributor

@TylerAPfledderer TylerAPfledderer left a comment

Choose a reason for hiding this comment

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

Hey @master7130!

Nice PR here, I have left only one comment with the changes you have made. 😄

However, I believe this component can use Charka's BreadCrumb multi-component and retain this component to provide additional needed logic.

The only tiny gotcha from what I can see is that the Chakra version currently deployed in this project is not up-to-date and therefore the BreadCrumb will not have the listProps prop for immediate access to the list element rendered for styling. So the workaround would be the following to get rid of the left margin from the global styles:

<BreadCrumb
  sx={{
    ms: 0
  }}
/>

I would also like @pettinarip's feedback on this recommendation.

Copy link
Member

@pettinarip pettinarip left a comment

Choose a reason for hiding this comment

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

Looking good @master7130 💪🏼

@pettinarip
Copy link
Member

Good suggestion @TylerAPfledderer. I agree with you, we should use the Chakra's component. However, I think we can merge this PR for now.

I've created a new issue to tackle the replacement. I haven't assigned anyone yet. Please, leave a comment on the issue if someone is interested in working on that. Thanks 🙏🏼

@pettinarip pettinarip merged commit 0e3a319 into ethereum:dev Nov 28, 2022
@gitpoap-bot
Copy link

gitpoap-bot bot commented Nov 28, 2022

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

GitPOAP: 2022 Ethereum.org Contributor:

GitPOAP: 2022 Ethereum.org Contributor GitPOAP Badge

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

Learn more about GitPOAPs here.

@corwintines corwintines mentioned this pull request Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants