Skip to content
代码片段 群组 项目
未验证 提交 ddb2dc5e 编辑于 作者: Chaoyue Zhao's avatar Chaoyue Zhao 提交者: GitLab
浏览文件

Fix blob overflow menu permalink shortcut does not get triggered

This happens when user navigate to the blob page from repository page.
The `Mousetrap.bind()` in mounted() is getting
ovewritten by the shortcuts_blob.js, which we use to trigger the old
permalink button (when flag is off). This adds a feature flag check
in `shortcuts_blob.js.

Additionally, this also adds a new const under keybindings.js that
better reflects the nature of the new permalink (e.g. copy).

This feature was originally added in
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/181901 and is
behind the `blob_overflow_menu` feature flag.
上级 94135e61
2 合并请求!3031Merge per-main-jh to main-jh by luzhiyuan,!3030Merge per-main-jh to main-jh
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册