Use UI flag createdAt as announcement start date via /ui-flags/v2 FEDEV-3937#2602
Open
qwinndev wants to merge 6 commits into
Open
Use UI flag createdAt as announcement start date via /ui-flags/v2 FEDEV-3937#2602qwinndev wants to merge 6 commits into
qwinndev wants to merge 6 commits into
Conversation
Deploying gmx-interface with
|
| Latest commit: |
e6160ec
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6a377d53.gmx-interface.pages.dev |
| Branch Preview URL: | https://ui-flags-v2-createdat-announ.gmx-interface.pages.dev |
Deploying gmx-interface-home with
|
| Latest commit: |
e6160ec
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d062ab41.gmx-interface-home.pages.dev |
| Branch Preview URL: | https://ui-flags-v2-createdat-announ.gmx-interface-home.pages.dev |
Base automatically changed from
whats-new-toast-announcements-page-fedev-3855
to
release
July 2, 2026 09:45
Playwright Component Test ReportAll tests passed. Commit e6160ec |
timgmxio
approved these changes
Jul 8, 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.
Frontend half of FEDEV-3937. Reads UI flags from the keeper's new
/ui-flags/v2endpoint and uses each flag's activation time (createdAt) as the start date for flag-driven announcements that have no explicitstartDate— so the Announcements page and the What's New toast display and sort by the real go-live date instead of falling back to the removal date (endDate).Stacked on
whats-new-toast-announcements-page-fedev-3855— this PR is based on that branch; retarget toreleaseonce it merges. Keeper side: gmx-io/gmx-synthetics-keeper#529.Changes
fetchUiFlagsnow hits/ui-flags/v2;UiFlagsisRecord<string, { enabled, createdAt, updatedAt }>. Every consumer reads?.enabled— no runtime behavior change.getEventStartDate/ updatedgetEventSortDate, with precedence: explicitstartDate> flagcreatedAt>endDate. Used by the Announcements page sort + card and the What's New toast.createdAtamong enabled chains.localStoragecache key to invalidate old boolean-shaped entries.https://linear.app/gmx-io/issue/FEDEV-3937