Skip to content

TW-5099: add type-ahead filtering to interactive select prompts#97

Merged
qasim-nylas merged 0 commit into
mainfrom
TW-5099/select-filtering
May 19, 2026
Merged

TW-5099: add type-ahead filtering to interactive select prompts#97
qasim-nylas merged 0 commit into
mainfrom
TW-5099/select-filtering

Conversation

@qasim-nylas
Copy link
Copy Markdown
Collaborator

Summary

  • Enable type-ahead filtering on common.Select prompts when there are more than 1 option
  • Users with many grants can now press / to search by email during nylas auth config default account selection
  • Fixed height of 10 items for the select list, uses built-in huh library filtering — no new dependencies

Related docs

Test plan

  • Run nylas auth config with an API key that has 2+ grants — verify filtering appears
  • Type / then part of an email — verify list narrows
  • Run nylas auth config with 1 grant — verify no filtering prompt, auto-selects
  • Verify other select prompts (org selection, app selection) also show filtering when >1 option

@qasim-nylas qasim-nylas requested a review from AaronDDM May 19, 2026 22:48
Copy link
Copy Markdown
Collaborator

@AaronDDM AaronDDM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@qasim-nylas qasim-nylas requested a review from AaronDDM May 19, 2026 23:08
Copy link
Copy Markdown
Collaborator

@AaronDDM AaronDDM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@qasim-nylas qasim-nylas force-pushed the TW-5099/select-filtering branch from f161162 to 6e2d69b Compare May 19, 2026 23:12
@qasim-nylas qasim-nylas merged commit 6e2d69b into main May 19, 2026
6 checks passed
@qasim-nylas qasim-nylas deleted the TW-5099/select-filtering branch May 19, 2026 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants