-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
console: mark inconsistent schemas in the UI (close #5093) #5181
console: mark inconsistent schemas in the UI (close #5093) #5181
Conversation
Review app for commit c9deb67 deployed to Heroku: https://hge-ci-pull-5181.herokuapp.com |
Review app for commit ffc6958 deployed to Heroku: https://hge-ci-pull-5181.herokuapp.com |
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.
@beerose right now, this PR accomplishes all that was mentioned on #5093, to render a different icon along with a tooltip if the remote schema is inconsistent. But I noticed that there are the following problems that we probably must address:
- Reload button which is present on the View
page of the Remote Schema page does not work as expected - goes to a 404
- Reload Metadata button also fails due to some redux error that happens on the Remote Schema page.
These issues were handled.
console/src/components/Services/Settings/MetadataOptions/ReloadRemoteSchema.js
Outdated
Show resolved
Hide resolved
Review app for commit 16100f7 deployed to Heroku: https://hge-ci-pull-5181.herokuapp.com |
console/src/components/Services/Settings/MetadataOptions/ReloadRemoteSchema.js
Outdated
Show resolved
Hide resolved
Review app for commit dddcc5d deployed to Heroku: https://hge-ci-pull-5181.herokuapp.com |
Review app for commit acaf3c0 deployed to Heroku: https://hge-ci-pull-5181.herokuapp.com |
Review app for commit 1ef1bd8 deployed to Heroku: https://hge-ci-pull-5181.herokuapp.com |
Review app for commit 5d31c80 deployed to Heroku: https://hge-ci-pull-5181.herokuapp.com |
<small> | ||
Note: Please make sure to rectify the errors present in the schema | ||
before trying to modify it's details. | ||
</small> |
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.
@beerose added this note to sort of mitigate the problem that arises when we try to modify inconsistent schemas. I'll remove this if it is not required.
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 think it should only be present if the remote schema is inconsistent. It may be confusing IMO. However, if getting this information on the modify page is non-trivial then we can skip it.
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.
Updated this to be display msg on details page and disabling modify/delete btns
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.
Self-review note(s)
Review app for commit 9a52ad8 deployed to Heroku: https://hge-ci-pull-5181.herokuapp.com |
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.
UX approved
Review app for commit 0550bd2 deployed to Heroku: https://hge-ci-pull-5181.herokuapp.com |
Review app for commit 1bd0da9 deployed to Heroku: https://hge-ci-pull-5181.herokuapp.com |
Review app https://hge-ci-pull-5181.herokuapp.com is deleted |
closes #5093
Description
Inconsistent Remote Schemas are not rendered on the
Remote Schema
page on updating metadata. This PR fixes that and allows users to modify the inconsistent schema from theRemote Schema
pageChangelog (required)
CHANGELOG.md
is updated with user-facing content relevant to this PR. If no changelog is required, then add theno-changelog-required
label.Affected components