Add a way to show a progress indicator while fetching items for combobox

Open
#2,277 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
frontend

Research direction

Start by comparing this request with issue #1311 and reviewing the existing select progress-indicator API. Then examine the combobox autocomplete modes and how they differ from select filtering. Done requires an agreed API and behavior for showing progress while fetching combobox items.

Written by the indexing model from the issue text.

Description

enhancement

🙋 Feature Request

😯 Problem to Solve

This is the equivalent of #1311 but for the combobox. Some clients may need to do a network request to request combobox items based on the current text. While waiting for that request to complete they would like to show a spinner that indicates something is happening.

At this point we're not aware of specific clients that need this. We're planning to migrate many existing Nimble comboboxes and Material autocompletes to use the new select features and this might negate the need for it or might reveal that some use cases require it.

💁 Proposed Solution

The API should likely follow what we did for select, but there are complications around component differences like the fact that combobox has different autocomplete modes while the select has different search/filter modes. One idea is to remove the autocomplete modes from the combobox and align the API more closely with select filtering.

📋 Tasks

Dominant language
TypeScript
Stars
39
Forks
14
Avg merge
1d 16h
Merged PRs (30d)
13

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ni/nimble

All issues in ni/nimble

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.