codetour icon indicating copy to clipboard operation
codetour copied to clipboard

UI doesn't update when deleting a Tour

Open drguthals opened this issue 4 years ago • 3 comments

This may not be a bug, but I noticed that if I delete a tour, the file deletes but the UI does not update until I reload by Visual Studio Code window.

VSCode version: 1.59.0 OS: Windows 10 19042.1110 CodeTour version: 0.0.58

Apologies for the small text in the Gif.

CodeTourDelete

drguthals avatar Aug 12 '21 19:08 drguthals

Hmm, that's definitely a regression! This used to work, so something must have broken along the way. I'll take a look at this tomorrow. Thanks for reporting it!

lostintangent avatar Aug 13 '21 06:08 lostintangent

FYI - I noticed a similar issue when you have CodeTours that reference a specific branch. The UI doesn't update with the appropriate Tours.

In this example, I'm on the exercise-2-testing-add branch, so I should be seeing the the-add-method.tour in the UI, but I'm seeing the-integerarraylist-class.tour and the-integerarraylisttest-class.tour, which are both referencing the exercise-1-testing-size branch:

CodeTour-NoUpdate

drguthals avatar Aug 16 '21 16:08 drguthals

Adding info here

UI is not updating:

  • Checking out commits doesn't show the current tours
  • Edits to *.tour file doesn't make it's way to UI without reloading window

JonatasAmaral avatar Mar 25 '22 12:03 JonatasAmaral