在畫面右下角增加一工具箱,用以摺疊Discussion區塊中的comment卡片。
A Tampermonkey script that makes Azure DevOps's work item page looks better.
不小心點到描述區就改到東西了嗎?
comment 太多不知道哪些做完哪些還沒嗎?
想搜尋 comment 內容可是內建的搜尋不知道搜到哪裏去嗎?
讓 BetterAzureDevOps 來節省你的san值還有腕隧道症候群。
這個 Repo 目前包含以下三個 Script
改善評論區 (discussion) 的呈現方式,可以將每個評論區塊折疊起來節省你的螢幕空間。
將描述區 (description) 鎖上,防止意外編輯,並新增一個上鎖/解鎖按鈕。
將上方不常用的 task 縮小,節省螢幕空間讓你的螢幕可以塞的下更多的工項 comment。
DescriptionLocker (描述編輯器上鎖工具) HeaderFolder (標題列摺疊工具)DescriptionLocker (描述編輯器上鎖工具) 基於重新綁定 eventListener 的 DescriptionLocker。
javascript
function locked(e) {
e.stopImmediatePropagation();
e.preventDefault();
}
const editor = document.querySelector('div[id^="__bolt-Description"]');
editor.addEventListener('mousedown', locked, true);
editor.addEventListener('mouseup', locked, true);
DescriptionLocker (描述編輯器上鎖工具) 修正會超出編輯區塊的欄寬編輯器。HeaderFolder (標題列摺疊工具) 編輯描述的時候自動展開,以便按下儲存按鈕。Copyright 2025 Anthony.Mai([email protected])
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址