Skip to content

Allow quick pick items to always be visible and sticky #131128

Description

Based on internal discussions, would like to have an option in the Quick Pick item API to allow certain items to be grouped together and separated by a border. Additionally, when there are long entries in the list, it would be great to have this group always visible like below (see items at the bottom of the quick pick):

CleanShot 2021-08-18 at 13 53 40@2x

And when filtering the list, it would filter as it normally does:

CleanShot 2021-08-18 at 13 56 13@2x

CleanShot 2021-08-18 at 13 56 20@2x

cc Luciana Abud (@luabud)

Activity

  1. added
    feature-request
    quick-pick
    on Aug 18, 2021
  2. TylerLeonhardt commented on Aug 18, 2021

    @TylerLeonhardt
    Member

    And when filtering the list, it would filter as it normally does:

    It's interesting, I expected the opposite from the sticky items. There would only be one or two of them so they really are just "extra actions I always want to see" while the non-sticky bit is the "true list I'm filtering through"

  3. added
    under-discussion
    on Aug 18, 2021
  4. miguelsolorio commented on Aug 18, 2021

    @miguelsolorio
    ContributorAuthor

    I can see that. How would you navigate to those actions via keyboard though if the list is long? You'd have to go through each item in the list or go through the tab stops, which feels like a bit of a hack for something the quick pick already supports. I just imagined it would be faster to type a few characters + enter.

  5. added this to the Backlog milestone on Aug 19, 2021
  6. TylerLeonhardt commented on Aug 19, 2021

    @TylerLeonhardt
    Member

    Yeah I think that makes sense. Right now we have a concept of separators in Core... I think supporting separators in the API is a prereq of this work because ideally we can use separators to determine where the sticky starts (aka the last separator would denote stickiness).

  7. miguelsolorio commented on Aug 10, 2022

    @miguelsolorio
    ContributorAuthor

    This might be solved via #149057 with having section headers and actions

  8. added
    unreleased
    on Aug 18, 2022
  9. karrtikr commented on Aug 18, 2022

    @karrtikr

    I can help test this, is there an option that we can specify within the QuickPickItem object?

  10. TylerLeonhardt commented on Aug 19, 2022

    @TylerLeonhardt
    Member

    This was closed on accident

  11. removed
    unreleased
    on Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestquick-pickunder-discussion

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions