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

ConfigEditor updates #72

Merged
merged 16 commits into from
Sep 12, 2023
Merged

ConfigEditor updates #72

merged 16 commits into from
Sep 12, 2023

Conversation

aangelisc
Copy link
Contributor

@aangelisc aangelisc commented Sep 7, 2023

For standardisation across Grafana we're updating datasource config editors to be more consistent. This is a part of https://github.com/grafana/oss-plugin-partnerships/issues/225.

This is a breaking change as the plugin now has a minimum Grafana dependency of 9.5.0

The config editor has been updated to replace InlineField with Field and the config editor has been refactored to use the new config editor structural components. There is also now individual validation on required fields. Node version has also been upgraded to 18.

image

Fixes grafana/oss-plugin-partnerships#254

- Replace legacy components
- Update tests
- Add version utils
- Add grafana/experimental
@aangelisc aangelisc self-assigned this Sep 7, 2023
@aangelisc aangelisc requested a review from a team as a code owner September 7, 2023 12:55
@aangelisc aangelisc requested review from asimpson, bossinc, adamyeats and alyssabull and removed request for a team September 7, 2023 12:55
@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

Copy link
Contributor

@adamyeats adamyeats left a comment

Choose a reason for hiding this comment

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

👍 Looks good! I'd be keen to see if the semver package can be used instead of having our own code for this, it's so commonly used that it's probably already in our deps tree somewhere so we're probably OK just to depend on it ourselves.

src/utils/version.ts Show resolved Hide resolved
.config/webpack/webpack.config.ts Show resolved Hide resolved
src/components/Divider.tsx Outdated Show resolved Hide resolved
.config/webpack/webpack.config.ts Show resolved Hide resolved
src/editors/SentryConfigEditor.tsx Show resolved Hide resolved
package.json Show resolved Hide resolved
@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@github-actions
Copy link

github-actions bot commented Sep 7, 2023

Use the following command to run this PR with Docker at http://localhost:3000:

docker run --rm -p 3000:3000 grafana/plugin-builds:3215575afb38e055019baa33f90a648d0d094ff8pre

@github-actions
Copy link

github-actions bot commented Sep 7, 2023

Use the following command to run this PR with Docker at http://localhost:3000:

docker run --rm -p 3000:3000 grafana/plugin-builds:569a391ea3cb29cb20b6dca4917d4f538e36aa48pre

@github-actions
Copy link

github-actions bot commented Sep 7, 2023

Use the following command to run this PR with Docker at http://localhost:3000:

docker run --rm -p 3000:3000 grafana/plugin-builds:1138e710d3665314d9b9d5ab9e62ab97715c7475pre

@github-actions
Copy link

github-actions bot commented Sep 8, 2023

Use the following command to run this PR with Docker at http://localhost:3000:

docker run --rm -p 3000:3000 grafana/plugin-builds:a170342e6d49a7ada7658ef7c777d0f38d4d8adbpre

@aangelisc aangelisc merged commit bb2ca89 into main Sep 12, 2023
5 checks passed
@aangelisc aangelisc deleted the andreas/config-updates branch September 12, 2023 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants