Skip to content

feat(dev-hub) Add Pyth Pro ID Status#3445

Merged
aditya520 merged 4 commits intomainfrom
feat(dev-hub)-add-pyth-pro-id-status
Feb 10, 2026
Merged

feat(dev-hub) Add Pyth Pro ID Status#3445
aditya520 merged 4 commits intomainfrom
feat(dev-hub)-add-pyth-pro-id-status

Conversation

@aditya520
Copy link
Member

Summary

Rationale

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

@vercel
Copy link

vercel bot commented Feb 5, 2026

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

Project Deployment Actions Updated (UTC)
component-library Ready Ready Preview, Comment Feb 9, 2026 4:13pm
developer-hub Ready Ready Preview, Comment Feb 9, 2026 4:13pm
pyth-app Ready Ready Preview, Comment Feb 9, 2026 4:13pm
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
api-reference Skipped Skipped Feb 9, 2026 4:13pm
entropy-explorer Skipped Skipped Feb 9, 2026 4:13pm
insights Skipped Skipped Feb 9, 2026 4:13pm
proposals Skipped Skipped Feb 9, 2026 4:13pm
staking Skipped Skipped Feb 9, 2026 4:13pm

Request Review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 703062bf0e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +212 to +215
// Reset page when status filter changes
useEffect(() => {
updatePage(1);
}, [selectedStates, updatePage]);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve deep-linked page instead of resetting on mount

This effect always calls updatePage(1) on the initial render, because selectedStates is initialized in state and the effect runs once on mount. That means a deep link such as ?page=3 (or any non-default page restored by useQueryParamFilterPagination) will be immediately overwritten back to page 1 even before the user changes the status filter. This regression only appears when the page is opened with a non-default page in the query params; consider guarding the reset so it only runs after an explicit filter change.

Useful? React with 👍 / 👎.

Copy link
Contributor

@alexcambose alexcambose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this is the intended behaviour? I feel like I'm expecting to just see the "Inactive" ones if I click on "Inactive" when everything is selected.
Please feel free to ignore if it is.

Screen.Recording.2026-02-06.at.11.53.24.mov

@aditya520
Copy link
Member Author

aditya520 commented Feb 6, 2026

You ave to select InActive and de select all other for the intended beaviour

@vercel vercel bot temporarily deployed to Preview – api-reference February 9, 2026 16:10 Inactive
@vercel vercel bot temporarily deployed to Preview – insights February 9, 2026 16:10 Inactive
@aditya520 aditya520 merged commit adc8fb4 into main Feb 10, 2026
9 checks passed
@aditya520 aditya520 deleted the feat(dev-hub)-add-pyth-pro-id-status branch February 10, 2026 15:25
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.

2 participants