Orange-Boosted-Bootstrap icon indicating copy to clipboard operation
Orange-Boosted-Bootstrap copied to clipboard

Checks&Radios: Increase the size to follow the brand

Open louismaximepiton opened this issue 1 year ago • 10 comments

Note: Please transform - [ ] into - (NA) in the description when things are not applicable

Related issues

NA

Description

Working on an example, I found this issue, so here is a separate PR to tackle this.

Motivation & Context

Checks and Radios are too small compared to the design.

Types of change

  • Bug fix (non-breaking which fixes an issues)

Live previews

Checklist

Contribution

Accessibility

  • [x] My change follows accessibility good practices; I have at least run axe

Design

  • [x] My change respects the design guidelines defined in Orange Design System
  • [x] My change is compatible with responsive display

Development

  • [x] My change follows the developer guide
  • (NA) I have added JavaScript unit tests to cover my changes
  • (NA) I have added SCSS unit tests to cover my changes

Documentation

  • [x] My change introduces changes to the documentation and/or I have updated the documentation accordingly

Checklist (for Core Team only)

  • (NA) My change introduces changes to the migration guide
  • (NA) My new component is added in Storybook
  • (NA) My new component is compatible with RTL
  • [ ] Manually run BrowserStack tests
  • [ ] Manually test browser compatibility with BrowserStack (Chrome >= 60, Firefox >= 60 (+ ESR), Edge, Safari >= 12, iOS Safari, Chrome & Firefox on Android)
  • [ ] Code review
  • [ ] Design review
  • [ ] A11y review

After the merge

louismaximepiton avatar Feb 27 '23 10:02 louismaximepiton

Deploy Preview for boosted ready!

Name Link
Latest commit 138252d389b8404a6240e951f8a84f2f259351a0
Latest deploy log https://app.netlify.com/sites/boosted/deploys/65967b710328b70008b8c163
Deploy Preview https://deploy-preview-1860--boosted.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Feb 27 '23 10:02 netlify[bot]

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 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Mar 08 '23 16:03 sonarqubecloud[bot]

Checkboxes and Radio buttons are now the correct size. All looks good to me.

Franco-Riccitelli avatar Mar 31 '23 08:03 Franco-Riccitelli

in terms of size, good to me but i glanced at this page and I saw the chapter "star rating" What a surprise when I saw that the unchecked stars are in gray to not contrasted enough although they convey information and are activable. We must increase contrast!

Aniort avatar Apr 11 '23 08:04 Aniort

It will be tackled in another PR. Thanks a lot for your review!

Edit: Will be tackled via #2005

louismaximepiton avatar Apr 11 '23 09:04 louismaximepiton

IMO this PR should also tackle a change of margins for the .form-checks. With the new size, they are really close together by default: Screenshot 2023-04-26 at 09 24 26 Thoughts @louismaximepiton?

julien-deramond avatar Apr 26 '23 07:04 julien-deramond

As far as I can see, it seems like 20px is common at Orange, should I set it to 20 or maybe only 10? 5? Might be asked to a designer maybe 🤔 Or maybe change the min-height to 1.875rem that would be closer to what Bootstrap propose?

Thinking out loud here but shouldn't we avoid small margin like .125rem?

louismaximepiton avatar Apr 26 '23 08:04 louismaximepiton

Designer:

I think the default vertical space between checkboxes should be 15 px.

https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/pull/1860/commits/f30721b8b0dcfd9f829143a078258d6d11686541 takes care of it.

louismaximepiton avatar Apr 26 '23 16:04 louismaximepiton

Should be resolved right now. For instance checked:

Should I update any design description in order to note somewhere the spacings we agreed on ?

louismaximepiton avatar Jun 14 '23 15:06 louismaximepiton

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 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Jun 14 '23 16:06 sonarqubecloud[bot]