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

fix(web): remove navigation items component loading skeleton #724

Merged
merged 3 commits into from
Feb 14, 2025

Conversation

PJColombo
Copy link
Member

Checklist

  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

It fixes an issue where the navigation menus component was displaying a loading skeleton while the env vars were being fetched

Now it displays the component regardless of env var loading

It also adds zod logic to parse PUBLIC_SUPPORTED_NETWORKS env var instead of handling it on the client

Motivation and Context (Optional)

Related Issue (Optional)

Screenshots (if appropriate):

Screen.Recording.2025-02-14.at.19.05.34.mov

Copy link

changeset-bot bot commented Feb 14, 2025

🦋 Changeset detected

Latest commit: 15bf32e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@blobscan/web Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Feb 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

6 Skipped Deployments
Name Status Preview Comments Updated (UTC)
blobscan-docs ⬜️ Ignored (Inspect) Visit Preview Feb 14, 2025 6:13pm
blobscan-gnosis ⬜️ Ignored (Inspect) Visit Preview Feb 14, 2025 6:13pm
blobscan-holesky ⬜️ Ignored (Inspect) Visit Preview Feb 14, 2025 6:13pm
blobscan-mainnet ⬜️ Ignored (Inspect) Visit Preview Feb 14, 2025 6:13pm
blobscan-sepolia ⬜️ Ignored (Inspect) Visit Preview Feb 14, 2025 6:13pm
blobscan-staging ⬜️ Ignored (Inspect) Visit Preview Feb 14, 2025 6:13pm

Copy link
Contributor

github-actions bot commented Feb 14, 2025

📦 Next.js Bundle Analysis for @blobscan/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Copy link

codecov bot commented Feb 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.80%. Comparing base (2a4f2b7) to head (15bf32e).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #724      +/-   ##
==========================================
- Coverage   88.81%   88.80%   -0.01%     
==========================================
  Files         163      163              
  Lines       11094    11090       -4     
  Branches     1208     1208              
==========================================
- Hits         9853     9849       -4     
  Misses       1241     1241              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@PJColombo PJColombo merged commit baecae5 into main Feb 14, 2025
14 checks passed
@PJColombo PJColombo deleted the fix/web/navigation-menu-skeleton branch February 14, 2025 18:24
@github-actions github-actions bot mentioned this pull request Feb 14, 2025
luis-herasme pushed a commit that referenced this pull request Feb 24, 2025
* chore(web): parse `PUBLIC_SUPPORTED_NETWORKS` env var

* fix(web): prevent skeleton display in navigation items component regardless of env var loading

* chore: add changeset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant