[web-console] Fix content in Change Stream tab resets when opening Interaction panel - #6748
Merged
Conversation
…teraction tab Prevent an error toast when clicking on an already existing demo Signed-off-by: Karakatiza666 <bulakh.96@gmail.com>
mythical-fred
approved these changes
Jul 29, 2026
mythical-fred
left a comment
There was a problem hiding this comment.
Two small, correct fixes:
- Keying the
TabsPanel{#each}onidstops Svelte from destroying and rebuilding the wrong tab component when the tabs array is reshaped (e.g. showing/hiding the Interaction panel), which is exactly why the Change Stream content was resetting. Standard{#each ... (key)}remedy for keyed identity — right fix, not a workaround. - Gating the demo
postPipelineon!already_createdavoids the redundant POST (and its 4xx toast) when the pipeline already exists. The emptycatch {}remains, which is fine givengotostill runs either way.
Two nits, worth fixing but not blocking:
- The title has a typo:
CHange→Change. GitHub keeps the PR title in the squash-merge commit subject, so this ends up ingit logunless you rename before merge. - Title says "Interaction panel" but the commit subject says "Interaction tab" — pick one; the linked panel in your description is the Interaction panel.
Approving.
mihaibudiu
approved these changes
Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prevent an error toast when clicking on an already existing demo
Testing: -manual:
First issue - start a demo, subscribe and receive any rows in Change Stream, then open or close the Interaction panel.
Second issue - click on any demo that has already been created, observe that there is no error toast notification on bottom right