Closed
Bug 914693
Opened 10 years ago
Closed 10 years ago
pushloghtml should show merges expanded by default rather than collapsed by default
Categories
(Developer Services :: Mercurial: Pushlog, defect)
Developer Services
Mercurial: Pushlog
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: dbaron, Assigned: emorley)
References
Details
Attachments
(2 files)
3.34 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
6.89 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
(This has bugged me since the since the Expand/Collapse feature was implemented, but I never got to filing a bug on it. My memory is that other people had a similar negative reaction.) Pushlogs collapse merge commits by default, e.g.: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?startdate=2013-08-13+00%3A00%3A00&enddate=2013-08-15+16%3A00%3A00 This means that: (1) if you're skimming for certain words, it's easy to miss a merge commit (2) if you're skimming to judge size/complexity, it's easy to miss major sources of size/complexity (3) if you're using find-in-page to search for certain terms, it's easy to miss things Doing *any* of these things requires searching for every [Expand] and clicking it. I think merges should just be expanded by default.
Comment 1•10 years ago
|
||
I think I agree, but in the meantime I have an "ExpandAll" bookmarklet which helps: javascript:(function(){$('.expand').filter(function(){return%20$(this).text()=="[Expand]";}).click()})()
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #803375 -
Flags: review?(ted)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → emorley
Status: NEW → ASSIGNED
Updated•10 years ago
|
Attachment #803375 -
Flags: review?(ted) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Thank you :-) https://hg.mozilla.org/hgcustom/hg_templates/rev/32eb0bbb3280
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•10 years ago
|
||
Bah, missed that whilst the js toggles the caption, the initial string isn't populated via js, but from the localisation map: https://hg.mozilla.org/hgcustom/hg_templates/file/32eb0bbb3280/gitweb_mozilla/map#l68
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 5•10 years ago
|
||
Also did s/N hidden changesets/N merge changesets/ since it doesn't make as much sense now expanded by default (even though it didn't toggle before).
Attachment #817904 -
Flags: review?(ted)
Assignee | ||
Comment 6•10 years ago
|
||
(And yey for having no easy way to tests these changes locally :-()
Comment 7•10 years ago
|
||
Comment on attachment 817904 [details] [diff] [review] Update captions too Review of attachment 817904 [details] [diff] [review]: ----------------------------------------------------------------- It's not terribly hard to create a test repo with whatever commits you want and enable the pushlog extension on it, but yeah, it's also not trivial.
Attachment #817904 -
Flags: review?(ted) → review+
Assignee | ||
Comment 8•10 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #7) > It's not terribly hard to create a test repo with whatever commits you want > and enable the pushlog extension on it, but yeah, it's also not trivial. hgweb on Windows however... ;-) (And yes I could just use one of my VMs, but then it starts to get disproportionate to the number of lines changed in the patch :-))
Assignee | ||
Comment 9•10 years ago
|
||
And whilst a staging hgweb instance would be useful, I don't know how often it would get used (other than hg.m.o rollouts, but I presume we stand up specific instances for that).
Assignee | ||
Comment 10•10 years ago
|
||
https://hg.mozilla.org/hgcustom/hg_templates/rev/4002538e425d
Assignee | ||
Comment 11•10 years ago
|
||
In production and working fine now :-)
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
Comment 12•9 years ago
|
||
Indeed. A very helpful change which saves us from clicking all around. Thanks a lot!
Status: RESOLVED → VERIFIED
Comment 13•9 years ago
|
||
https://hg.mozilla.org/hgcustom/version-control-tools/rev/0f95cd46d2b4 https://hg.mozilla.org/hgcustom/version-control-tools/rev/766251b574e8
Updated•9 years ago
|
Product: Webtools → Developer Services
You need to log in
before you can comment on or make changes to this bug.
Description
•