-
Notifications
You must be signed in to change notification settings - Fork 1
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
[BI-1414] - Improve table loading message #205
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.
I requested changes on BI-1404 which this one seems to be based on. So this should wait to be merged until this changes are merged.
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.
Small change
} | ||
}).catch((error) => { | ||
// Display error that traits cannot be loaded | ||
this.$emit('show-error-notification', 'Error while trying to load traits'); | ||
this.traitsLoading = 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.
Same comment as on 1404, but these this.traitsLoading = false
can be put into a finally
so they are duplicated.
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.
Good point. Updated.
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.
happy-path test passed
Description
Story: BI-1414 - Improve table loading message
Updated both SidePanelTable.vue and ExpandableTable.vue to take in a loading prop and use it for logic re: displaying a no entries message.
Dependencies
bi-web/develop
Testing
Checklist: