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

Grafana/ui: Add deprecation notice to the Form component #81068

Merged
merged 3 commits into from
Jan 24, 2024

Conversation

Clarity-89
Copy link
Contributor

What is this feature?

Mark the Form and other components (and types) that depend on react-hook-form inside grafana/ui as deprecated and suggest alternative usage.

Why do we need this feature?

To have a possibility to decouple grafana/ui from react-hook-form in the future.

Which issue(s) does this PR fix?:

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.

@Clarity-89 Clarity-89 added this to the 10.3.x milestone Jan 23, 2024
@Clarity-89 Clarity-89 self-assigned this Jan 23, 2024
@Clarity-89 Clarity-89 requested review from a team as code owners January 23, 2024 12:54
@Clarity-89 Clarity-89 requested review from Ukochka, ashharrison90 and L-M-K-B and removed request for a team January 23, 2024 12:54
@grafana-delivery-bot grafana-delivery-bot bot modified the milestones: 10.3.x, 10.4.x Jan 23, 2024
@grafana-pr-automation grafana-pr-automation bot requested review from a team and removed request for a team January 23, 2024 12:59
Copy link
Contributor

@L-M-K-B L-M-K-B left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀
@Clarity-89 can you please add a reference to this PR (e.g. an issue)?

Copy link
Contributor

@JoaoSilvaGrafana JoaoSilvaGrafana left a comment

Choose a reason for hiding this comment

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

Nice 👍

@Clarity-89 Clarity-89 merged commit 41de0b4 into main Jan 24, 2024
29 checks passed
@Clarity-89 Clarity-89 deleted the grafana-ui/deprecate-form branch January 24, 2024 14:13
Ukochka pushed a commit that referenced this pull request Feb 14, 2024
* Grafana/ui: Add deprecation notice to the Form component

* Fix notice

* Deprecate types
@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.

None yet

4 participants