603: viewing diff: collapse what you just expanded

mkoe****@gmai***** (Google Code) (Is this you? Claim this profile.)
Sept. 17, 2012
What's the URL of the page this enhancement relates to, if any?
the diff viewer

Describe the enhancement and the motivation for it.
When you click on something like "25 lines hidden [Expand]"
then there is no way of un-expanding the 25 lines. Not a huge deal for 25
lines, but imagine you have 400 lines which you would like to hide again.

You could click on "Expand changes" to expand all of them and then click on
"Collapse changes", but imagine you have several multi-thousand line files
in your diff with the diff itself having significantly less. That takes
quite some time for the browser to deal with that.

What operating system are you using? What browser?
linux, firefox

Please provide any additional information below.
#1 chipx86
There are definitely enhancements we want to make in this post-1.0.
  • -Type-Defect
#2 david
  • +Confirmed
#3 chipx86
  • +Milestone-Release1.6
#4 chipx86
Pushing out to 1.7 (tentatively).
  • +Milestone-Release1.7
#5 chipx86
  • -Confirmed
  • -Milestone-Release1.7
  • +chipx86
#6 chipx86
Pushed to release-1.6.x (754e8bf)
  • -Started