postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.79k stars 839 forks source link

Flows - Improved keyboard shortcuts #12219

Open jessewindebank1809 opened 11 months ago

jessewindebank1809 commented 11 months ago

Is there an existing request for this feature?

Is your feature request related to a problem?

I love flows, and I think you guys have done a great job with this feature!

But I see the potential to improve the development workflow by reducing the need for the UI to be more keyboard-centric instead of mouse-heavy.

Describe the solution you'd like

Here is a straightforward example:

  1. If I type in 'send' in the 'Search' box, then I press enter to create a new 'Send Request'

Screenshot 2023-08-08 at 5 08 01 pm

  1. The focus is not on the 'Select a request' field. Requiring me to click in the field before typing.

2023-08-08_17-12-10

In my opinion, it would be great if the focus was automatically in the 'Select a request' field by default so you could easily chain the following keystrokes together to search, select and search again:

  1. Type "send"
  2. Press to create a new 'Send Request' component
  3. Type ""
  4. Press

All without using the mouse.

Other examples include having to click in the flow canvas to utilise the run keyboard shortcut (cmd + enter). So if you switch tabs using cmd + . Then you have to click within the canvas for the focus be on the flow so the run keyboard shortcut will work.

There are many, many examples like this throughout the flow UI. But I wanted to use this simple example to raise the point that better keyboard navigation is required to streamline the dev process in flow.

Thanks, and keep up the great work!

Describe alternatives you've considered

The clear alternative solution is using the mouse, which can be slow and impacts productivity.

Additional context

No response

saswatds commented 2 months ago

Thanks @jessewindebank1809 for the feedback. I will add this to our list of UI/UX improvements.