gerrit new UI and line wrapping

1,189 views
Skip to first unread message

Warren Turkal

unread,
Dec 10, 2013, 7:48:00 PM12/10/13
to Repo and Gerrit Discussion, Jack Veenstra
Is there a way in gerrit 2.8 new ui to get the lines to wrap at some column width with a side-by-side diff like in the old ui?

wt
--
Warren Turkal
Site Reliability Engineer | 
w...@ooyala.com | 650-961-3400
www.ooyala.com | blog | @ooyala

Shawn Pearce

unread,
Dec 10, 2013, 9:07:27 PM12/10/13
to Warren Turkal, Repo and Gerrit Discussion, Jack Veenstra
On Tue, Dec 10, 2013 at 4:48 PM, Warren Turkal <w...@ooyala.com> wrote:
Is there a way in gerrit 2.8 new ui to get the lines to wrap at some column width with a side-by-side diff like in the old ui?

No.

Rainer Burgstaller

unread,
Dec 11, 2013, 3:34:16 AM12/11/13
to repo-d...@googlegroups.com, Warren Turkal, Jack Veenstra
+1 for that feature. Also the side-by-side view does not make use of my full screen width ( I have 27" and all changes are limited to 80 chars and the rest is invisible). Given that the new UI is becoming the default and the old ui is being deprecated, I think it needs a few more improvements to make it into the mainstream.

Is there a way to get it to show more than 80 columns?

Another question is what happened to the "mark reviewed and next" button?

best regards

Michael Zhou

unread,
Dec 12, 2013, 3:01:57 AM12/12/13
to repo-d...@googlegroups.com, Warren Turkal, Jack Veenstra
Yes the new screen wastes horizontal space when the display is large. I will probably look into that and see what we can do.

"mark reviewed and next" is deprecated. The "reviewed" checkbox is now to the left of the file path, and can still be toggled using "r". The three arrows (left, up, right) on the top right are used for navigating within a patchset. The hotkeys "[" and "]" are still functional.

Nasser Grainawi

unread,
Dec 12, 2013, 11:45:16 AM12/12/13
to Michael Zhou, repo-d...@googlegroups.com, Warren Turkal, Jack Veenstra
On Dec 12, 2013, at 1:01 AM, Michael Zhou wrote:

Yes the new screen wastes horizontal space when the display is large. I will probably look into that and see what we can do.

I've heard from folks on tablets that it's also difficult to look at one side of the diff or the other when doing the side-by-side. Is there going to be a way to fix that? If not, do we need a unified diff view (and a way to access it on a tablet)?


"mark reviewed and next" is deprecated. The "reviewed" checkbox is now to the left of the file path, and can still be toggled using "r". The three arrows (left, up, right) on the top right are used for navigating within a patchset. The hotkeys "[" and "]" are still functional.

On Wednesday, December 11, 2013 3:34:16 AM UTC-5, Rainer Burgstaller wrote:
+1 for that feature. Also the side-by-side view does not make use of my full screen width ( I have 27" and all changes are limited to 80 chars and the rest is invisible). Given that the new UI is becoming the default and the old ui is being deprecated, I think it needs a few more improvements to make it into the mainstream.

Is there a way to get it to show more than 80 columns?

Another question is what happened to the "mark reviewed and next" button?

best regards

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
 
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation

Mark Derricutt

unread,
Dec 12, 2013, 1:28:15 PM12/12/13
to Nasser Grainawi, Michael Zhou, repo-d...@googlegroups.com, Warren Turkal, Jack Veenstra
I think the worst part of ChangeScreen2 was the removal of the unified diff view - which is used pretty 100% of the time at work, even tho it had some strange issues at times with looses indents.

We've not yet upgraded to 2.8 and I was recommending turning on CS2, but given all the reports of all the usability issues I don't think I want to anymore.

Mark
signature.asc

Jonathan Nieder

unread,
Dec 12, 2013, 1:42:20 PM12/12/13
to Mark Derricutt, Nasser Grainawi, Michael Zhou, Repo and Gerrit Discussion, Warren Turkal, Jack Veenstra
Hi,

Mark Derricutt wrote:

> I think the worst part of ChangeScreen2 was the removal of the unified diff view

I see under Settings -> Preferences: Diff View (New Change Screen):
[Side by Side] or [Unified Diff].

Is that not working when you try it?

Michael Zhou

unread,
Dec 12, 2013, 7:12:58 PM12/12/13
to repo-d...@googlegroups.com, Nasser Grainawi, Michael Zhou, Warren Turkal, Jack Veenstra
I'm working on implementing a new unified view and it looks promising. It **might** be in 2.9. Until then you can still use the old unified view.

Michael Zhou

unread,
Dec 12, 2013, 7:13:48 PM12/12/13
to repo-d...@googlegroups.com, Michael Zhou, Warren Turkal, Jack Veenstra
Mobile support is rather miserable at this time :( Haven't got much time to improve that.

Mark Derricutt

unread,
Dec 12, 2013, 8:53:29 PM12/12/13
to Jonathan Nieder, Nasser Grainawi, Michael Zhou, Repo and Gerrit Discussion, Warren Turkal, Jack Veenstra
On 13 Dec 2013, at 7:42, Jonathan Nieder wrote:

> I see under Settings -> Preferences: Diff View (New Change Screen):
> [Side by Side] or [Unified Diff].
>
> Is that not working when you try it?

To be honest, I didn't know that option was there :) I just noticed it over on my GerritForge account ( under 2.7 ) and that does work. *yay* :)

Now to get our ops team to get around to deploying 2.8 on our local instance.

Mark
signature.asc

Rainer Burgstaller

unread,
Dec 13, 2013, 6:27:10 AM12/13/13
to repo-d...@googlegroups.com, Nasser Grainawi, Michael Zhou, Warren Turkal, Jack Veenstra
May I ask for a feature to make the keyboard shortcuts for next/prev file configurable? On a German keyboard [,] can only be entered via a combination which seems to prevent them from working altogether. 

Thanks

Bruce Zu

unread,
Dec 30, 2013, 1:50:40 AM12/30/13
to repo-d...@googlegroups.com, Nasser Grainawi, Michael Zhou, Warren Turkal, Jack Veenstra


On Friday, December 13, 2013 8:12:58 AM UTC+8, Michael Zhou wrote:
I'm working on implementing a new unified view and it looks promising. It **might** be in 2.9. Until then you can still use the old unified view.

Thanks!. in some cases the Unified view is very useful.  e.g.  review long  SQL statements. 
Reply all
Reply to author
Forward
0 new messages