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

fix: add slot=label attribute as legit use-case for the deprecated Label #17089

Merged
merged 1 commit into from
Jun 23, 2023

Conversation

knoobie
Copy link
Contributor

@knoobie knoobie commented Jun 22, 2023

Description

To reduce the false positive warnings when the deprecated Label component is used by the flow-components with proper client-side logic to associate the field with the Label. The attribute slot=label is also added to the list of valid use-cases.

Related to vaadin/flow-components#5171 and #16708 (comment)

Type of change

  • Bugfix
  • Feature

Checklist

  • I have read the contribution guide: https://vaadin.com/docs/latest/guide/contributing/overview/
  • I have added a description following the guideline.
  • The issue is created in the corresponding repository and I have referenced it.
  • I have added tests to ensure my change is effective and works as intended.
  • New and existing tests are passing locally with my change.
  • I have performed self-review and corrected misspellings.

Additional for Feature type of change

  • Enhancement / new feature was discussed in a corresponding GitHub issue and Acceptance Criteria were created.

@mcollovati mcollovati added the Contribution PRs coming from the community or external to the team label Jun 23, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 5 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions
Copy link

Test Results

   996 files  ±0     996 suites  ±0   1h 4m 16s ⏱️ - 1m 4s
6 336 tests ±0  6 295 ✔️ ±0  41 💤 ±0  0 ±0 
6 593 runs  +1  6 545 ✔️ +1  48 💤 ±0  0 ±0 

Results for commit f23d636. ± Comparison against base commit 319e98d.

@mcollovati
Copy link
Collaborator

@knoobie Thanks for the contribution!

@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.2.0.alpha1 and is also targeting the upcoming stable 24.2.0 version.

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.

3 participants