-
Notifications
You must be signed in to change notification settings - Fork 43
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
🐛 Optimize assessment fetching #1716
Conversation
Signed-off-by: Ian Bolton <[email protected]>
Signed-off-by: Ian Bolton <[email protected]>
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.
visack is ok
Considering how more things are being fetched and processed in aggregate, it may be time to reconsider how the query hooks are structured. There is a lot going on here and it is not unit/integration testable. It's to keep in mind and work on in the near future as things will not get less complicated as we go.
|
||
if (fetchError) { | ||
return <EmptyTextMessage message={t("terms.notAvailable")} />; | ||
} | ||
|
||
if (isFetching || isFetchingAssessmentsById) { | ||
if (isFetching || isFetching) { |
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.
if (isFetching || isFetching) { | |
if (isFetching) { |
Resolves https://issues.redhat.com/browse/MTA-2296 Resolves https://issues.redhat.com/browse/MTA-1973 --------- Signed-off-by: Ian Bolton <[email protected]> Signed-off-by: Cherry Picker <[email protected]>
Resolves https://issues.redhat.com/browse/MTA-2296 Resolves https://issues.redhat.com/browse/MTA-1973 --------- Signed-off-by: Ian Bolton <[email protected]> Signed-off-by: Cherry Picker <[email protected]> Signed-off-by: Ian Bolton <[email protected]> Signed-off-by: Cherry Picker <[email protected]> Co-authored-by: Ian Bolton <[email protected]>
Resolves https://issues.redhat.com/browse/MTA-2296
Resolves https://issues.redhat.com/browse/MTA-1973