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

chore: convert statLoadingMessage #8199

Merged

Conversation

therealharpaljadeja
Copy link
Contributor

Description

Convert the StatLoadingMessage component to Chakra

Related Issue

Epic: #6374

@gatsby-cloud
Copy link

gatsby-cloud bot commented Oct 7, 2022

✅ ethereum-org-website-dev deploy preview ready

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 @therealharpaljadeja! Nice work. One tiny detail from me and then I think this is good to go! 😄

@pettinarip noting that the StatErrorMessage component needs to be migrated first before this is merged, as it is dependent on a Styled component (IndicatorSpan) originally imported from this component.

export const IndicatorSpan = styled.span<IProps>`
${typography}
`
export interface IProps {}
Copy link
Contributor

Choose a reason for hiding this comment

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

This interface needs to be expanded to include a Chakra props type so that you can pass in Chakra props at the parent level. (i.e. The Stat component in what-is-ethereum page currently throws a type error)

Suggested change
export interface IProps {}
export interface IProps extends TextProps {}

@pettinarip
Copy link
Member

Good point @TylerAPfledderer ✌🏼 I'll quickly add those things in here.

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.

lgtm! thanks @therealharpaljadeja

Be sure to join the discord if you are interested in contributing further to the project or have any questions for the team. And we've just released our 2022 POAPs so remember to claim yours also 🥳!

@pettinarip pettinarip merged commit 1310ec0 into ethereum:dev Jan 25, 2023
@gitpoap-bot
Copy link

gitpoap-bot bot commented Jan 25, 2023

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

GitPOAP: 2023 Ethereum.org Contributor:

GitPOAP: 2023 Ethereum.org Contributor GitPOAP Badge

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

Learn more about GitPOAPs here.

@pettinarip
Copy link
Member

@all-contributors please add @therealharpaljadeja for code

@allcontributors
Copy link
Contributor

@pettinarip

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

@corwintines corwintines mentioned this pull request Jan 26, 2023
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