Currently we are saving the projects selected by the user for adding into the dashboard in global state before the workspace is saved by the user, once it is saved we need to clear the states from global state since global state is common for all vs code sessions . But if the user chooses file -> close workspace currently we cannot hook into this flow and clear the states .
Need to figure out a way to clear the states in this scenario , so that these data won't be available for other vs code sessions and we can prevent mistakingly adding these projects into liberty dashboard in other sessions
Currently we are saving the projects selected by the user for adding into the dashboard in global state before the workspace is saved by the user, once it is saved we need to clear the states from global state since global state is common for all vs code sessions . But if the user chooses file -> close workspace currently we cannot hook into this flow and clear the states . Need to figure out a way to clear the states in this scenario , so that these data won't be available for other vs code sessions and we can prevent mistakingly adding these projects into liberty dashboard in other sessions