-
Notifications
You must be signed in to change notification settings - Fork 72
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
Skip database selection step when monitors would have no databases #5056
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
Passing run #8745 ↗︎
Details:
Review all test suite changes for PR #5056 ↗︎ |
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.
The changes look good. Approved!
@@ -81,7 +87,11 @@ const ConfigureMonitorForm = ({ | |||
single_dataset: false, | |||
}; | |||
} | |||
onAdvance(payload); | |||
if (databasesAvailable) { |
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.
crystal clear code
const [putMonitorMutationTrigger, { isLoading: isSubmitting }] = | ||
usePutDiscoveryMonitorMutation(); | ||
|
||
const { data: databases } = useGetDatabasesByConnectionQuery({ |
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.
Perfect. Having the data fetching higher up in the component hierarchy is very useful.
Passing run #8746 ↗︎
Details:
Review all test suite changes for PR #5056 ↗︎ |
Description Of Changes
In discovery monitor configuration UI, changes form to submit immediately instead of advancing to blank project selection UI when there are no projects associated with the integration.
Code Changes
Steps to Confirm
Pre-Merge Checklist
CHANGELOG.md