Move git-extras functionality to the core workflow
Created by: taras-yemets
Closes https://github.com/sourcegraph/sourcegraph/issues/39433
- Migrates git-extras extension functionality to the core workflow (available under
extensionsAsCoreFeatures
experimental feature). This PR migrates only blame for the whole file mode and omits blame for selected lines mode. Whether we migrate the latter or not depends on the updates to the git blame UI (see this comment) and will be addressed (if needed) in the follow-up PRs. In the file view, blame decorations are displayed only in the column view (see https://github.com/sourcegraph/sourcegraph/pull/36007). The only UI change is that git blame icon migrated from the action items bar (extensions sidebar) to the repo header section (see screenshots). - Makes blame visibility status unique to the page (blame decorations are hidden initially) as opposed to the user setting synced across all the pages (inspired by how blame works in the VSCode for example).
Test plan
sg start
- enable
extensionsAsCoreFeatures
experimental feature - ensure that git-extras extension is not loaded/activated
- ensure git blame works as before on file, commit and compare pages
App preview:
Check out the client app preview documentation to learn more.