feat(headers): add optional dropdown to pick header names and values - #489
feat(headers): add optional dropdown to pick header names and values#489WkdXeqtr wants to merge 5 commits into
Conversation
Adds an opt-in chevron dropdown next to header name and value inputs that lists the same suggestions as the inline autocomplete, so values can be picked without knowing what to type. Off by default, toggled in Settings -> Interface -> Editor. Long values like User-Agent show a short label but insert the full string via the completion apply field.
|
JUst added this to the PR template (for future PRs), but can you please attach screenshots or a screen recording of this? I would also consider it a feature, not a small-scoped improvement, but I'm willing to consider it if it fits the vibe of Yaak. |
|
Thanks for that! I wasn't sure I'd like this at first but, now that I see it, I think I do :) Going to review and get this in for the next release |
|
Hey, just checking in on this one. I updated to 2026.5.0 and didn't see the dropdowns there, so I guess it didn't make it into the release. I see a lot has landed on main since July, so I'm probably just in the way of it now. Anything you'd like me to do on my side - rebase, split it up, change something? No rush either way, just didn't want it to get lost. |
|
Ah ya, sorry about that. Added a Feedback item for it (I use this as my to-do list) so I won't forget: https://yaak.app/feedback/posts/optional-dropdown-to-pick-header-names-and-values |




Summary
I'm migrating from Advanced REST Client (ARC), where header fields had a dropdown
of common names and values, so you could pick one without knowing the exact string
up front. Yaak already has inline autocomplete for headers - this PR adds an
optional dropdown on top of it, so the same suggestions are discoverable by
clicking, not only by typing.
It is fully opt-in and off by default
(Settings -> Interface -> Editor -> "Header suggestion dropdowns"), so nothing
changes unless you turn it on. When enabled, a small chevron appears on the header
name and value inputs; picking an item inserts it. Inline autocomplete is left
untouched.
The dropdown reuses Yaak's existing header suggestion data (header names, mime
types, encodings, ...) and adds a few common value lists (Cache-Control,
Accept-Language, User-Agent). For values that are long or hard to remember, like
User-Agent, it shows a short label (e.g. "Chrome 120 - Windows") but inserts the
full string, using the completion's
applyfield so inline autocomplete shows thesame labels.
Submission
CONTRIBUTING.md.Approved feedback item (required if not a bug fix or small-scope improvement):
Related