github unkn0wn-root/resterm v0.35.1

6 hours ago

Navigator UX

TL;DR - better navigation highlighting with active request/selection/opened file. New workflows editor jump binding from navigator and safer unsaved changed handling.


You can jump from the navigator to both request and workflow definitions with l or r.

Before:

Highlight workflow -> l/r
No editor jump

Now:

Highlight # @workflow checkout -> l/r
Editor opens/restores and cursor jumps to that workflow

The navigator also separates selected and active state more clearly:

• api.http          active/open file
> POST createUser   keyboard selection
• GET getUser       active request

Selection is also preserved better when the navigator refreshes after parsing or file updates.

Safer Unsaved Change Handling

Cross-file navigator actions now require confirmation based on the exact action being repeated. This protects against stale confirmations.

Before:

Press Space on a remote request -> warning
Press Enter -> could reuse the earlier confirmation

Now:

Press Space -> "Press Space again to preview."
Press Enter -> asks separately: "Press Enter again to send."

Opening another file from the navigator also now protects dirty buffers:

Unsaved edits in current.http
Highlight other.http -> Enter
First Enter warns, second Enter opens

If you edit again after a warning, even if you restore the same text, the confirmation is invalidated and must be repeated.

Don't miss a new resterm release

NewReleases is sending notifications on new releases.