Skip to content

Conversation

@dev-dist
Copy link
Collaborator

Prevents users from accessing networks with zero visible feeds by making the mainnet/testnet toggle respect hidden feed flags

Changes

  • Extract feed visibility logic into shared utility function (feedVisibility.ts)
  • Update availableNetworkTypes computation to check for at least one visible feed before enabling network toggle
  • Network toggles now disabled when all feeds are hidden

@dev-dist dev-dist requested a review from a team as a code owner November 17, 2025 04:19
@vercel
Copy link

vercel bot commented Nov 17, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
documentation Ready Ready Preview Nov 17, 2025 8:35pm

@github-actions
Copy link
Contributor

👋 dev-dist, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@dev-dist dev-dist changed the title Tables: isFeedVisible() utility Feed Lists: isFeedVisible() utility Nov 17, 2025
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