你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/456690-bitbucket-commit-links-in-diff-tab-of-prs,源站連結 點此以跳轉

Bitbucket: commit links in diff tab of PRs

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


點此查看下載連結位址https://update.greasyfork.org.cn/scripts/456690/Bitbucket%3A%20commit%20links%20in%20diff%20tab%20of%20PRs.user.js

安装此脚本?
作者
andrybak
日安装量
0
总安装量
10
评分
0 0 0
版本
16
创建于
2022-12-16
更新于
2025-05-17
大小
6.2 KB
许可证
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.