Design pass: fewer boxes, one emphasis signal, type glyphs in the JSON form

- Welcome screen: the mark as a peephole and actions as plain lines
  instead of a card grid and key chips
- Title bar: search as a small button, documentation (F1) next to it;
  help entries in the command palette
- The vertical cyan rule marks what needs attention (redirect URI,
  inactive environment, banners) instead of nested framed boxes
- JSON form: fixed key column so types and values line up at any depth,
  type glyphs in the code view's colours, row actions float on hover
- Crisper corners; Send carries the mark; Saved instead of a disabled
  Save button
- Open tabs are restored after a restart again
This commit is contained in:
2026-11-27 21:54:04 +01:00
parent f40c3975fb
commit 677b5adaf9
15 changed files with 196 additions and 122 deletions
+2 -2
View File
@@ -62,12 +62,12 @@
<div class="mono text-[12px] text-fg-subtle">{id}/folder.yaml</div>
</div>
<button class="rounded px-3 py-1.5 text-fg-muted hover:text-fg" onclick={() => dialogs.runner(col, id)}>Run folder</button>
<button class="rounded bg-accent px-4 py-1.5 font-bold text-accent-fg disabled:opacity-40 hover:bg-accent-hover" disabled={!dirty} onclick={save}>Save</button>
{#if dirty}<button class="rounded bg-accent px-4 py-1.5 font-bold text-accent-fg hover:bg-accent-hover" onclick={save} title="Save (Ctrl+S)">Save</button>{:else}<span class="px-4 py-1.5 text-fg-subtle">Saved</span>{/if}
</div>
<section>
<h2 class="k-label mb-2">Auth</h2>
<p class="mb-2 text-[12px] text-fg-subtle">Requests in this folder that use "inherit" get this auth.</p>
<div class="rounded border border-line"><AuthPanel bind:auth={meta.auth!} level="folder" {col} /></div>
<div class="-mx-3"><AuthPanel bind:auth={meta.auth!} level="folder" {col} /></div>
</section>
<section>
<h2 class="k-label mb-2">Headers</h2>