-
Notifications
You must be signed in to change notification settings - Fork 108
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
No operator action required issues #1040
Conversation
Changed Hide user issues filter to hide no operator action required issues
if (temporaryError) { | ||
return 'mdi-clock-alert' | ||
} |
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.
do you think we really need an own icon for temporary errors?
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.
I don't know. I thought has we highlight errors with known error codes, this could improve the ability to find out what is going on with your clusters faster. We can discuss this. As we also use this icon as an indication for cluster expiration it could irritate some users.
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.
I added a screenshot that shows the icon
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.
I removed the dedicated icon
Thanks, idea wise it looks good to me. |
Co-authored-by: Peter Sutter <peter.sutter@sap.com>
color="error" | ||
:icon="userError ? 'mdi-account-alert' : 'mdi-alert'" | ||
:icon="icon(userError, temporaryError)" | ||
:prominent="!!userError ? true : false" |
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.
:prominent="!!userError"
<div v-for="({ shortDescription, userError, temporaryError }) in tooltip.errorCodeObjects" :key="shortDescription"> | ||
<v-icon v-if="userError" class="mr-1" color="white" small>mdi-account-alert</v-icon> | ||
<v-icon v-else-if="temporaryError" class="mr-1" color="white" small>mdi-clock-alert</v-icon> | ||
<v-icon v-else class="mr-1" color="white" small>mdi-alert</v-icon> |
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.
Only the icon name is different. Why not a method like above?
Co-authored-by: Holger Koser <holger.koser@sap.com>
@@ -138,13 +138,10 @@ export default { | |||
} | |||
}, | |||
methods: { | |||
icon (userError, temporaryError) { | |||
icon ({ userError, temporaryError }) { |
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 we want to keep this method remove the unused temporaryError
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
What this PR does / why we need it:
This PR adds support for the new
ERR_INFRA_REQUEST_THROTTLING
error code.Furthermore the option to hide user issues for operators has been replaced by an option to remove both user issues and temporary issues.
Which issue(s) this PR fixes:
Fixes #1031 Fixes #1046
Special notes for your reviewer:
@vpnachev Please let me know if this change makes sense from your point of view.
Release note: