-
Notifications
You must be signed in to change notification settings - Fork 621
Dashboard: Remove OP Sponsored badge in Chain selector #7948
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: Remove OP Sponsored badge in Chain selector #7948
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
WalkthroughSponsor-related logic and UI were removed: the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (2)
💤 Files with no reviewable changes (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
✨ Finishing Touches
🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
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. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7948 +/- ##
=======================================
Coverage 56.53% 56.53%
=======================================
Files 904 904
Lines 58623 58623
Branches 4146 4146
=======================================
Hits 33144 33144
Misses 25373 25373
Partials 106 106
🚀 New features to boost your workflow:
|
size-limit report 📦
|
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 removes the handling of sponsored chains from the `CustomChainRenderer` component, including the related constant and UI elements that indicate whether a chain is sponsored.
### Detailed summary
- Deleted the import of `OPSponsoredChains` from `@/constants/chains`.
- Removed the `isSponsored` variable that checks if a chain is sponsored.
- Eliminated the UI block that displayed "Sponsored" for sponsored chains.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- Refactor
- Removed the Sponsored badge from the chain list, simplifying the chain renderer.
- Deprecated chains still display a Deprecated badge and remain non-interactive.
- Clicking non-deprecated chains continues to switch networks; the Configure Network button is unchanged.
- Chores
- Removed obsolete sponsor-related configuration and references.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
9024bba to
c331d18
Compare

PR-Codex overview
This PR removes the dependency on
OPSponsoredChainsfrom theCustomChainRenderercomponent, along with the related UI that indicates whether a chain is sponsored.Detailed summary
OPSponsoredChainsfrom@/constants/chains.isSponsoredvariable that checked if a chain is sponsored.Summary by CodeRabbit
Refactor
Chores