Skip to content

Commit d194ad5

Browse files
authored
feat: enhance HTTP parameters editor with query params support and default headers (#2557)
- Updated FlowEditor to display a default title for new flows. - Refactored HttpParamsEditor to include query parameters and manage them effectively. - Introduced a new KeyValueRows component for handling both headers and query parameters. - Added default headers in the executor catalog for HTTP calls. - Improved localization for new query parameters and related UI elements.
1 parent f54e686 commit d194ad5

11 files changed

Lines changed: 415 additions & 109 deletions

File tree

frontend/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ dist-ssr/
77
.vite/
88
.DS_Store
99
*.tsbuildinfo
10+
.config.ts

frontend/src/features/soar/components/FlowEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export function FlowEditor({
172172
<header className="flex items-start justify-between gap-4 border-b border-border px-6 py-4">
173173
<div className="min-w-0">
174174
<h2 className="flex items-center gap-2 truncate text-lg font-semibold">
175-
<span className="truncate">{form.name.trim() || (creating ? t('soar.editor.createTitle') : (flow?.name ?? ''))}</span>
175+
<span className="truncate">{form.name.trim() || (creating ? t('soar.new') : (flow?.name ?? t('soar.new')))}</span>
176176
{!readOnly && (
177177
<button
178178
type="button"

0 commit comments

Comments
 (0)