Skip to content

Resource dashboard MVP#14942

Merged
wackerow merged 54 commits into
devfrom
dashboard
Mar 17, 2025
Merged

Resource dashboard MVP#14942
wackerow merged 54 commits into
devfrom
dashboard

Conversation

@wackerow
Copy link
Copy Markdown
Member

@wackerow wackerow commented Feb 19, 2025

Description

  • Creates new /resources/ page MVP
  • Added a new issue template for suggesting resources
  • Created contributing guidelines a new markdown file public/content/contributing/adding-resources/index.md detailing the policy and criteria for adding resources to ethereum.org.
  • Added new AreaChart, BarChart and RadialChart components
  • English strings extracted into new intl namespace
  • Includes redirect for /dashboards/ as alternate path

Preview link

New page: https://deploy-preview-14942--ethereumorg.netlify.app/en/resources
Linked from: https://deploy-preview-14942--ethereumorg.netlify.app/en/#activity

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 19, 2025

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 67b34b5
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/67d8266b4caa3700082e3f29
😎 Deploy Preview https://deploy-preview-14942--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: 48 (🔴 down 12 from production)
Accessibility: 92 (🔴 down 2 from production)
Best Practices: 87 (🔴 down 10 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.

@wackerow wackerow marked this pull request as draft February 19, 2025 04:36
@github-actions github-actions Bot added content 🖋️ This involves copy additions or edits tooling 🔧 Changes related to tooling of the project translation 🌍 This is related to our Translation Program labels Feb 19, 2025
Comment thread public/content/contributing/adding-resources/index.md Outdated

We want to make sure we list the best resources possible while keeping users safe and confident.

Anyone is free to suggest new resources to add to the resource dashboard on ethereum.org, currently found at [ethereum.org/resources](/resources/).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@nloureiro any thoughts on what we should call this page? resources doesnt seem right, but @wackerow mentioned that he feels the same about ethereum.org 'dashboard'

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah, would suggest perhaps a redirect from /dashboards/ -301-> /resources/ if we want to use that

Comment on lines +17 to +18
- _Inspirational_: anything on ethereum.org should offer something new to users
- _A good story_: what's listed should provide an "aha" moment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not saying we removed it, but this seems less true in dashboards than elsewhere. Perhaps because dashboards is a more 'advanced page'

@wackerow wackerow marked this pull request as ready for review March 3, 2025 15:08
@wackerow wackerow changed the title [WIP] Resource dashboard MVP Resource dashboard MVP Mar 3, 2025
Copy link
Copy Markdown
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! gj

Comment thread src/pages/[locale]/resources.tsx Outdated
Comment thread src/components/Resources/useResources.tsx

const data = [{ value }]

if (!isMounted) return null
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Noting a bit of layout shift. Wondering why do we need this.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good catch and agree; will table this for future iteration, cc: @TylerAPfledderer

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Noting that this chart and the AreaChart are wrapped with a Card component but not the Radial one.

I'd lean towards keeping the charts and dumb as possible (exporting just the chart) and control the wrapping elements/styles from the outside. To make it more reusable in the future.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good catch and agree; will table this for future iteration, cc: @TylerAPfledderer

Co-authored-by: Pablo Pettinari <pettinarip@gmail.com>
@wackerow wackerow merged commit a37827a into dev Mar 17, 2025
@wackerow wackerow deleted the dashboard branch March 17, 2025 13:42
@TylerAPfledderer
Copy link
Copy Markdown
Contributor

@pettinarip @wackerow now that this is merged, I will look to a new PR for future iteration, and referring comments made here.

@corwintines so it's clear for you: for the next QA session, it should just focus on items on this page that might be breaking logic or severely break the UX; no attention to anything that I will attend to later with design refinement

This was referenced Mar 26, 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 tooling 🔧 Changes related to tooling of the project translation 🌍 This is related to our Translation Program

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants