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

feat: add Checkbox helper and CheckboxGroup item helper generator #6166

Merged
merged 5 commits into from
Apr 15, 2024

Conversation

web-padawan
Copy link
Member

Description

Part of vaadin/platform#5190

Depends on vaadin/web-components#7285

Type of change

  • Feature

@web-padawan web-padawan force-pushed the feat/checkbox-helper branch from 4d352cb to 8a52b00 Compare April 2, 2024 11:03
@web-padawan web-padawan changed the title feat: add helper text support to Checkbox feat: add Checkbox helper and CheckboxGroup item helper generator Apr 2, 2024
}

@Test
public void assertCheckboxHelperText() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Just wondering: How can the test pass and the PR check returning green while the web-components PR with the implementation of this not merged?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point. I think this is because we use getHelperText() / getHelperComponent() API without checking for the actual presence of <div slot="helper"> element in the DOM. I will add a separate test for that.

@web-padawan web-padawan force-pushed the feat/checkbox-helper branch from 4e86ef8 to d12c9e9 Compare April 10, 2024 13:24
@web-padawan web-padawan marked this pull request as ready for review April 10, 2024 13:42
@web-padawan web-padawan force-pushed the feat/checkbox-helper branch from 2f1d063 to d1758b6 Compare April 15, 2024 10:21
Copy link

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@web-padawan web-padawan merged commit 196e5d1 into main Apr 15, 2024
5 checks passed
@web-padawan web-padawan deleted the feat/checkbox-helper branch April 15, 2024 10:55
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.4.0.alpha22 and is also targeting the upcoming stable 24.4.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.

4 participants