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

nimble-picker interaction design request #1214

Open
3 tasks
Tracked by #458
fredvisser opened this issue Apr 28, 2023 · 2 comments
Open
3 tasks
Tracked by #458

nimble-picker interaction design request #1214

fredvisser opened this issue Apr 28, 2023 · 2 comments
Labels
interaction design Interaction design work item

Comments

@fredvisser
Copy link
Contributor

fredvisser commented Apr 28, 2023

📌 Request Background

The Dataspaces app in SLE would like to be able to configure graph axes using a picker component (aka chip). The component allows users to quickly select multiple values from an (often) large, but finite list. Users will pick values from a dropdown menu, by typing to filter the list, or by typing to filter the list and then picking values from the filtered menu. The list may be flat or have tree-like hierarchy.

The current UX is to display selections in a comma-separated text input:
image

And to change selections in a separate tree:
image

nimble-picker Component work item

🎯 Core Requirements

  • User must be able to select from a large, finite list of options
  • User must be able to see previously selected items
  • User must be able to delete previously selected items
  • User must be able to type to narrow the list of options to select
  • User must be able to see the list hierarchy in some form
  • If the user enters filter text and no options remain, the component should say that it doesn't match any options. User shouldn't be able to select arbitrary input
  • An app developer may want to configure the picker to require at least one item to be selected or to allow an empty selection.
  • If the user makes selections and then later the set of valid items change, we should reflect that the current selection is invalid
  • User must be able to navigate (and select) the list of options via mouse and keyboard interactions and have a screenreader read the list of selected options

🍆 Non-requirements

  • picker-item doesn't need a context menu or other interaction for further operations on each item (e.g. reorder items, more info) - just needs a delete option
  • picker-item only needs to show text right now - no need for avatar icons or different colors yet
  • picker-item doesn't need to support copying its contents & pasting as text elsewhere
  • Picker components are also used in many query-builder designs. We don't need to satisfy those requirement with this feature, but we can consider how to make the designs consistent.

🥅 Acceptance Criteria

  • Interaction Design Spec submitted (link)
  • Interaction Design Spec reviewed by design team
  • Interaction Design Spec reviewed by dev team
@fredvisser fredvisser added triage New issue that needs to be reviewed interaction design Interaction design work item labels Apr 28, 2023
@jattasNI
Copy link
Contributor

@fredvisser I made a few edits (added some screenshots, clarified some requirements, added a couple new requirements and non-requirements). Take a look and see if it's ready to move along to the next step.

@m-akinc m-akinc removed the triage New issue that needs to be reviewed label May 2, 2023
@fredvisser
Copy link
Contributor Author

Basic IxD workflow documented in Figma here

@fredvisser fredvisser added the team review Flag issue for team discussion and review label Jul 19, 2024
@m-akinc m-akinc removed the team review Flag issue for team discussion and review label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interaction design Interaction design work item
Projects
Status: Backlog
Development

No branches or pull requests

3 participants