feat: Prevent multiple workflow tabs
Description
When running a command to show an Editor webview, we want to check whether or not the tab already exists. If it does, we show that tab instead of making a new one. If there is a new initialGoal, then we close the current tab and reopen a new one with the initialState.
This is based on https://code.visualstudio.com/api/extension-guides/webview#visibility-and-moving
Related Issues
Resolves #1685 (closed)
How has this been tested?
Screenshots (if appropriate)
Screen_Recording_2024-12-12_at_2.19.09_PM
What CHANGELOG entry will this MR create?
-
fix:
Bug fix fixes - a user-facing issue in production - included in changelog -
feature:
New feature - a user-facing change which adds functionality - included in changelog -
BREAKING CHANGE:
(fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog -
None - other non-user-facing changes
Edited by Frédéric Caplette