Show HN: My personal Gerrit dash: can you improve it?

by kazinatoron 11/7/2025, 10:19 PMwith 2 comments

Gerrit can construct dashboards entirely programmed using URL parameters, which you can bookmark in your browser. You don't need admin access to officially configure them in your project.

With this, you can make a better dashboard than your default one.

I'm using the following at the moment. In my browser bookmark toolbar it has a very short name, "?" (question mark).

I also have other dashboards that are very project-specific and so do not share well, but this one is completely generic:

  https:/YOUR.GERRIT.HOST.HERE/dashboard/?title=What%27s+Up?&Active+Drafts/Unresolved=(uploader:me+or+owner:me)+(has:draft+or+has:unresolved)+status:open+-age:3w&Active%20Outgoing=(uploader:me+or+owner:me)+status:open+-age:3w+-is:wip&Active%20Incoming+%28cc+or+reviewer%29=%28reviewer:me+or+cc:me%29+(-uploader:me+and+-owner:me)+-age:3w+status:open&WIP=(owner:me+or+uploader:me)+is:wip+status:open&Recently%20Merged=(owner:me+or+uploader:me)+status:merged+limit:5&Inactive+Outgoing=(owner:me+or+uploader:me)+status:open+age:3w+-is:wip+limit:5&Inactive+Incoming=(reviewer:me+or+cc:me)+(-uploader:me+and+-owner:me)+status:open+age:3w+limit:5

by kazinatoron 11/8/2025, 1:27 AM

Fixed issue with "Active Drafts/Unresolved" pane:

  https://YOUR.GERRIT.HOST.HERE/dashboard/?title=What%27s+Up?&Active+Drafts/Unresolved=(((uploader:me+or+owner:me)+and+has:unresolved)+or+has:draft)+status:open+-age:3w&Active%20Outgoing=(uploader:me+or+owner:me)+status:open+-age:3w+-is:wip&Active%20Incoming+%28cc+or+reviewer%29=%28reviewer:me+or+cc:me%29+(-uploader:me+and+-owner:me)+-age:3w+status:open&WIP=(owner:me+or+uploader:me)+is:wip+status:open&Recently%20Merged=(owner:me+or+uploader:me)+status:merged+limit:5&Inactive+Outgoing=(owner:me+or+uploader:me)+status:open+age:3w+-is:wip+limit:5&Inactive+Incoming=(reviewer:me+or+cc:me)+(-uploader:me+and+-owner:me)+status:open+age:3w+limit:5
The original search restricts to commits for which you are the uploader or owner. This is wrong because it won't find unpublished drafts you've left on other people's reviews. Only the "has:unresolved" condition must be confined to items owned by you or where you are the most recent uploader.

by kazinatoron 11/7/2025, 10:25 PM

There are a lot of search terms like (uploader:me+or+owner:me) because this handles situations when you have uploaded a patchset to someone else's review, that you need to keep tabs on (at least while you are the most recent uploader).