Closed bergundy closed 2 years ago
@rramirez77 I assigned this to you.
You will need to implement the second part of the "backend" for the UI. This is where you need to add the code: https://github.com/temporalio/vscode-debugger-plugin/blob/7bb441827bba06f911615ebf3e0a31ee2c594d5a/src/panel.ts#L117 When you get the workflowId and optional runId create a client (connect to localhost - the default - for now) and download the history from the server using this sample as reference: https://github.com/temporalio/vscode-debugger-plugin/blob/7bb441827bba06f911615ebf3e0a31ee2c594d5a/src/replay_history/replayer.ts#L7
From the proposal
The panel should be implemented as a webview (also discussed in the proposal).
Here's the rough layout: https://jsfiddle.net/61whLp45/
Note that the server configuration should probably be in a separate "tab" but we'll finalize that when we get some designer time.
Checklist: