-
Notifications
You must be signed in to change notification settings - Fork 5k
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
feat: use new design for FileContributors #14898
base: dev
Are you sure you want to change the base?
feat: use new design for FileContributors #14898
Conversation
❌ Deploy Preview for ethereumorg failed.
|
Hey @konopkja, could you take a look at this? Let me know if anything needs improvement! |
@konopkja Sure, I'll work on this soon! |
Hey @konopkja , I’ve adjusted the gap and made the updates for mobile. I also want to point out a few additional changes I made that you might not notice:
Could you take a look at those as well and let me know if everything looks fine? Appreciate your feedback! |
Hey @JoeChenJ it looks perfect! Really appreciate this particular contribution <3 |
shall we discuss extending this component to other pages outside developer docs or would it be better tackled in another PR? |
I think it would be best to merge this PR first, and then we can extend it in another one, as it might take a bit more time |
…com/JoeChenJ/ethereum-org-website into Use_new_design_for_FileContributors
Hey @konopkja, I've made some progress on the extension—the component is now available at the end of the markdown pages. Since this PR is still open, I've pushed the changes here! |
|
@JoeChenJ, great contribution! Thank you From my side, this component should always be at the end of the content, before the callouts and widgets. I would add a border-top to it. See if this screenshot helps. Are you thinking of all content pages? Something like all pages minus (homepage & Hubpages). Is this the goal? |
@nloureiro thank you for the guidance! Adding a border-top looks much better. I was planning to add this component on every page, but not sure if it fits well across all designs. Do you think we should exclude certain pages? Would love to get your thought on it! |
Hey @nloureiro @konopkja , I've added this component on the following React pages:
Could you please review them and let me know if I need to remove it from some pages/add it on more pages, or tweak its position on certain pages? Thank you! |
That's wierld, I think the changes in #14931 lead to this problem |
should be fine now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job on this so far @JoeChenJ!
I just have a couple changes, and one note.
I think for consistency sake across the site, we should have this above the feedback card. I think the pages I noticed where it wasn't and it looked odd for me was:
- /what-is-ethereum
- /run-a-node
- /get-eth
- /gas
- /wallets
There may have been some conflicting feedback on this before, but chatted with @nloureiro and @konopkja today to confirm this.
Thats the main design change for this, but I have one note to add to let you know about. We will be bringing in #15114 shortly, which changes the path for these react pages. I want to bring that PR in first, and then check if we need to make any changes to the getPageContributorInfo
function in @/lib/utils/contributors.ts
.
Overall, this is great and excited to get this in. For me just the little design cleanup, and then spot checking the functionality after that other PR is brought in.
Second that... Will try to help add clarity on the changes the above PR will bring. Page components are getting moved to a new location, but also being split into two files. One will be the base page (server component), and the other will contain any client-side logic. By example, let's look at the bug-bounty page:
@pettinarip Correct me if I'm wrong, but to my understand the existing page components ( |
Unfortunately, the commit history didn't carry over to the new path, if we merge |
1240255
to
0319ac9
Compare
Description
Use new design for
FileContributors
Related Issue
#8024 & #14473