Bitbucket: commit links in diff tab of PRs

Adds convenience links in PRs of Bitbucket v7.6.+

스크립트 설치?
개발자의 추천 스크립트

Bitbucket: copy commit reference는 어떤가요?

스크립트 설치
질문, 리뷰하거나, 이 스크립트를 신고하세요.
개발자
andrybak
일일 설치수
0
총 설치수
10
평점
0 0 0
버전
15
생성
2022-12-16
갱신
2024-09-05
크기
6.16KB
라이선스
MIT
동작 사이트

Bitbucket: add convenient links to commits

Screenshot of "PR links to commits"

This user script brings back convenient links to individual commit pages to the pull request's "Diff" tab, which was removed by Atlassian some time before Bitbucket version 7.6. The commit link includes a fancy tooltip, same as commit links on the "Commits" tab. Works for Bitbucket Server, but isn't applicable to Bitbucket Cloud due to significant UI redesign.

Instructions

The script uses @include rules to work on any domain that includes the word bitbucket. If your browser doesn't support @include (which might happen in the future when Chrome switches to Manifest V3 browser extensions) or your Bitbucket Server uses a domain which doesn't include the word bitbucket, you'll have to manually add your domain. Up-to-date instructions are at https://github.com/rybak/atlassian-tweaks#custom-domains

Source code

Source code and full history can be seen on GitHub: https://github.com/rybak/atlassian-tweaks/blob/main/bitbucket-pull-request-commit-links.user.js

See also

More userscripts and userstyles for Jira, Bitbucket, and Confluence in set Atlassian Tweaks.