Skip to content
Snippets Groups Projects
Commit 535e039f authored by Austin Anderson's avatar Austin Anderson
Browse files

Forgive copy-pasting CLs

parent e761671d
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,8 @@ Here are some tips and notes about the dashboard:
- You can copy the URL while a commit modal is open to share that commit.
- Add `#<commit-id>` to the dashboard URL to find a specific commit.
- Add `#<cl-number>` to the dashboard URL to find a specific CL (this is one
easy way to check if your CL has landed on GitHub, on Nightlies, etc).
easy way to check if your CL has landed on GitHub, on Nightlies, etc). You
can include the "cl/" too if you're copy-pasting.
- Add `#<pr-number>` to the dashboard URL to find a specific merged PR.
- This page refreshes roughly every 5 minutes to check for updates.
- The last dot you clicked on is outlined in black. It goes away after refresh.
......
......@@ -118,7 +118,7 @@ $(function () {
// And if it's neither, it's a CL, so try and find a modal
// matching that CL number
} else {
const cl = window.location.hash.substring(1)
const cl = window.location.hash.substring(1).replace("cl/", "")
const modal_id = '#' + $(`.modal[data-cl=${cl}]`).attr('id')
new bootstrap.Modal(modal_id).show()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment