Lead: Liav Nadler ONGOING
Description
A column picker is a component allowing the user to select and reorder columns in a data table
Usage & Behaviour
General guidelines
- The column picker appears inside a dialog box named Set Columns, including Ok and Cancel buttons
- The dialog box contains two lists of items: Available Columns (on the left) and Selected Columns (on the right)
- Next to the selected columns title there is an indicator, showing the number of selected items out of the total number of items
- Each list will contain a search bar
- If the number of items on a list is large enough to exceed its container, a scroll bar will appear
Order
- The selected columns list will show the list of currently displayed columns, in the same order as the original table
- The available columns list will be ordered alphabetically
Interaction
<<for example, how to change a value – type, arrows, use slider>>
<<use Click target to describe the interaction>>
Best practices
<<e.g. Slider should display a .label its on>>
Accessibility compliance
<<In general each component should be A11y complied, please follow the 3 guidelines linked below. At the very least we should document that each component is in compliance with each of the 3>>
Focus management
<<How will the component work with keyboard only - without a mouse. Can be reference if written above
We already set a general guidelines described in /wiki/spaces/UX/pages/308969693 >>
Screen reader support
<<Make sure the components support screen reader for content or behaviour where needed - see /wiki/spaces/UX/pages/308248620 >>
Contrast & size compliance
<<Visual designers must comply with the minimal of /wiki/spaces/UX/pages/301498483 for each component>>
Design
Zeplin link | Screen thumbnail |
---|---|
Code
<<a box containing the code - discuss with Femi>>