Skip to content

Conversation

@jmgasper
Copy link
Collaborator

Reported issue from Slack

@jmgasper jmgasper requested a review from kkartunov as a code owner November 10, 2025 22:17
@jmgasper jmgasper merged commit bd29900 into dev Nov 10, 2025
4 of 6 checks passed
)
: submissions
const canShowSubmissionList = !isTopgearSubmissionTab
const canShowSubmissionList = (allowTopgearSubmissionList || !isTopgearSubmissionTab)

Choose a reason for hiding this comment

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

[❗❗ correctness]
The logic for canShowSubmissionList has been modified to include allowTopgearSubmissionList. Ensure that this change aligns with the intended business logic, as it alters the conditions under which the submission list is displayed.

),
[myResources],
)
const allowTopgearSubmissionList = useMemo(

Choose a reason for hiding this comment

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

[⚠️ performance]
The use of useMemo for allowTopgearSubmissionList is appropriate for performance optimization, but ensure that the dependencies [actionChallengeRole, hasIterativeReviewerRole] are exhaustive and correctly capture all factors influencing this value.

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