Data Feeds: Risk logic update, Address visibility changes#3783
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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! |
Genesis3800
approved these changes
May 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request refactors the logic for determining and displaying feed risk categories and address visibility in the data feeds UI. The main improvements include a more consistent and centralized approach to risk category resolution (including deprecation status), and a new mechanism for hiding specific feed addresses in the UI based on either product subtype or explicit overrides.
Feed risk category resolution and UI improvements:
FeedRequesttype and related data flows have been updated to include an optionalshutdownDate, allowing the deprecation status to be determined as part of the batch lookup process. [1] [2] [3]Feed address visibility logic:
shouldHideAddressutility and aCONTACT_EMAIL_PROXY_ADDRESSESset have been introduced. This allows the UI to hide the contract address for feeds withproductSubType === "calculatedPrice"or for specific proxy addresses listed in the override set. [1] [2] [3] [4] [5] [6] [7]shouldHideAddresslogic, ensuring consistent address-hiding behavior for both calculated-price feeds and one-off exceptions. [1] [2] [3] [4] [5]Minor UI and data handling fixes:
These changes make the risk category and address display logic more robust, maintainable, and easier to extend for future requirements.