Git-extras blame mode is not synced across a few blob views on the page
Created by: taras-yemets
Changing git blame mode when references file preview is open breaks git-extras extension.
Platform: https://sourcegraph.com/
Steps to reproduce:
- ensure
"experimentalFeatures": { "coolCodeIntel": true }
feature flag is enabled (https://github.com/sourcegraph/sourcegraph/pull/30095) - open any file
- enable git blame for the whole file
- click on a code token, wait for a code intel popup and click "Find references" button
- in the references tab click on any reference body to see the file preview
- ensure that git blame decorations are present in the file preview
- disable git blame by clicking on the extension icon
- ensure that blame decorations have disappeared from the references tab file preview but remain on the main blob view
Current behavior
Blame decorations are not visible for the references tab file preview but still remain on the main blob view. Extension icon is inactive.
Expected behavior
Git blame decoration state is shared between the blob views: both are either visible or not. Extension icon reflects the next blame mode correctly.