-
Notifications
You must be signed in to change notification settings - Fork 621
Dashboard: disable prefetch for footer links #6756
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
Dashboard: disable prefetch for footer links #6756
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
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. |
size-limit report 📦
|
b87deda to
27cae28
Compare
Merge activity
|
<!--
## 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 -->
27cae28 to
5a5d7c6
Compare
<!--
## 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 -->
5a5d7c6 to
563c4c7
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
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
🚀 New features to boost your workflow:
|

PR-Codex overview
This PR introduces a new
footerLinksarray to streamline the rendering of footer links in theAppFootercomponent. It replaces hardcodedLinkcomponents with a dynamic mapping of thefooterLinks, enhancing maintainability and readability.Detailed summary
footerLinksarray containing objects withhrefandlabel.Linkcomponents with a mapping offooterLinksto renderFooterLinkcomponents.FooterLinkfunctional component to handle link rendering.