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

Quantity Selector #860

Merged
merged 35 commits into from
Feb 24, 2022
Merged

Quantity Selector #860

merged 35 commits into from
Feb 24, 2022

Conversation

MewenLeHo
Copy link
Contributor

@MewenLeHo MewenLeHo commented Oct 20, 2021

Closes #113

Preview: https://deploy-preview-860--boosted.netlify.app/docs/5.1/forms/quantity-selector/

DoD

Development

  • Should match specs (eg. either the Web UI Kit or any pattern from the WAI — or both…)
  • Docs added:
    • including the "Sass" part using scss-docs shortcode
    • in Cheatsheet / Cheatsheet RTL examples
    • in /about/overview/#custom-components if it is a new Orange custom component
    • in /gettings-started/introduction/#components if it is a new Orange custom component that requires JavaScript (and Popper)
    • in /customize/overview#csps-and-embedded-svgs if it is a new Orange custom component that includes embedded SVGs in our CSS
    • in /forms/validation/?#supported-elements if it is a new Orange custom component that is a form control
  • Check (and fix) RTL version
  • Run linters
  • Run compilers
  • Tests added for JS-side
  • Run tests
  • Cross-browser test:
    • Firefox ESR
    • Latest Edge, Chrome, Firefox, Safari
    • iOS Safari
    • Chrome & Firefox on Android
  • Clean up the branch using rebase -i
  • Commited with feat(…): … message
  • Mention it in Migration Guide (if back-from-v4): renamed variables, changes in markup requirement, etc.

Reviews

  • Code review
  • A11y review
  • Design review

@MewenLeHo MewenLeHo self-assigned this Oct 20, 2021
@MewenLeHo MewenLeHo marked this pull request as draft October 20, 2021 15:21
@julien-deramond julien-deramond removed their request for review October 20, 2021 16:01
@MewenLeHo MewenLeHo force-pushed the main-mewenleho-quantityselector branch from 53a434a to 3d5c7ca Compare November 15, 2021 10:08
@MewenLeHo MewenLeHo force-pushed the main-mewenleho-quantityselector branch from 179014d to d431c0b Compare November 16, 2021 15:52
@MewenLeHo MewenLeHo marked this pull request as ready for review November 18, 2021 14:59
@MewenLeHo MewenLeHo force-pushed the main-mewenleho-quantityselector branch 4 times, most recently from fe2f94b to 65510a5 Compare November 29, 2021 09:22
@MewenLeHo MewenLeHo force-pushed the main-mewenleho-quantityselector branch from 5e35aeb to 28ab547 Compare December 7, 2021 08:36
@MewenLeHo MewenLeHo force-pushed the main-mewenleho-quantityselector branch from 5fbcf1f to c25858d Compare December 15, 2021 08:49
Copy link
Member

@julien-deramond julien-deramond left a comment

Choose a reason for hiding this comment

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

Here is my first feedback for this component. I haven't yet looked at it in details.

You will find the DoD in the description: just check if you don't need to reference the component in other parts of the documentation.

Some unit tests would be appreciated.

js/src/quantity-selector.js Show resolved Hide resolved
js/src/quantity-selector.js Show resolved Hide resolved
js/src/quantity-selector.js Outdated Show resolved Hide resolved
js/src/quantity-selector.js Outdated Show resolved Hide resolved
scss/_variables.scss Outdated Show resolved Hide resolved
scss/_variables.scss Outdated Show resolved Hide resolved
scss/forms/_quantity-selector.scss Show resolved Hide resolved
site/content/docs/5.1/forms/quantity-selector.md Outdated Show resolved Hide resolved
site/static/docs/5.1/assets/img/boosted-sprite.svg Outdated Show resolved Hide resolved
@MewenLeHo MewenLeHo force-pushed the main-mewenleho-quantityselector branch 2 times, most recently from b61f8ff to 1775750 Compare December 21, 2021 14:51
@MewenLeHo MewenLeHo force-pushed the main-mewenleho-quantityselector branch from 1775750 to 1129e73 Compare December 22, 2021 10:47
@julien-deramond

This comment has been minimized.

Copy link
Member

@julien-deramond julien-deramond left a comment

Choose a reason for hiding this comment

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

Made some modifications in order to:

  • Improve the doc and the formatting
  • Fix some issues in .scss files and rendering
  • Add some unit tests
    Those modifications are the last 4 commits of this PR. Please tell me @MewenLeHo if it is OK for you. Perhaps we need to ask for a new design review before merging?

scss/forms/_quantity-selector.scss Outdated Show resolved Hide resolved
scss/forms/_quantity-selector.scss Outdated Show resolved Hide resolved
Copy link
Member

@julien-deramond julien-deramond left a comment

Choose a reason for hiding this comment

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

Sounds good to me. Good job 🚀

@julien-deramond julien-deramond merged commit 1bfc839 into main Feb 24, 2022
@julien-deramond julien-deramond deleted the main-mewenleho-quantityselector branch February 24, 2022 15:05
@julien-deramond julien-deramond mentioned this pull request Feb 24, 2022
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.

Forms > Quantity selector
4 participants