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 issue with config select dependencies #20

Merged
merged 4 commits into from
May 25, 2022

Conversation

sarahzinger
Copy link
Member

Fixes grafana/athena-datasource#144

We were missing the dependencies for access key and secret key which meant when these values updated, other select fields (such as catalog in athena) would not re-fetch as it didn't notice a change.

tsconfig.json Outdated
@@ -2,6 +2,7 @@
"extends": "@grafana/tsconfig/base.json",
"include": ["src", "index.js"],
"compilerOptions": {
"jsx": "react",
Copy link
Member Author

Choose a reason for hiding this comment

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

I'm somewhat unclear on this change tbh, I needed it locally but Idk if that means there's something wrong with my setup?

Copy link
Collaborator

Choose a reason for hiding this comment

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

if it's not in the @grafana/tsconfig/base.json then it's fine to add this here

Copy link
Member Author

Choose a reason for hiding this comment

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

it does seem to be there, so I'm going to say this was something weird with my local set up that now seems to have resolved itself (new computer problems haha)

@@ -0,0 +1,13 @@
# Contributing Docs

## Local Dev
Copy link
Member Author

Choose a reason for hiding this comment

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

maybe it's just me but I always forget how to do this so I added it to our docs. Idk if this is really best place for it?

Copy link
Collaborator

Choose a reason for hiding this comment

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

it's helpful so my +1

@sarahzinger sarahzinger requested review from a team, sunker and aangelisc and removed request for a team May 24, 2022 21:11
Copy link
Collaborator

@andresmgot andresmgot left a comment

Choose a reason for hiding this comment

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

LGTM! Remember to modify the package.json if you want to release this code

CHANGELOG.md Outdated
@@ -2,6 +2,11 @@

All notable changes to this project will be documented in this file.

## next
Copy link
Collaborator

Choose a reason for hiding this comment

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

you can release 0.0.37 after you merge this

@@ -0,0 +1,13 @@
# Contributing Docs

## Local Dev
Copy link
Collaborator

Choose a reason for hiding this comment

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

it's helpful so my +1

tsconfig.json Outdated
@@ -2,6 +2,7 @@
"extends": "@grafana/tsconfig/base.json",
"include": ["src", "index.js"],
"compilerOptions": {
"jsx": "react",
Copy link
Collaborator

Choose a reason for hiding this comment

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

if it's not in the @grafana/tsconfig/base.json then it's fine to add this here

Copy link

@aangelisc aangelisc left a comment

Choose a reason for hiding this comment

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

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auth Bug: updating auth does not change results of catalog fetch
3 participants