Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Apr 17, 2025


PR-Codex overview

This PR introduces a new footerLinks array to streamline the rendering of footer links in the AppFooter component. It replaces hardcoded Link components with a dynamic mapping of the footerLinks, enhancing maintainability and readability.

Detailed summary

  • Added a footerLinks array containing objects with href and label.
  • Replaced individual Link components with a mapping of footerLinks to render FooterLink components.
  • Introduced a new FooterLink functional component to handle link rendering.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@vercel
Copy link

vercel bot commented Apr 17, 2025

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

Name Status Preview Comments Updated (UTC)
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 7:55pm
4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Apr 17, 2025 7:55pm
login ⬜️ Skipped (Inspect) Apr 17, 2025 7:55pm
thirdweb_playground ⬜️ Skipped (Inspect) Apr 17, 2025 7:55pm
wallet-ui ⬜️ Skipped (Inspect) Apr 17, 2025 7:55pm

@vercel vercel bot temporarily deployed to Preview – docs-v2 April 17, 2025 15:09 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui April 17, 2025 15:09 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground April 17, 2025 15:09 Inactive
@vercel vercel bot temporarily deployed to Preview – login April 17, 2025 15:09 Inactive
@changeset-bot
Copy link

changeset-bot bot commented Apr 17, 2025

⚠️ No Changeset found

Latest commit: 563c4c7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@MananTank MananTank marked this pull request as ready for review April 17, 2025 15:09
@MananTank MananTank requested review from a team as code owners April 17, 2025 15:09
@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Apr 17, 2025
Copy link
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 17, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 50.57 KB (0%) 1.1 s (0%) 172 ms (+151.03% 🔺) 1.2 s
thirdweb (cjs) 138.73 KB (0%) 2.8 s (0%) 266 ms (+53.97% 🔺) 3.1 s
thirdweb (minimal + tree-shaking) 5.59 KB (0%) 112 ms (0%) 55 ms (+820.57% 🔺) 166 ms
thirdweb/chains (tree-shaking) 514 B (0%) 11 ms (0%) 34 ms (+852% 🔺) 44 ms
thirdweb/react (minimal + tree-shaking) 19.36 KB (0%) 388 ms (0%) 88 ms (+578.2% 🔺) 475 ms

@MananTank MananTank force-pushed the 04-17-dashboard_disable_prefetch_for_footer_links branch from b87deda to 27cae28 Compare April 17, 2025 15:15
@vercel vercel bot temporarily deployed to Preview – wallet-ui April 17, 2025 15:15 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground April 17, 2025 15:15 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 April 17, 2025 15:15 Inactive
@vercel vercel bot temporarily deployed to Preview – login April 17, 2025 15:15 Inactive
@graphite-app
Copy link
Contributor

graphite-app bot commented Apr 17, 2025

Merge activity

graphite-app bot pushed a commit that referenced this pull request Apr 17, 2025
<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces a new component structure for the `AppFooter` in the `app-footer.tsx` file. It replaces hardcoded footer links with a dynamic array, enhancing maintainability and readability.

### Detailed summary
- Added a `footerLinks` array containing link objects with `href` and `label`.
- Replaced individual `Link` components with a mapped rendering of `FooterLink` components.
- Introduced a new `FooterLink` function component to handle link rendering.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
@graphite-app graphite-app bot force-pushed the 04-17-dashboard_disable_prefetch_for_footer_links branch from 27cae28 to 5a5d7c6 Compare April 17, 2025 19:40
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground April 17, 2025 19:40 Inactive
@vercel vercel bot temporarily deployed to Preview – login April 17, 2025 19:40 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 April 17, 2025 19:40 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui April 17, 2025 19:40 Inactive
<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR refactors the `AppFooter` component in `app-footer.tsx` by introducing a new `footerLinks` array to manage footer link data and replaces individual `Link` components with a new `FooterLink` function to enhance maintainability and readability.

### Detailed summary
- Added `footerLinks` array containing link objects with `href` and `label`.
- Replaced individual `Link` components with a mapped `FooterLink` component.
- Introduced `FooterLink` function to streamline link rendering and improve code clarity.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
@graphite-app graphite-app bot force-pushed the 04-17-dashboard_disable_prefetch_for_footer_links branch from 5a5d7c6 to 563c4c7 Compare April 17, 2025 19:41
@vercel vercel bot temporarily deployed to Preview – login April 17, 2025 19:41 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui April 17, 2025 19:41 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground April 17, 2025 19:41 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 April 17, 2025 19:41 Inactive
@codecov
Copy link

codecov bot commented Apr 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.10%. Comparing base (32c91ab) to head (563c4c7).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6756   +/-   ##
=======================================
  Coverage   55.10%   55.10%           
=======================================
  Files         896      896           
  Lines       56700    56700           
  Branches     3914     3914           
=======================================
  Hits        31247    31247           
  Misses      25357    25357           
  Partials       96       96           
Flag Coverage Δ
packages 55.10% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@graphite-app graphite-app bot merged commit 563c4c7 into main Apr 17, 2025
23 checks passed
@graphite-app graphite-app bot deleted the 04-17-dashboard_disable_prefetch_for_footer_links branch April 17, 2025 19:56
@vercel vercel bot temporarily deployed to Production – login April 17, 2025 19:56 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui April 17, 2025 19:56 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 April 17, 2025 19:56 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground April 17, 2025 19:56 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dashboard Involves changes to the Dashboard.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants