Commit Graph
8 Commits
Author SHA1 Message Date
Gregory SchierandClaude Opus 4.6 c340a7d5ae Auto-fix JSON comments and trailing commas for HTTP request bodies
Add a per-request "Automatically Fix JSON" toggle (default: on) that strips
comments and trailing commas before sending HTTP requests. When disabled,
comments are sent as-is and the editor linter flags them as errors.

- New JsonBodyEditor component with settings dropdown and dismissible banner
- Configurable JSON linter (allowComments/allowTrailingCommas) via lintExtension prop
- strip_trailing_commas pass in Rust strip_json_comments pipeline
- Fix JSON formatter pulling standalone comments onto previous comma line
- Add get_bool_map helper, maybe_strip_json_comments, and related tests

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 13:23:41 -08:00
Gregory Schier ed6f9f8bd0 Strip JSON comments for WS requests 2026-03-05 08:12:09 -08:00
Gregory Schier 2cf70c1771 Function to strip JSON comments 2026-03-05 07:23:44 -08:00
Gregory Schier a821c0aba6 Update JSON formatter to work with jsonc comments 2026-03-05 07:17:09 -08:00
Gregory Schier 3a6630a14d tests(cli): prevent request send test teardown hang (#408) 2026-02-26 08:58:13 -08:00
Gregory Schier 565e053ee8 Fix auth tab crash when template rendering fails (#392) 2026-02-11 14:59:17 -08:00
Gregory Schier 76ee3fa61b Flatpak: build from source instead of repackaging debs (#389) 2026-02-10 23:05:33 -08:00
Gregory Schier ef80216ca1 Decouple core Yaak logic from Tauri (#354) 2026-01-08 20:44:25 -08:00