Skip to content

Commit

Permalink
chore: stopping the recording and test when back button
Browse files Browse the repository at this point in the history
Signed-off-by: Aditya-eddy <aditya282003@gmail.com>
  • Loading branch information
Aditya-eddy committed Sep 18, 2024
1 parent 0753025 commit 88dbcb8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions sidebar/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,26 @@ if(backConfigbutton){
if(selectedIconButton.textContent == '1'){
console.log("selectedIconButton: " , selectedIconButton.textContent );
console.log("backconfig button clicked")

vscode.postMessage({
type: "stopRecordingCommand",
value: `Stop Recording`
});


vscode.postMessage({
type: "stopTestingCommand",
value: `Stop Testing`
});

vscode.postMessage({
type:"navigate",
value:"Config"
})

}else{


vscode.postMessage({
type:"navigate",
value:"IntegrationTest"
Expand Down
2 changes: 1 addition & 1 deletion webviews/components/KeployHome.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
</button>
</div>
<div class="header">
<div class="heading">
<div class="heading">
{#if selectedIconButton === 3}
<h1>Make changes to keploy config</h1>
{:else if selectedIconButton === 2}
Expand Down

0 comments on commit 88dbcb8

Please sign in to comment.