--
--
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.
ChangeScreen2 is live on gerrit-review. We have a few issues that are
non-critical:
- Avatars don't display quite where I wanted them in the History
section. The alignment is incorrect. I failed to test this correctly
locally.
On Tue, Jul 16, 2013 at 11:05 AM, Brad Larson <bkla...@gmail.com> wrote:
> Very nice and fun! I noticed that
> https://gerrit-review.googlesource.com/#/c/35520/6/gerrit-gwtui/src/main/java/com/google/gerrit/client/Gerrit.java,codemirror
> seems to be stacking the 'skipped x common lines' bars at the very bottom of
> the window? Some other files in that patch set don't seem to do that...
I forwarded this to Michael Zhou since he is working on that part of the UI.
> The file delta size boxes on the change overview page seem to be summing the
> numbers... so instead of +1 -1 I see 0. See
> https://gerrit-review.googlesource.com/#/c2/35520/.
Yes its showing the total number of lines added. +1 and -1 is 0 lines added.
On Tuesday, July 16, 2013 1:45:24 PM UTC-5, Shawn Pearce wrote:On Tue, Jul 16, 2013 at 11:05 AM, Brad Larson <bkla...@gmail.com> wrote:
> Very nice and fun! I noticed that
> https://gerrit-review.googlesource.com/#/c/35520/6/gerrit-gwtui/src/main/java/com/google/gerrit/client/Gerrit.java,codemirror
> seems to be stacking the 'skipped x common lines' bars at the very bottom of
> the window? Some other files in that patch set don't seem to do that...
I forwarded this to Michael Zhou since he is working on that part of the UI.
> The file delta size boxes on the change overview page seem to be summing the
> numbers... so instead of +1 -1 I see 0. See
> https://gerrit-review.googlesource.com/#/c2/35520/.
Yes its showing the total number of lines added. +1 and -1 is 0 lines added.Just my two cents... I prefer how the old page split them apart. If I see 0 lines added, it might be a +1 and -1 or it might be a +500 and -500. The bar graph helps, but I like seeing the raw numbers as well. Certainly not a deal breaker for me though, just a personal preference.
Also, I am a fan of how the diff layout allows the possibility of the vertical overview bar concept in the future :)
> I'm a huge fan of being able to copy-paste text from the diff view now - it
> is like Christmas and 4th of July all in one!
:-)
> On Monday, July 15, 2013 7:26:13 PM UTC-5, Shawn Pearce wrote:
>>
>> ChangeScreen2 is live on gerrit-review. We have a few issues that are
>> non-critical:
>>
>> - Avatars don't display quite where I wanted them in the History
>> section. The alignment is incorrect. I failed to test this correctly
>> locally.
>
> Any chance you could turn on avatars for gerrit-review so we could see this?
> ;-)
:-)
Coming soon-ish. I can't enable it with the way avatars work right
now. The /accounts/<id|email>/avatar URL needs to disappear.
>> - CodeMirror JS doesn't seem to always load? I had trouble with it
>> this morning. It may have been an artifact of testing before
>> deployment completed, or it may be an issue with our unique build
>> environment. Hitting reload seemed to "fix" things but I need to
>> investigate further.
I can't reproduce this anymore. I think it was caused by the partial
rollout, for a brief period some servers in our cluster had a
different version of JS than others.
--
On Mon, Jul 15, 2013 at 10:17 PM, Robert Ward
<robert....@googlemail.com> wrote:
> I like the look and feel of the new screen, however I can see a couple of
> things which are missing/non obvious that haven't been mentioned already.
>
> I can't see where it states the number of review comments on the file.
Missing feature. Thank you for pointing it out.
> There seems no obvious way to compare the list of files modified in
> given
> changes, before when the patchsets were all displayed on the one page
> you could compare the two very easily.
This is a known missing feature. My plan is to add a widget to the
right hand side of the "Files" bar that lets you select what the
compare should be.
16-Jul-13 - Brad Larson <bkla...@gmail.com> wrote:Yes its showing the total number of lines added. +1 and -1 is 0 lines added.
> The file delta size boxes on the change overview page seem to be summing the
> numbers... so instead of +1 -1 I see 0. See
> https://gerrit-review.googlesource.com/#/c2/35520/.
16-Jul-13 - Shawn Pearce <s...@google.com> wrote:16-Jul-13 - Brad Larson <bkla...@gmail.com> wrote:Yes its showing the total number of lines added. +1 and -1 is 0 lines added.
> The file delta size boxes on the change overview page seem to be summing the
> numbers... so instead of +1 -1 I see 0. See
> https://gerrit-review.googlesource.com/#/c2/35520/.This is not the usual way that Git show stats...git log --stat example:etc/cds.conf | 2 +-install/gerrit/setup.sh | 3 ++-2 files changed, 3 insertions(+), 2 deletions(-)It would be better to calc +1 + |-1| = 2 instead of +1 + (-1) = 0
My new ChangeScreen2 is mostly feature complete... so I merged it to
master where we can continue to iterate on the concept.
On Thu, Jul 18, 2013 at 1:28 AM, David Ostrovsky
<david.o...@gmail.com> wrote:
> On Monday, July 15, 2013 6:46:44 AM UTC+2, Shawn Pearce wrote:
>>
>> My new ChangeScreen2 is mostly feature complete... so I merged it to
>> master where we can continue to iterate on the concept.
>>
>
> Why is Verified+1 red? i would expect it to be green and Verified-1
> (missing?) to be red.
Puzzled. It should be green. I see Verified+1 as green as you expect.
Was there also a Verified-1 at the same time?
> How about to move some change specific buttons from action panel to change
> header, like
> Abandon & Restore as icons, left to reload icon? To better differentiate
> between change
> and revision specific actions.
I'm not sure this matters. The user is reading a view, they want to
interact with the view they have open. They don't really care what
that means.
On Thu, Jul 18, 2013 at 9:45 AM, David OstrovskyAre you talking about the Verified+1 that is in red above the commit
<david.o...@gmail.com> wrote:
> Am Donnerstag, 18. Juli 2013 17:34:36 UTC+2 schrieb Shawn Pearce:
>>
>> On Thu, Jul 18, 2013 at 1:28 AM, David Ostrovsky
>> <david.o...@gmail.com> wrote:
>> > On Monday, July 15, 2013 6:46:44 AM UTC+2, Shawn Pearce wrote:
>> >>
>> >> My new ChangeScreen2 is mostly feature complete... so I merged it to
>> >> master where we can continue to iterate on the concept.
>> >>
>> >
>> > Why is Verified+1 red? i would expect it to be green and Verified-1
>> > (missing?) to be red.
>>
>> Puzzled. It should be green. I see Verified+1 as green as you expect.
>> Was there also a Verified-1 at the same time?
>
>
> nope, there isn't. Interestingly I see it on both latest FF and latest
> Chrome (Linux).
> I uploaded the Chrome version for you (Version 28.0.1500.89 beta):
>
> http://ostrovsky.org/gerrit-review.googlesource.I2e28dbf5.html
message? Its the button that is red. Clicking it adds Verified+1
immediately. Its red as a warning to encourage you to push it. :-)
- Diff files in two patch sets
On Jul 25, 2013 7:05 PM, "Shawn Pearce" <s...@google.com> wrote:
>
> On Wed, Jul 24, 2013 at 11:17 PM, Edwin Kempin <edwin....@gmail.com> wrote:
> > 2013/7/20 Shawn Pearce <s...@google.com>
> >>
> >> On Sun, Jul 14, 2013 at 9:46 PM, Shawn Pearce <s...@google.com> wrote:
> >> > My new ChangeScreen2 is mostly feature complete... so I merged it to
> >> > master where we can continue to iterate on the concept.
> >> >
> >> > To use the screen modify the URL to be /#/c2/... instead of /#/c/...
> >> > it remembers this decision for the current tab only. To get back to
> >> > the old screen load /#/c/... again, if its already /#/c/... in the
> >> > address bar just reload the page in the browser.
> >>
> >> FWIW I only use ChangeScreen2 and SideBySide2 (aka CodeMirror) now.
> >> I'm porting features that I find I need to do reviews, e.g. the file
> >> reviewed markers, keyboard binding fixes in SideBySide2.
> >
> > I have to admit that I got quite frustrated by trying to add inline comments
> > in SideBySide2.
> > It seems that it's not possible anymore to add inline comments by either
> > double clicking on a line or by clicking on the line number.
>
> Correct, this feature has been lost. I don't remember which it is but
> either the vim keybinding mode or the CM3 editor widget itself is
> stealing the click event and not making it possible for us to identify
> a double click on a line. We punted for now and are relying on the 'c'
> key binding.
It's completely fine for now. But I think it's important to have this fixed before making this the default diff screen. Otherwise we will have tons of confused users.
>
> > I assumed that there is a keybinding but pressing '?' always started the vi
> > like search. Only after a while
> > I noticed that I can unfocus the table and then get the help popup when
> > pressing '?' to find out that I need to press 'c'
> > for adding inline comments...
>
> This is another challenge with vim mode enabled. ? is the reverse
> search of / and is useful once you have / and start using it. It also
> conflicts with Gerrit's help popup. Do we disable reverse search or do
> we disable the help popup when focus is on a CM3 instance?
I like the possibility to do a reverse search by ?. Still I think that the diff screen is probably the one screen where it is most interesting to check the help for the key bindings and it should be easy to get to this help. Could we display the help popup after pressing ? for the second time?
? starts the reverse search
?? opens the help popup
It's not very intuitive but I expect that most users who expect to get the popup on ? will just try once more to open it by ?, at least this is what I did.
On Thu, Jul 18, 2013 at 2:40 PM, David Ostrovsky
<david.o...@gmail.com> wrote:
> the red colour for "Verified+1" is well, at least misleading. If i
> would try to sell it that would be the way to go:
>
> Hey guys, i got a button for you, to mark your change as sane/green,
> but the button doesn't have a confirmation message, making your change
> immediately
> sane/green, that why the button is red
> ;-)
>
> I would suggest to convert "Verified" to grey label, and to have two
> icons "+1" (green) and "-1" (red).
Chad also pointed this out so I changed the button to be blue, like
Submit and Send (in the reply popout). This should be live on
gerrit-review.
Something you may not have noticed is the button is not always
Verified+1. The button appears if you have permission to vote the max
score in exactly one label that the rules have marked as NEED. For a
maintainer with both Verified+1 and Code-Review+2 powers the button
does not appear as both categories are still marked NEED and the
maintainer has permission to use both. If another maintainer does
Code-Review+2 the button displays as Verified+1. If a verifier does
Verified+1 the button says Code-Review+2.
> I just wanted to mention another aspect that i very like with the new
> design: simplicity.
> The main advantage for me is that we show only one patch set on the screen.
Thanks, this was a major motivation for rebuilding the screen. I
wanted to show exactly one revision at a time.
> Once we have buildbot notifications, we are going to lose the simplicity again.
> For us that means 3-5 platform specific builds per patch set and thus
> 3-5 x 2 + 1 messages in the history table,
> for start message per platform, end message per platform and combined
> result message),
> so that you get such a mess [1], mixing human and bot notifications.
Is it worth pointing out this mess exists in the old UI too? All
messages wind up in the history and its messy.
> I would love to address that problem with the new change screen. The
> best approach that I've heard so far
> was Martin's non-intrusive design suggestion:
> and/or don't have Verify label.
I'm not happy about adding a new href flag to the review command and
making a role account per platform build is also not always feasible,
e.g. in our our environment this would not work.
I understand the
value behind this proposal, but I'm on the fence about how much the
core server should have to bend to support this.
In theory if we build the UI plugin system right a build system plugin
(e.g. Jenkins glue) could contribute a REST API to export build
results and a UI component that displays in ChangeScreen2 to show
whatever information it wants, in whatever style it finds suitable.
Then its up to you to build a plugin that surfaces the build results
the way you want them to. But there is overlap between labels and
build system results, e.g. you may want to say each platform has its
own label and all must be successful in order to submit a change. So
now there is core UI already handling the permutations and you just
want to attach a small bit of metadata (href) to each of the build
label entries. *sigh*
Am Samstag, 20. Juli 2013 21:14:11 UTC+2 schrieb Shawn Pearce:On Thu, Jul 18, 2013 at 2:40 PM, David Ostrovsky
<david.o...@gmail.com> wrote:
> the red colour for "Verified+1" is well, at least misleading. If i
> would try to sell it that would be the way to go:
>
> Hey guys, i got a button for you, to mark your change as sane/green,
> but the button doesn't have a confirmation message, making your change
> immediately
> sane/green, that why the button is red
> ;-)
>
> I would suggest to convert "Verified" to grey label, and to have two
> icons "+1" (green) and "-1" (red).
Chad also pointed this out so I changed the button to be blue, like
Submit and Send (in the reply popout). This should be live on
gerrit-review.
Thanks for changing the colour. It looks much better now.
> I just wanted to mention another aspect that i very like with the new
> design: simplicity.
> The main advantage for me is that we show only one patch set on the screen.
Thanks, this was a major motivation for rebuilding the screen. I
wanted to show exactly one revision at a time.
> Is it just me, or are all the icons gone now?
You mean the checkmark for +2 and the red X for -2? They are not used
in ChangeScreen2, so yes they are gone.
> In fact, it seems that the
> screen doesn't show the reviewer grid,
The reviewer grid is gone. It has been replaced by the summary on the left side.
> or have a way to add new reviewers
> anymore. This especially seems like a step back from the current "user
> cannot vote in this category" change.
This is a missing feature that has not been implemented yet.
> I like the simplistic design (and one patch set per screen is fine), but is
> there still a way to change the reference version? I know this is usually
> useful to me, especially when reviewing minor differences between two
> revisions.
Also a missing feature that has not been implemented yet.
--
I just rebased a change on gerrit-review and it did refresh with theOn Wed, Aug 14, 2013 at 10:38 AM, Shawn Pearce <s...@google.com> wrote:
> On Wed, Aug 14, 2013 at 10:32 AM, Shawn Pearce <s...@google.com> wrote:
>> On Wed, Aug 14, 2013 at 12:42 AM, Edwin Kempin <edwin....@gmail.com> wrote:
>>> Starting to use the new change screen, I noticed that the change messages
>>> don't get refreshed when
>>> doing a rebase from the web UI. The rebase adds the 'Patch Set X was
>>> rebased' message but you
>>> need to reload the page in order to see it.
>>
>> This is a bug. The refresh logic isn't working in RebaseAction. I'll
>> send a change shortly.
>
> Actually, I don't understand the failure. RebaseAction calls
> Gerrit.display(PageLinks.toChange2(id)) which is the same as what
> happens when you refresh the UI with the little reload icon.
>
> Is the problem actually a caching issue with the /changes/{id}/detail
> REST API? Do you observe this on gerrit-review?
rebased message in the history section.
I never use this and can't see how it's useful, but it's perhaps worth checking how many people do use it before removing it :)10. The preference to reverse the order of patch sets is not honored.
I would expect that the Revisions in the Revision drop-down would be
reversed if this preference is set.
This is a stupid preference and it should just be removed. :-)
I've created one issue for making ChangeScreen2 the default change screen [2] and blocked it on a few issues which I see as important.I have now created issues for most of the points [1] so that the further discussion can happen in the issue tracker.Having the issues allows use to assign them and to mark them as solved.
With adding reviewers change ready for review [1], i wonder what would be the best way to implement
removing the reviewers? For adding the reviewers it was sufficiently to add a popdown panel with
SuggestOracle to the "CC" field, because only here the reviewers appear that didn't vote yet.
For removing the reviewers is not obviously where to put a popdown, if at all?
We should be able to remove the reviewers with votes - they appear in both "Reviewers" field and
"Code-Review" and "Verify" fields below, and without votes - the appears only in "CC" field.
I am thinking to combine adding and removing feature in one popdown panel, and put it right to
"CC" field. In this combined control we could have SuggestOracle (like it is the case now) and below
have the list of current reviewers with votes and without, that can be deleted.
But then we can delete reviewers with votes on "CC" field, that are not appear on this field. They
should be removed from "Reviewers" and "Code-Review", "Verify" and other custom labels below.
Other ideas?
Just some thoughts about this.
I believe the main use-case for this feature is to remove a blocking vote of a (technical) user to make the change submittable.
Removing a reviewer including all its votes was the only possibility to do this on the old change screen.
Maybe what we really want is to offer the remove action on a vote and not on the reviewer?
Ok, another use case may be that I accidentally added the wrong reviewer and I want to remove him.
If we offer the remove action on the reviewer I think it's important that at this moment you can clearly see which votes are removed by removing this reviewer.
[Thomas Swindells] I think you are right, there are two main use cases. One is to remove a reviewer who doesn’t care about the change – including removing yourself. This should possibly only be allowed if they don’t have any blocking votes.
The other current reason is to ignore a vote where the original voter is unable or unwilling to change it themselves (they are a machine, on holiday or just won’t back down). My preference here is that we preserve knowledge that the vote was cast and have a way of specifying why the vote is being ignored (“dodgy build machine”, “overruled by tech lead”, “they are on holiday and can’t re-review the latest patchset”). This provides better auditing, discourages abuse, and psychologically better for the person being overruled as their opinion is at least still being recorded and available for them to point back at later if it all goes wrong.
Presumably the third use case of removing your own vote can still be achieved by just voting again.
Thomas
Presumably the third use case of removing your own vote can still be achieved by just voting again.
Thomas
--
On 07/15/2013 01:46 PM, Shawn Pearce wrote:
>
> Missing features:
[...]
> - Edit commit message
Does this need to be implemented like it was in the old Change Screen,
i.e. with a button and popup from the commit message box on the main
change screen?
Hey good idea, to create a new change screen. I'm a little confused where all the parts are gone in ChangeScreen2, so I've created an own scratch by coping parts of the old and new one with gimp (so don't care about the contents :-)). It follows my reading workflow form left to right:
First I want to read "What are the change goals?" then "Details: contributors, project, branch, code diff, ..." or another analogy "A task card, where the contributors tokes are pined to"
My new ChangeScreen2 is mostly feature complete... so I merged it to
master where we can continue to iterate on the concept.
To use the screen modify the URL to be /#/c2/... instead of /#/c/...
it remembers this decision for the current tab only. To get back to
the old screen load /#/c/... again, if its already /#/c/... in the
address bar just reload the page in the browser.
Missing features:
- Add reviewer(s)
- Remove reviewer(s)
- Edit commit message
- Diff files in two patch sets
- Dependencies and dependents
- Download links by URL and action (cherry-pick, checkout, etc.)
Obviously these must be fixed to move forward with ChangeScreen2.
I am going to try to deploy tip of master to gerrit-review tomorrow. I
will reply to this thread when it is live and its easier for users to
try ChangeScreen2 in a real side-by-side comparison with the existing
ChangeScreen.
Hey good idea, to create a new change screen. I'm a little confused where all the parts are gone in ChangeScreen2, so I've created an own scratch by coping parts of the old and new one with gimp (so don't care about the contents :-)). It follows my reading workflow form left to right:
First I want to read "What are the change goals?" then "Details: contributors, project, branch, code diff, ..." or another analogy "A task card, where the contributors tokes are pined to"
On Monday, July 15, 2013 6:46:44 AM UTC+2, Shawn Pearce wrote:My new ChangeScreen2 is mostly feature complete... so I merged it to
master where we can continue to iterate on the concept.
To use the screen modify the URL to be /#/c2/... instead of /#/c/...
it remembers this decision for the current tab only. To get back to
the old screen load /#/c/... again, if its already /#/c/... in the
address bar just reload the page in the browser.
Missing features:
- Add reviewer(s)
- Remove reviewer(s)
- Edit commit message
- Diff files in two patch sets
- Dependencies and dependents
- Download links by URL and action (cherry-pick, checkout, etc.)
Obviously these must be fixed to move forward with ChangeScreen2.
I am going to try to deploy tip of master to gerrit-review tomorrow. I
will reply to this thread when it is live and its easier for users to
try ChangeScreen2 in a real side-by-side comparison with the existing
ChangeScreen.
--
2013/11/3 Loki <stoc...@gmail.com>
Hey good idea, to create a new change screen. I'm a little confused where all the parts are gone in ChangeScreen2, so I've created an own scratch by coping parts of the old and new one with gimp (so don't care about the contents :-)). It follows my reading workflow form left to right:
First I want to read "What are the change goals?" then "Details: contributors, project, branch, code diff, ..." or another analogy "A task card, where the contributors tokes are pined to"
Nice, on a first look this seems indeed easier to read :)
Verified | -1 ![]() |
Code-Review | -1 ![]() +1 ![]() |
So we are showing[1] for VRFY:
Verified -1Diffy Cuckoo
But all in black for CR:
Code-Review -1Shawn Pearce
+1Michael Zhou
Any reasons why not to have colors for CR too, at least on the numbers: green for values > 0and red for value < 0, as one would expect (and as it was on old change screen)?
2013/11/21 David Ostrovsky <david.o...@gmail.com>
So we are showing[1] for VRFY:
Verified -1Diffy Cuckoo
But all in black for CR:
Code-Review -1Shawn Pearce
+1Michael Zhou
Any reasons why not to have colors for CR too, at least on the numbers: green for values > 0and red for value < 0, as one would expect (and as it was on old change screen)?As I understand it, we use red for veto votes and green for approvals.For the Code-Review label -2 is the veto and +2 approves the change, which is why -1 and +1 are not colored here.
Just grabbed the latest gerrit and am definitely like the reorg for sure. One thing I did notice is a new set of tabs in the right corner for related and conflicts. Getting the following error for the conflicts section and wasn't sure if something needed to be adjusted server side or if just incomplete.400 secondary index must be enabled for conflicts:
Just grabbed the latest gerrit and am definitely like the reorg for sure. One thing I did notice is a new set of tabs in the right corner for related and conflicts. Getting the following error for the conflicts section and wasn't sure if something needed to be adjusted server side or if just incomplete.400 secondary index must be enabled for conflicts:
On Thursday, November 21, 2013 11:40:28 AM UTC-5, Shawn Pearce wrote:On Thu, Nov 21, 2013 at 7:19 AM, David Ostrovsky <david.o...@gmail.com> wrote:
On Thursday, November 21, 2013 3:53:57 PM UTC+1, Edwin Kempin wrote:2013/11/21 David Ostrovsky <david.o...@gmail.com>
So we are showing[1] for VRFY:
Verified -1Diffy Cuckoo
But all in black for CR:
Code-Review -1Shawn Pearce
+1Michael Zhou
Any reasons why not to have colors for CR too, at least on the numbers: green for values > 0and red for value < 0, as one would expect (and as it was on old change screen)?As I understand it, we use red for veto votes and green for approvals.For the Code-Review label -2 is the veto and +2 approves the change, which is why -1 and +1 are not colored here.
But couldn't we use red "x" icon for CR-2 and green "V" icon for CR+2 (like it was the case on the old change screen)?
And then we could have green "+1" and red "-1" too...I think it wouldn't hurt to have more colors/icons on the new change screen.
I was trying to avoid the x and checkmark icon here, they aren't the best artwork we have and they were hard to find to begin with. And I didn't want to put too much coloring into this table. The intermediate scores are interesting but not going to move a change forward (or stop it), while the prolog rules returning reject() or ok() does. So we color that.Of course we use red/green which isn't great for color blind people. So maybe the icons are a good idea too. But again I hate that particular set of icons that we have.
2013/11/22 Will DeBerry <willd...@gmail.com>Just grabbed the latest gerrit and am definitely like the reorg for sure. One thing I did notice is a new set of tabs in the right corner for related and conflicts. Getting the following error for the conflicts section and wasn't sure if something needed to be adjusted server side or if just incomplete.400 secondary index must be enabled for conflicts:The tab with the conflicting changes should not be displayed if secondary indexes are not enabled.
I've pushed a fix for this:
https://gerrit-review.googlesource.com/51997
2013/11/22 Will DeBerry <willd...@gmail.com>Just grabbed the latest gerrit and am definitely like the reorg for sure. One thing I did notice is a new set of tabs in the right corner for related and conflicts. Getting the following error for the conflicts section and wasn't sure if something needed to be adjusted server side or if just incomplete.400 secondary index must be enabled for conflicts:The tab with the conflicting changes should not be displayed if secondary indexes are not enabled.
I've pushed a fix for this:
https://gerrit-review.googlesource.com/51997
Yes, but the fix is already pushed
https://gerrit-review.googlesource.com/51977
>
> 400 Unsupported query:Owner
>
> [1] https://gerrit-review.googlesource.com/48254
>