Add line-specific historic information to the source code viewer
Description
This is a proposal to add the ability to view information about the most recent changes for each line when viewing source code via the repository source code viewer without having to leave the page.
The idea is to give users the ability to quickly gain more insight into when and why a particular line was changed without having to leave the page.
Similar solutions such as GitLens already exist for IDEs.
Mockups
Some initial ideas for content:
- Author who last changed the line
- Date indicating when the most recent commit that changed the line was authored
- The git commit message of the most recent commit that changed the line
- A diff of the changed line
- A link to the related issue
- A link to the MR that introduced the most recent commit
We should consider adding the ability disable this feature on a user level (User Preferences) because some users may not want this extra information while interacting with the source viewer.
Problem to solve
Increase user productivity and reduce context switching by giving users the ability to view historical information about a particular line without having to leave the current page.
Intended users
- Delaney (Development Team Lead)
- Sasha (Software Developer)
- Priyanka (Platform Engineer)
- Sidney (Systems Administrator)
- Sam (Security Analyst)
- Rachel (Release Manager)
- Alex (Security Operations Engineer)
- Simone (Software Engineer in Test)
- Allison (Application Ops)
- Ingrid (Infrastructure Operator)
- Dana (Data Analyst)
- Eddie (Content Editor)
Feature Usage Metrics
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.