Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

[v9] Backport Teleport Connect (1 of 5) #762

Merged
merged 31 commits into from
Apr 27, 2022

Conversation

gzdunek and others added 30 commits April 26, 2022 12:30
* add more tests to Teleterm
The way their `run` function works conflicts with the new implementation
(it directly changes quickInputService's state), so we remove that in
this commit to have less to deal with in upcoming commits.
This commit does not support actually choosing any suggestion yet, just
showing them in the UI.
Our new code isn't going to show anything when there are no matches.
This required adding all those mocks to the tests so that the returned
suggestions in some of the tests are not empty.
1. Pressing Esc while suggestions are shown should first close the suggestions
and the second press should actually exit the input.

2. Picking a suggestion should close the autocomplete if we didn't append
anything to the token (see comment for details).

3. Typing something in the command bar should always show the autocomplete
in case there are suggestions to show.

Also remove unused call to setInputValue.
@ravicious ravicious marked this pull request as ready for review April 26, 2022 11:12
@ravicious ravicious requested a review from hatched April 26, 2022 11:16
@ravicious ravicious merged commit 20bf8e2 into teleport-v9 Apr 27, 2022
@ravicious ravicious deleted the ravicious/v9/backport-connect-1-of-5 branch April 27, 2022 09:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants