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

Add regions selector to the query editor #57

Merged
merged 8 commits into from
Oct 27, 2020
Merged

Conversation

aocenas
Copy link
Member

@aocenas aocenas commented Oct 26, 2020

Screenshot from 2020-10-26 21-07-44

One caveat right now is that in config the regions are not loaded from aws because it's a bit tricky to get hold of the datasource at that moment (as we are just creating it) and we may not have credentials yet.

@@ -0,0 +1,20 @@
import { useEffect } from 'react';
// @ts-ignore
import appEvents from 'grafana/app/core/app_events';
Copy link
Member

Choose a reason for hiding this comment

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

This gives me a cringe 😅

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah not great, added a coment mentioning it's because it's not exported in the sdk yet

Copy link
Member

@zoltanbedi zoltanbedi left a comment

Choose a reason for hiding this comment

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

Awesome work!

@aocenas aocenas merged commit a644a25 into master Oct 27, 2020
@aocenas aocenas deleted the aocenas/regions-select branch October 27, 2020 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants