mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-08-13 23:22:00 +02:00
Adds a chevron on pair editor name and value inputs that opens the same options as inline autocomplete, so suggestions can be found by clicking instead of only by typing. Long values like User-Agent show a short label but insert the full string. Row action menus move to a vertical ellipsis so the chevron only ever means "pick a value into this field". Also restores the per-worktree Tauri config handling in run-dev.mjs, which a merge on the branch had reverted.
8 lines
374 B
TypeScript
8 lines
374 B
TypeScript
/**
|
|
* A suggested value for a header. A plain string is used when the displayed
|
|
* label and the inserted value are the same (e.g. mime types). The object form
|
|
* lets us show a short, readable `label` (e.g. "Chrome (Windows)") while
|
|
* inserting a longer `value` (the full User-Agent string).
|
|
*/
|
|
export type HeaderValuePreset = string | { label: string; value: string };
|