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

Dashboards: Remove emptyDashboardPage feature flag #81188

Merged
merged 8 commits into from
Jan 25, 2024

Conversation

Sergej-Vlasov
Copy link
Contributor

This PR includes:

  • remove emptyDashboardPage feature flag from the codebase
  • remove unused components from codebase
  • update feature flag registry

Which issue(s) does this PR fix?:

Fixes #81055

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.

@Sergej-Vlasov Sergej-Vlasov requested review from grafanabot and a team as code owners January 24, 2024 16:54
@Sergej-Vlasov Sergej-Vlasov requested review from Clarity-89, eledobleefe and mdvictor and removed request for a team January 24, 2024 16:54
@CLAassistant
Copy link

CLAassistant commented Jan 24, 2024

CLA assistant check
All committers have signed the CLA.

@grafana-delivery-bot grafana-delivery-bot bot added this to the 10.4.x milestone Jan 24, 2024
@grafana-pr-automation grafana-pr-automation bot requested review from a team and jackw and removed request for a team January 24, 2024 16:58
@@ -2431,22 +2431,6 @@ exports[`better eslint`] = {
[0, 0, 0, "Do not use any type assertions.", "1"],
[0, 0, 0, "Do not use any type assertions.", "2"]
],
"public/app/features/dashboard/components/AddPanelWidget/AddPanelWidget.test.tsx:5381": [
Copy link
Contributor

Choose a reason for hiding this comment

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

🥳

@ivanortegaalba ivanortegaalba removed the request for review from a team January 25, 2024 09:27
Copy link
Contributor

@ivanortegaalba ivanortegaalba left a comment

Choose a reason for hiding this comment

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

✅ Feature flag usage removed
✅ Unused code removed
✅ Tests updated
✅ Re-generated docs for FFs without the empty dashboard toggle

Great work @Sergej-Vlasov! Ready to merge!

FYI, the PR is missing a couple of tags:

  • Backport tag: If the PR is about a bug fix, that should go into the next patch, we add the proper backport label to the minor where we need to backport these changes. In this case, this is more a cleaning up, so we don't need to backport it.
  • Changelog tag: When the change is relevant for a Grafana user, we add the label add-to-changelog to add the commit message to the Grafana version changelog automatically. In this case, it is something we could add, so we could add it, it won't hurt and if any customer is using the FF, they can remove it from the configuration

Also, it is missing the CLA acceptation from your side 😄

@Sergej-Vlasov Sergej-Vlasov merged commit 9ba13dd into main Jan 25, 2024
35 checks passed
@Sergej-Vlasov Sergej-Vlasov deleted the serge/remove-empty-dashboard-feature-flag branch January 25, 2024 14:04
rwwiv pushed a commit that referenced this pull request Jan 25, 2024
* remove emptyDashboardPage feature toggle from DashNav

* remove emptyDashboardPage feature toggle from NewDashboardWithDS

* remove emptyDashboardPage feature toggle from DashboardGrid

* remove emptyDashboardPage feature toggle from DashboardModel

* remove emptyDashboardPage feature toggle from initDashboard

* remove unused AddPanelWidged component

* remove add-panel type from test

* remove emptyDashboardPage feature flag from registry.go
Ukochka pushed a commit that referenced this pull request Feb 14, 2024
* remove emptyDashboardPage feature toggle from DashNav

* remove emptyDashboardPage feature toggle from NewDashboardWithDS

* remove emptyDashboardPage feature toggle from DashboardGrid

* remove emptyDashboardPage feature toggle from DashboardModel

* remove emptyDashboardPage feature toggle from initDashboard

* remove unused AddPanelWidged component

* remove add-panel type from test

* remove emptyDashboardPage feature flag from registry.go
@aangelisc aangelisc modified the milestones: 10.4.x, 10.4.0 Mar 6, 2024
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.

emptyDashboardPage
5 participants