Sarai-WMDE created this task.
Sarai-WMDE added a project: Wikidata Query Builder.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Wikidata.

TASK DESCRIPTION
  As a DS designer and developer, I want to be able to use a number input 
component, because number validation is required in the Simple Query Builder 
(e.g. to validate the input to the results limit feature).
  
  **ACs**
  
  [ ] The style of the number input's states should entirely match that of the 
text input component's (see specs 
<https://www.figma.com/file/gi3JYwSUQYhKS0mHwK25cQwi/WiKit?node-id=7038%3A9971>)
  [ ] The number input component should be documented in Storybook according to 
the specifications (see below)
  
  **States**
  
  Same as the input family:
  
  [ ] Default state
  [ ] Hover
  [ ] Active/Focus
  [ ] Disabled
  [ ] Validation: error
  [ ] Validation: warning
  
  **Storybook:**
  
  The simple NumberInput component will be included in its own Storybook page, 
under the section "Input":
  
  [ ] Basic (controllable story displaying a single number input: Controls 
should allow users to modify the label and placeholder texts)
  [ ] All (story displaying all number input states for visual regression 
testing purposes)
  
  **Notes:**
  
  - I believe we can call this component NumberInput: it's the basic core on 
top of which we could build the increment/decrement buttons in the future 
(allowing them via prop – too complex? – or implementing a separate variant 
that we'll name accordingly)

TASK DETAIL
  https://phabricator.wikimedia.org/T275010

WORKBOARD
  https://phabricator.wikimedia.org/project/board/4990/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Sarai-WMDE
Cc: Aklapper, Sarai-WMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to