Skip to content

refactor(resources): refine page design to Figma spec #15164

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

Conversation

TylerAPfledderer
Copy link
Contributor

@TylerAPfledderer TylerAPfledderer commented Mar 25, 2025

Description

Updates the newly creates resources (aka "Dashboard") page to refine the design to better reflect the final proposal from Figma.

Important Information

I left the "What's on this page" nav design as is for the larger screens, as it is easier to manage it's sticky placement when scrolling. It does hide the unusual z-indexing of the arch meter chart in one of the sections.

cc @pettinarip @wackerow for better visibility

Copy link

netlify bot commented Mar 25, 2025

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 686c45a
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/67f801de9168c400077519a5
😎 Deploy Preview https://deploy-preview-15164--ethereumorg.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.

@github-actions github-actions bot added content 🖋️ This involves copy additions or edits translation 🌍 This is related to our Translation Program labels Mar 26, 2025
@konopkja
Copy link
Contributor

konopkja commented Mar 26, 2025

Can we include some event tracking on this page?

button on homepage leading to this resources page:

Event Catgory:
Homepage - en

Event Action:
ethereum_activity

Event name:
ethereum_activity


dashboard page

Event Catgory:
dashboard

Event Action:
whats_on_this_page

Event name:
network,using, scaling, resilience, privacy_security

Event Catgory:
dashboard

Event Action:
links

Event name:
{link_name}

@corwintines

@TylerAPfledderer
Copy link
Contributor Author

Can we include some event tracking on this page?

button on homepage leading to this resources page:

Event Catgory: Homepage - en

Event Action: ethereum_activity

Event name: ethereum_activity

dashboard page

Event Catgory: dashboard

Event Action: whats_on_this_page

Event name: network,using, scaling, resilience, privacy_security

Event Catgory: dashboard

Event Action: links

Event name: {link_name}

@corwintines

@konopkja Added!

@corwintines
Copy link
Member

@TylerAPfledderer is this ready for review? Was going to try and sneak in these Matomo events for this release if possible :D

@TylerAPfledderer
Copy link
Contributor Author

@corwintines I'll go ahead and open it. I had one design inquiry I mentioned in the Discord chat, but it's not pressing if the updates here are satisfactory.

@TylerAPfledderer TylerAPfledderer marked this pull request as ready for review March 27, 2025 23:12
@corwintines corwintines changed the base branch from dev to staging March 28, 2025 01:17
@corwintines
Copy link
Member

Awesome, yeah I think whatever changes come from that discussion we can open another PR for if thats ok. This seems fine for me in its current state.

Comment on lines 205 to 222
<VStack className="gap-4 py-16">
<div className="text-center font-bold">
<Translation id="page-resources:page-resources-find-more" />
</div>
</div>
</Section>
<ButtonLink
href="https://ethereumdashboards.com"
size="lg"
onClick={() => {
trackCustomEvent({
eventCategory: EVENT_CATEGORY,
eventAction: "links",
eventName: "ethereumdashboards.com",
})
}}
>
ethereumdashboards.com
</ButtonLink>
</VStack>
Copy link
Member

Choose a reason for hiding this comment

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

This get's a little complicated with translations, since not languages structures sentences the same as english. That was why the link was nested in the json string, so then translators can the move the link where it fits best within the sentence.

@lukassim Any thoughts if we could get away with this type of trailing button label in regards to translations?

image

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah good point ideally no links are in a fixed position in regards to the text since sentence structures can be different, this would likely cause issues in some languages

Copy link
Contributor Author

@TylerAPfledderer TylerAPfledderer Mar 28, 2025

Choose a reason for hiding this comment

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

@wackerow @lukassim

If ya don't mind 😅 what about keeping the text as a statement that's separate from the link?

"Find more great resources!"

<Button />

So, not limit the flexibility of the design, while still being clear of the action. When we have other links that take action on the page that look like buttons, if we kept it as a link here, it might look like there is a broken style.

There is nothing else near this collection in the whitespace, so the clarity should still be maintained.

@corwintines corwintines self-assigned this Apr 10, 2025
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.

LGTM, bringing this in for the matomo events.

@corwintines corwintines merged commit 89d310e into ethereum:staging Apr 10, 2025
10 checks passed
@TylerAPfledderer TylerAPfledderer deleted the refactor/refine-dashboard-page-design branch April 11, 2025 07:57
This was referenced Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content 🖋️ This involves copy additions or edits translation 🌍 This is related to our Translation Program
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants