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

Chore: Remove Form usage from alerting config components #81681

Merged
merged 3 commits into from
Feb 13, 2024

Conversation

Clarity-89
Copy link
Contributor

What is this feature?

Removes Form and other deprecated grafana/ui components from

  • public/app/features/alerting/components/BasicSettings.tsx
  • public/app/features/alerting/components/OptionElement.tsx
  • public/app/features/alerting/unified/components/admin/ConfigEditor.tsx

Why do we need this feature?

Part of #81226.

@Clarity-89 Clarity-89 added the no-changelog Skip including change in changelog/release notes label Feb 1, 2024
@Clarity-89 Clarity-89 added this to the 10.4.x milestone Feb 1, 2024
@Clarity-89 Clarity-89 self-assigned this Feb 1, 2024
@Clarity-89 Clarity-89 requested a review from a team as a code owner February 1, 2024 06:15
@Clarity-89 Clarity-89 requested review from gillesdemey, konrad147 and soniaAguilarPeiron and removed request for a team February 1, 2024 06:15
Copy link
Contributor

@joshhunt joshhunt 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 to me, but will leave approval to @grafana/alerting-frontend

Copy link
Member

@gillesdemey gillesdemey left a comment

Choose a reason for hiding this comment

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

I've tested the admin page and that one still works as intended :)

The other files are part of "legacy alerting" which will be removed by the time Grafana 11 lands – the changes there look good code-wise but I haven't tested them.

I'm fine merging the PR as-is 👍

@Clarity-89 Clarity-89 merged commit 55d17c7 into main Feb 13, 2024
24 checks passed
@Clarity-89 Clarity-89 deleted the chore/EditNotificationChannelPage-form branch February 13, 2024 10:51
Ukochka pushed a commit that referenced this pull request Feb 14, 2024
* Chore: Replace InputControl in BaseSettings

* Chore: Replace InputControl and FormAPI in OptionElement.tsx

* Update ConfigEditor.tsx
Ukochka pushed a commit that referenced this pull request Feb 14, 2024
* Chore: Replace InputControl in BaseSettings

* Chore: Replace InputControl and FormAPI in OptionElement.tsx

* Update ConfigEditor.tsx
@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
Labels
area/frontend no-changelog Skip including change in changelog/release notes
Projects
Archived in project
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants