WTFender / aws-sso-extender

Browser Extension for AWS SSO / Identity Center
https://wtfender.com/posts/aws-sso-extender
MIT License
54 stars 9 forks source link

Hotkey, faster keyboard navigation #83

Closed gomibushi closed 7 months ago

gomibushi commented 8 months ago

Description

Hi, I'm back again. :)

I had an idea for further small improvements to the already excellent extension.

How about a keyboard shortcut? If that is at all possible with chrome extensions. A ctrl+, or ctrl+shift+ would be nice.

And a second and third suggestion that should at least be possible, and also in the theme of keyboard navigation. When the extension is opened I'd prefer to be dropped into the search box, not two tabs away. When I have typed 3-4 letters in the search box I will have 1-3 roles/accounts in the list. It would be really nice to just be able to either tab through them or perhaps arrow down/arrow up navigate from the search box.

WTFender commented 8 months ago

I just fixed the searchbox so that it autofocuses; I must have broke that at some point.

I was thinking of doing hotkeys the first 5 profiles in view / search results. You can open any extension with a hotkey already (chrome://extensions/shortcuts) & I'd probably have you set the bind keys there.

gomibushi commented 8 months ago

Didn't know about the chrome extension shortcuts, obviously. And the search box focus works already in 1.6.10. Excellent! Thanks! Its already a lot smoother to use.

WTFender commented 8 months ago

@gomibushi in 1.7.0 you can browse the profiles with up/down arrows and Enter to open that profile - hope it helps!

Also, you can link up to 3 profiles to your own hotkeys:

image

On Firefox, those profile hotkeys will switch between already open tabs/containers.