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

Explore: Remove exploreMixedDatasource feature toggle #71534

Merged
merged 6 commits into from
Jul 17, 2023

Conversation

Elfo404
Copy link
Member

@Elfo404 Elfo404 commented Jul 13, 2023

What is this feature?

Removes the exploreMixedDatasource feature flag. The flag was enabled by default in 10.0.0 and no issues has been reported about it

Which issue(s) does this PR fix?:

Fixes #52417

Special notes for your reviewer:

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

a couple of now irrelevant tests have been removed. Please test that:

  • Navigating to explore with mixed URL works
  • Query History works as expected
  • adding/removing query rows works as expected

@github-actions
Copy link
Contributor

github-actions bot commented Jul 13, 2023

⚠️   Possible breaking changes

(Open the links below in a new tab to go to the correct steps)

grafana-data has possible breaking changes (more info)

Console output
Read our guideline

@grafanabot grafanabot added the levitate breaking change A label indicating a breaking change and assigned by Levitate. label Jul 13, 2023
@Elfo404 Elfo404 added add to changelog no-backport Skip backport of PR labels Jul 13, 2023
@Elfo404 Elfo404 added this to the 10.1.x milestone Jul 13, 2023
@Elfo404 Elfo404 marked this pull request as ready for review July 13, 2023 10:11
@Elfo404 Elfo404 requested review from jcalisto, dafydd-t, tskarhed and JoaoSilvaGrafana and removed request for a team July 13, 2023 10:11
@github-actions
Copy link
Contributor

Backend code coverage report for PR #71534
No changes

@github-actions
Copy link
Contributor

github-actions bot commented Jul 13, 2023

Frontend code coverage report for PR #71534

Plugin Main PR Difference
explore 86.71% 86.72% .01%

Copy link
Contributor

@harisrozajac harisrozajac left a comment

Choose a reason for hiding this comment

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

Looks great to me 👍

Copy link
Contributor

@ifrost ifrost left a comment

Choose a reason for hiding this comment

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

@@ -75,21 +75,6 @@ export async function getExploreUrl(args: GetExploreUrlArguments): Promise<strin
.filter((t) => t.datasource?.uid !== ExpressionDatasourceUID);
let url: string | undefined;
// if the mixed datasource is not enabled for explore, choose only one datasource
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// if the mixed datasource is not enabled for explore, choose only one datasource

Copy link
Contributor

@gelicia gelicia Jul 14, 2023

Choose a reason for hiding this comment

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

There's a couple mentions of allowMixed in this that I can't make suggested changes on bc they're too far from the other changes.

@Elfo404
Copy link
Member Author

Elfo404 commented Jul 17, 2023

i should have removed all the leftovers, merging this, if i missed something else i'll create a follow up PR. thanks for the catches @gelicia @ifrost

@Elfo404 Elfo404 merged commit c5d2d55 into main Jul 17, 2023
16 of 17 checks passed
@Elfo404 Elfo404 deleted the gio/chore/remove-explore-mixed-ds-ff branch July 17, 2023 11:25
@ricky-undeadcoders ricky-undeadcoders modified the milestones: 10.1.x, 10.1.0 Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add to changelog area/backend area/explore area/frontend levitate breaking change A label indicating a breaking change and assigned by Levitate. no-backport Skip backport of PR type/docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Explore: Remove feature flag for mixed datasources
6 participants