Skip to content

Fix/recently used section - #336

Open
itsmeakhil wants to merge 4 commits into
release-v0.1.18from
fix/recently-used-section
Open

Fix/recently used section#336
itsmeakhil wants to merge 4 commits into
release-v0.1.18from
fix/recently-used-section

Conversation

@itsmeakhil

Copy link
Copy Markdown
Collaborator

No description provided.

itsmeakhil and others added 4 commits September 4, 2026 22:49
Saved documents were stamped with the pane they came from and the Load
dialog only listed `docsByPane[loadPane]`, so a document saved from the
Text pane was invisible in the Tree pane's dialog and vice versa. There
was no way to load a saved document into the other pane.

- List every saved document regardless of origin pane; loading still
  targets whichever pane opened the dialog.
- Show the origin as Text/Tree instead of the raw left/right key.
- Sort newest first — the local router lists oldest-first and saves
  repeat the auto-generated titles.
- Render timestamps as dates. The row printed raw epoch ms because the
  type said `string` while the Rust router sends i64.

New `lib/json-formatter-docs.ts` holds the timestamp parsing (epoch ms
and ISO strings both reach the UI) with unit tests.
The Beautify & Minify output was rendered as a plain <pre>, so JSON, CSS,
HTML/XML and JavaScript all came out as undifferentiated monospace text.

Run the result through the existing highlight.js wrapper
(lib/code-screenshot#highlightCode), mapping each beautifier language onto
its hljs grammar. Monaco was the other option but @monaco-editor/react has
no loader.config here and pulls `vs` from cdn.jsdelivr.net, which is dead in
the offline desktop app.

The GitHub light/dark token theme moves out of json-schema-generator/ into
components/tools/hljs-theme.css and is rescoped .json-schema-hl -> .hljs-theme
so both tools share one stylesheet; its only other consumer is updated.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S5dugrrsqWvHDSeVhgNhSU
…ty names

The field cards were labelled with the raw DOM property names — event.key,
event.code, event.keyCode, event.which, event.location — which read as
placeholder text rather than as headings for the values below them.

Replace them with plain words, translated across all 27 locales: Key, Code,
Key code, Which, Location. `which` keeps the English word everywhere; it is a
legacy alias of keyCode with no natural translation, and the literal
interrogative reads like a mistake in most languages.

Messages only — the layout already renders these through t('fields.*').

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S5dugrrsqWvHDSeVhgNhSU
@vercel

vercel Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
mydevtools-tech Ready Ready Preview Sep 6, 2026 7:26pm UTC

@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

ThreatCrush Security Scan

1 finding(s)

MEDIUM: 1

Severity Rule Location
MEDIUM js-unsafe-yaml-load apps/desktop-ui/src/lib/import/insomnia.ts:290

Snippets are redacted; ThreatCrush never prints matched credential material.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant