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 Component #458

Open
14 tasks
m-akinc opened this issue Mar 24, 2022 · 6 comments
Open
14 tasks

nimble-picker Component #458

m-akinc opened this issue Mar 24, 2022 · 6 comments
Labels
enhancement New feature or request new component Request for a new component ozone

Comments

@m-akinc
Copy link
Contributor

m-akinc commented Mar 24, 2022

😯 Problem to Solve

Create a component based on the FAST picker that shows selections from a list of options.

💁 Proposed Solution

  • FAST component: https://github.com/microsoft/fast/tree/master/packages/web-components/fast-foundation/src/picker
    Note that FAST component is currently in alpha phase, so there may be bugs/issues.
  • Visual Design: spec
  • Needs to support adding "invalid" elements and a way to visually style them differently from "valid" elements. This can happen if a user selected a valid element but then the underlying list of valid items changes; we'd like to give users feedback that their selection is no longer valid rather than just removing the item automatically or leaving it shown as valid.

Looks something like this:

Frame 9939

or this from the PDV app in SLE:
image

📋 Tasks

@m-akinc m-akinc added the enhancement New feature or request label Mar 24, 2022
@fredvisser
Copy link
Contributor

See the previous nimble-chip issue for client use cases that we should support.

@jattasNI
Copy link
Contributor

Request for Visual Design @NIbokeefe

  1. for SLE at the moment we just need a basic design that just shows a read-only list of chips where the user can't add or remove any chips. In addition to color/corner radius/font/padding, it would also be good to think about what happens if there are more chips than what fits in a given amount of space.
  2. the Argon app also needs designs for more advanced use cases which are mostly captured in Create Nimble Filterable select with Multi-select #341

@jattasNI
Copy link
Contributor

jattasNI commented Apr 7, 2023

@ranjgith-ni provided more detail about use cases in #1164 which I'm copied to the description above.

To answer the priority question from that issue: the Design System squad decided to mark this as "staging" for Cycle 2. This means we'll start working with designers on resolving open questions about the component behavior and appearance, but are not expecting to deliver the completed component. We've been hoping to delay development until FAST's picker component is more mature to save ourselves work. But if your squad is willing to invest in a custom implementation, we would be happy to talk about what that would entail.

@jattasNI
Copy link
Contributor

Fred and I were brainstorming about picking from a hierarchical list of items, which is a requirement for the SLE Data Spaces app. If the hierarchy is only a single level (which it is for that use case) then it could be solved with the same mechanism as #791

image
image
image

@jattasNI
Copy link
Contributor

Another use case came up in this SLE Routines HLD. They need to be able to multi-select workspaces. Their current proposal is to use material select configured with multiselect and configure it to allow filtering.

@jattasNI
Copy link
Contributor

jattasNI commented Nov 1, 2024

Another request for picker / tags came up in a Teams thread about the Data Explorer app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new component Request for a new component ozone
Projects
Status: Backlog
Development

No branches or pull requests

3 participants