Skip to content
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

fix: alternate connector support for visual metrics #5909

Merged
merged 8 commits into from
Oct 16, 2024

Conversation

briangregoryholmes
Copy link
Contributor

No description provided.

@briangregoryholmes briangregoryholmes self-assigned this Oct 15, 2024
@ericpgreen2 ericpgreen2 added the blocker A release blocker issue that should be resolved before a new release label Oct 15, 2024
@medriscoll
Copy link
Contributor

Just adding to this per a Slack thread with @ericpgreen2 -- will this allow the drop-down menu to be populated correctly in the Visual Metrics Editor? (For projects that reference a CH table, the drop-down is currently null).

image

@briangregoryholmes
Copy link
Contributor Author

Yes

@briangregoryholmes briangregoryholmes marked this pull request as ready for review October 15, 2024 22:49
Copy link
Contributor

@ericpgreen2 ericpgreen2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just one nice-to-have would be a memory of the last Model/Table selected, so that when you toggle back-and-forth between Model/Table, you go back to your previous state.

@@ -44,7 +44,7 @@ export function prettyResourceKind(kind: string) {
export function useResource<T = V1Resource>(
instanceId: string,
name: string,
kind: ResourceKind,
kind: ResourceKind | undefined,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we avoid setting this to undefined? It feels like it breaks the semantics

@ericpgreen2 ericpgreen2 merged commit e1320f2 into main Oct 16, 2024
7 checks passed
@ericpgreen2 ericpgreen2 deleted the bgh/visual-metrics-clickhouse branch October 16, 2024 03:21
ericpgreen2 pushed a commit that referenced this pull request Oct 16, 2024
* wip

* cleanup

* wip

* cleanup

* feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker A release blocker issue that should be resolved before a new release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants