Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
170b16e
API visual first pass
royendo Feb 3, 2026
b50943c
nit
royendo Feb 3, 2026
737d298
args
royendo Feb 3, 2026
05a5b87
simpler, prettier
royendo Feb 3, 2026
8614d13
web code qual
royendo Feb 3, 2026
74ad9bb
code qual
royendo Feb 3, 2026
cd82c30
Update VisualAPIEditor.svelte
royendo Feb 3, 2026
7cc6139
Update VisualAPIEditor.svelte
royendo Feb 3, 2026
a96efa5
fixed heights and JSON view
royendo Feb 3, 2026
08b2ef7
prettier
royendo Feb 3, 2026
2d1f1f5
code qual
royendo Feb 3, 2026
0a45bdc
Update APIWorkspace.svelte
royendo Feb 3, 2026
7d6e002
Merge branch 'main' into feat/visual-editor-api
royendo Feb 20, 2026
425ecfb
Update errors.ts
royendo Feb 20, 2026
83779f2
themeing css
royendo Feb 20, 2026
05d2383
remove viz editor, consolidate tests into text editor
royendo Mar 5, 2026
563a773
Merge branch 'main' into feat/visual-editor-api
royendo Mar 5, 2026
813ad67
rename
royendo Mar 5, 2026
c34565b
reset review on nav
royendo Mar 5, 2026
8272f9b
reset
royendo Mar 5, 2026
1dbc8f3
template overwrites
royendo Mar 5, 2026
b04e4b9
local PR reviews
royendo Mar 5, 2026
c63a253
Remove unused `mapParseErrorsToLines` import in `+page.svelte`
royendo Mar 11, 2026
a6f6529
Merge branch 'main' into feat/visual-editor-api
royendo Mar 11, 2026
c1ff4d6
importing runtime changes
royendo Mar 11, 2026
2c5ec94
Merge remote-tracking branch 'origin/main' into feat/visual-editor-api
royendo Mar 30, 2026
4b68698
migration svelte/vite
royendo Mar 30, 2026
08af507
prettier
royendo Mar 30, 2026
e670982
prettier
royendo Mar 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
reset review on nav
  • Loading branch information
royendo committed Mar 5, 2026
commit c34565ba174f41ec7aabc24aad5d07fed6dc2c81
8 changes: 8 additions & 0 deletions web-common/src/features/apis/editor/APITestPanel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@
let isLoading = false;
let previewHeight = 200;

// Clear response when switching to a different API
$: apiName, resetResponse();
function resetResponse() {
apiResponse = null;
responseError = null;
isLoading = false;
}

$: baseUrl = `${host}/v1/instances/${instanceId}/api/${apiName}`;
$: fullUrl = buildFullUrl(baseUrl, args);
$: isDisabled = hasErrors || isReconciling;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<div
role="status"
transition:slide={{ duration: LIST_SLIDE_DURATION }}
class="border border-destructive bg-destructive/15 dark:bg-destructive/30 text-fg-primary border-l-4 px-3 py-2.5 max-h-40 overflow-auto text-sm"
class="border border-destructive bg-destructive/15 dark:bg-destructive/30 text-fg-primary border-l-4 px-3 py-2.5 text-sm flex-shrink-0"
>
<div class="flex gap-x-2 items-center">
<CancelCircle className="text-destructive" />{error}
Expand Down