-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Add assessment/review status to archetype table #1755
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look good so far. Discarding review/assessment doesn't invalidate the archetypes query & results in stale data.
cca860b
to
cb38a68
Compare
I've added the invalidation but the re-fetch is happening too quick. Even when manual |
This is what application table does: tackle2-ui/client/src/app/pages/applications/applications-table/applications-table.tsx Lines 246 to 258 in 3e3d690
tackle2-ui/client/src/app/pages/applications/applications-table/applications-table.tsx Lines 291 to 306 in 3e3d690
I'm not a fan of the invalidation in the component's mutation onSuccess() handler, but it is what it is. |
46f8bde
to
c55bba8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Tested and the assessment and review columns seem to reset immediately after the delete/discard is complete. Looks like the query invalidations are working correctly now.
Review states: 1. Completed - a review exists 2. NotStarted Assessment states: 1. Completed - all required assessments done (based on 'assessed' flag) 2. InProgress - some assessments done 3. NotStarted Signed-off-by: Radoslaw Szwajkowski <[email protected]>
50655ca
to
e8abd43
Compare
@sjd78 removed unnecessary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and no more nit-picks! :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Review states:
Assessment states:
Resolves: #1751