-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Reload metadata button appears for PR versions (fixes #618) #662
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
Reload metadata button appears for PR versions (fixes #618) #662
Conversation
|
Beep boop! 🤖 Hey @pmc-a! Thanks for your PR! ✨ I can't wait to merge it 🤞 🛠️, but I don't have the permissions to do so. ❌ One of my human 👩 friends will review the changes 📝 and get back to you as soon as possible. 🕐 Stay awesome! 😎 |
|
Review app available at: https://hge-ci-pull-662.herokuapp.com |
shahidhk
left a comment
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.
Thanks for the contribution @pmc-a 🙏 😄
I checked out the review app at https://hge-ci-pull-662.herokuapp.com/console
The reload metadata section appears as expected 👏
But the Events tab has disappeared 😢. Can you check that out? The same behaviour applies for events tab also. If version > alpha15, show that tab, if the check fails, show the tab.
…://github.com/pmc-a/graphql-engine into bug/618-reload-metadata-version-check-failure
|
Thanks for the feedback @shahidhk! I've updated the PR, please have a look and let me know what you think! 😁 |
|
Review app available at: https://hge-ci-pull-662.herokuapp.com |
|
LGTM. @praveenweb Can you check if this branch needs to be updated in light of #676 ? Otherwise, let's merge. |
|
Review app https://hge-ci-pull-662.herokuapp.com is deleted |
… areas. (#662) 1. Use `map_or(…, …)` instead of `.map(…).unwrap_or(…)`. 2. Use `.is_some_and(…)` instead of `.map(…).unwrap_or_default(…)`. 3. Nest `|` patterns where possible. 4. Be more specific about match patterns. I found I could also simplify `typecheck_qualified_type_reference` considerably. V3_GIT_ORIGIN_REV_ID: 6a3b1a4c525c0187c2fdb6df0c979ca0b7b3016c
Description
Adding semver validation check before attempting to compare versions. Fix removes error message from console (both from
Main.jsandMetadata.js).Reload metadata now appears if version is a PR version.
What component does this PR affect?
Requires changes from other components? If yes, please mark the components:
Related Issue
Fixes #618
Solution and Design
semverhas a function that allows us to validate the version we're passing in. Adding this function call in before we perform the comparison between versions.Type
Checklist: