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(select): issue #627 select dense label #628

Merged
merged 3 commits into from
Feb 3, 2021

Conversation

gullerya
Copy link
Contributor

@gullerya gullerya commented Feb 2, 2021

closes #627

This PR takes a deliberate change in the dense of select behavior - to cope with some ambiguity that was seen in the admin app of the UP: when label attribute is not present (even if the label IS set), the dense appears corrupted.

This PR reflects this take:

  • dense property/attribute is a primary phase in decisions tree - when set the component behaves as dense, regardless of the label or else status
  • reminder of existing behavior: shape may force the dense state - when shape is set to pill it forces the dense state

Additionally this PR fixes few a11y issues left unaddressed by MWC.
Additionally this PR adds few tests for fortification.

@gullerya gullerya added the Type: Bug 🐞 Something isn't working label Feb 2, 2021
@github-actions
Copy link

github-actions bot commented Feb 2, 2021

🚀

Latest successful build of the PR deployed here.

🚀

@sonarcloud
Copy link

sonarcloud bot commented Feb 2, 2021

Kudos, SonarCloud Quality Gate passed!

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

No Coverage information No Coverage information
0.0% 0.0% Duplication

@gullerya gullerya merged commit b421b6c into master Feb 3, 2021
@gullerya gullerya deleted the iss-627-select-dense-label branch February 3, 2021 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix(select): preserve dense flavor even if there is no label attribute
2 participants