File tree Expand file tree Collapse file tree
frontend/app/view/waveconfig Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -468,6 +468,16 @@ export class WaveConfigViewModel implements ViewModel {
468468
469469 try {
470470 await RpcApi . SetSecretsCommand ( TabRpcClient , { [ selectedSecret ] : secretValue } ) ;
471+ RpcApi . RecordTEventCommand (
472+ TabRpcClient ,
473+ {
474+ event : "action:other" ,
475+ props : {
476+ "action:type" : "waveconfig:savesecret" ,
477+ } ,
478+ } ,
479+ { noresponse : true }
480+ ) ;
471481 this . closeSecretView ( ) ;
472482 } catch ( error ) {
473483 globalStore . set ( this . errorMessageAtom , `Failed to save secret: ${ error . message } ` ) ;
@@ -539,6 +549,16 @@ export class WaveConfigViewModel implements ViewModel {
539549
540550 try {
541551 await RpcApi . SetSecretsCommand ( TabRpcClient , { [ name ] : value } ) ;
552+ RpcApi . RecordTEventCommand (
553+ TabRpcClient ,
554+ {
555+ event : "action:other" ,
556+ props : {
557+ "action:type" : "waveconfig:savesecret" ,
558+ } ,
559+ } ,
560+ { noresponse : true }
561+ ) ;
542562 globalStore . set ( this . isAddingNewAtom , false ) ;
543563 globalStore . set ( this . newSecretNameAtom , "" ) ;
544564 globalStore . set ( this . newSecretValueAtom , "" ) ;
You can’t perform that action at this time.
0 commit comments