Skip to content

fix(qa): filter past hackathons and add site name to page titles#18180

Merged
wackerow merged 1 commit into
devfrom
fix/qa-weekly-issues-may-2026
May 13, 2026
Merged

fix(qa): filter past hackathons and add site name to page titles#18180
wackerow merged 1 commit into
devfrom
fix/qa-weekly-issues-may-2026

Conversation

@nloureiro
Copy link
Copy Markdown
Contributor

Summary

Fixes three issues found in the weekly automated QA review (2026-05-11).

Changes

  • Past hackathons on /developers/: getHackathons() now applies a runtime date guard so events past their end date are never shown, even if the cached event data is stale.
  • Missing `| ethereum.org` in page titles: Added consistent site-name suffix to the meta titles for `/developers/`, `/get-eth/`, and `/layer-2/`, matching the pattern already used on the homepage and roadmap pages.

Not included

The "roadmap for 2025" heading on `/what-is-ethereum/` is already fixed on `dev` (says 2026) — it just hasn't shipped to production yet.

- app/[locale]/developers/utils.tsx: getHackathons() now applies a
  runtime date guard (endTime/startTime >= now) so stale cached data
  never surfaces already-finished events in the hackathon section.

- src/intl/en/page-developers-index.json: add '| ethereum.org' suffix
  to meta title for /developers/

- src/intl/en/page-get-eth.json: add '| ethereum.org' suffix to meta
  title for /get-eth/

- src/intl/en/page-layer-2.json: add '| ethereum.org' suffix to meta
  title for /layer-2/

Identified via weekly QA automated review (2026-05-11).
@netlify
Copy link
Copy Markdown

netlify Bot commented May 13, 2026

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit ad24b32
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/6a0437cbb5bd820008644961
😎 Deploy Preview https://deploy-preview-18180.ethereum.it
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 66 (🟢 up 1 from production)
Accessibility: 96 (no change from production)
Best Practices: 100 (no change from production)
SEO: 98 (🔴 down 1 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 project configuration.

@github-actions github-actions Bot added content 🖋️ This involves copy additions or edits translation 🌍 This is related to our Translation Program labels May 13, 2026
@@ -1,5 +1,5 @@
{
"page-developer-meta-title": "Ethereum Developer Resources",
"page-developer-meta-title": "Ethereum Developer Resources | ethereum.org",
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.

@nloureiro I see we're using this pattern inconsistently -- I think a cleaner solution would be to bake this into the src/lib/utils/metadata.ts getMetadata helper function. We have siteTitle in there which displays ethereum.org, which we could automatically append to the end of the titles on all pages.

  • Avoids repeating ourselves
  • Avoids unnecessary intl complications
  • Avoids inconsistency for any new pages

The homepage uses "Ethereum - The complete guide from Ethereum.org" which 1- we should lowercase "ethereum.org", and 2- we can simply opt that page out of automatically appending | ethereum.org to the end since it'd be redundant.

If you're okay with that, perhaps we revert these from this PR, merge in the hackathon changes, and we can set up an issue to fix up the og:title metadata in a separate PR.

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.

Issue #18185 posted with refactor summary -- No harm in just pulling these in and a follow-up task can address more completely.

@@ -1,5 +1,5 @@
{
"page-developer-meta-title": "Ethereum Developer Resources",
"page-developer-meta-title": "Ethereum Developer Resources | ethereum.org",
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.

Issue #18185 posted with refactor summary -- No harm in just pulling these in and a follow-up task can address more completely.

@wackerow wackerow merged commit 4988b78 into dev May 13, 2026
21 checks passed
@wackerow wackerow deleted the fix/qa-weekly-issues-may-2026 branch May 13, 2026 14:40
@pettinarip pettinarip mentioned this pull request May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent generated 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.

2 participants