zangarmarsh / inplainsight

4 stars 0 forks source link

Main page focus #3

Open IceWizard98 opened 2 days ago

IceWizard98 commented 2 days ago

Change the focus on main page from search to the list of secrets, this is the main thing so it culd be a better UX being in the list ready to open a secret detail.

Add a shortcut to access search field, like "/" and "ctrl-s".

zangarmarsh commented 2 days ago

Okay, good idea.

About that:

Add a shortcut to access search field, like "/" and "ctrl-s".

it’s actually even simpler: whenever the secret list is active and in focus, typing anything will automatically bring the focus back to the search box.

IceWizard98 commented 2 days ago

yep, but.

It could be useful to have more shortcuts in the list, without opening the detail. So binding the search to a shortcut and not to any typing leave you free to add more shortcuts with further implementations.

Like copy password and username, in case of a website secret, or idk in other cases.