Skip to content

bext: fix git-extras extension blame for selected lines issue on the code hosts

Created by: taras-yemets

Closes https://github.com/sourcegraph/sourcegraph/issues/34700

sourcegraph.app.activeWindowChanges used by the git-extras extension to add blame decorations does not emit new values when lines selection is changed on the code hosts. The suggested approach is to explicitly update editor selections like it's done for Sourcegraph web version (Blob.tsx).

Test plan

  • sg run bext
  • follow the steps to reproduce from the original issue

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading