List decisions on the steward's profile page#602
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
scazan
commented
Feb 13, 2026
|
|
||
| const hasDecisionProfiles = (decisionProfiles.data?.items?.length ?? 0) > 0; | ||
| const hasLegacyInstances = (legacyInstances.data?.instances?.length ?? 0) > 0; | ||
| const hasPublishedDecisions = decisionProfiles.data?.items?.some( |
Collaborator
Author
There was a problem hiding this comment.
Might need to restructure this a bit on the backend since ordering needs to push published to the top. Followup PR for that.
scazan
commented
Feb 13, 2026
| ); | ||
|
|
||
| if (!hasDecisionProfiles && !hasLegacyInstances) { | ||
| return null; |
scazan
commented
Feb 13, 2026
| total: result.total, | ||
| hasMore: result.hasMore, | ||
| })) | ||
| .filter((instance) => { |
Collaborator
Author
There was a problem hiding this comment.
We filter ones that don't pass because we are unfortunately sharing space with new and old. This is only the case for three known processes that will be migrated. This prevents any breakage as a result.
nourmalaeb
approved these changes
Feb 13, 2026
a762360 to
1261164
Compare
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.
Updates our decisions tab.