(ctx context.Context, workspaceId string, newActiveTabId string)
| 367 | } |
| 368 | |
| 369 | func SendActiveTabUpdate(ctx context.Context, workspaceId string, newActiveTabId string) { |
| 370 | eventbus.SendEventToElectron(eventbus.WSEventType{ |
| 371 | EventType: eventbus.WSEvent_ElectronUpdateActiveTab, |
| 372 | Data: &waveobj.ActiveTabUpdate{WorkspaceId: workspaceId, NewActiveTabId: newActiveTabId}, |
| 373 | }) |
| 374 | } |
| 375 | |
| 376 | func UpdateWorkspaceTabIds(ctx context.Context, workspaceId string, tabIds []string) error { |
| 377 | ws, _ := wstore.DBGet[*waveobj.Workspace](ctx, workspaceId) |
no test coverage detected