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. when inputting a results limit, when specifying a quantity value). **ACs** [ ] The style of the number input should entirely match that of the text input component. [ ] Links are 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 number input component will be included in its own Storybook page, under 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:** - An investigation is required in order to figure out if using "type=number" with our current input would provide us with a flexible-enough component for future use in Wikidata (T273795 <https://phabricator.wikimedia.org/T273795>) TASK DETAIL https://phabricator.wikimedia.org/T273796 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
