Re: Revision selector

2010-08-20 Thread Christian Hammond
Of course now I realize I said almost exactly what Eduardo said. I meant to
reply to Geoffrey's post directly, and hadn't read Eduardo's yet. Sorry
Eduardo :)

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Aug 20, 2010 at 11:46 AM, Christian Hammond wrote:

> When we first implemented this, we knew it was ugly, and had considered it
> a sort of temporary stop-gap. But then Review Board got popular and people
> had more pressing concerns, bug and feature-wise. So we never quite got
> around to it.
>
> What I've considered is a widget that shows all revisions and lets you
> select a range between them. For example:
>
>  1  2  3  4  5
> |---o=o|
>
> The idea being that you could drag each handle to the revision you care
> about, and then hit a button.
>
> There's a jQuery widget for doing just this that I found recently. While I
> don't really have time scheduled in 1.6 for this, maybe I or someone else
> can play around with it and replace what we have today.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
>
> On Fri, Aug 20, 2010 at 10:36 AM, Eduardo Felipe <
> eduardofelip...@gmail.com> wrote:
>
>> Geoffrey,
>>
>> It was part of my Summer of Code to implement a similar (in concept at
>> least) interface, and I ran into a question about how to do this
>> properly, and I think a range selector is the best possible solution,
>> but they are hard to implement, even when using jQuery UI's range
>> selector, so I'm working on that.
>>
>> Note that currently RB does not show a cumulative patch, only a
>> version and a difference between versions. It will show cumulative
>> patches, as that was part of SoC as well, but the feature is for
>> inclusion in a future version of ReviewBoard.
>>
>> But no matter how newbie you are, I would really encourage you to post
>> your code to http://reviews.reviewboard.org, so I can check it out and
>> discuss this further.
>>
>> Cheers,
>>
>> Eduardo Felipe.
>>
>> On Fri, Aug 20, 2010 at 1:24 PM, Geoffrey Zheng 
>> wrote:
>> > Screenshot is uploaded as rb.png
>> >
>> http://reviewboard.googlegroups.com/web/rb.png?gsc=iBqKOxYAAABgpEsrTenpw2OJ9ZY_yaTfM9KWFkvR1kwtm4g5T1-szg
>> >
>> > --
>> > Want to help the Review Board project? Donate today at
>> http://www.reviewboard.org/donate/
>> > Happy user? Let us know at http://www.reviewboard.org/users/
>> > -~--~~~~--~~--~--~---
>> > To unsubscribe from this group, send email to
>> reviewboard+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> http://groups.google.com/group/reviewboard?hl=en
>>
>> --
>> Want to help the Review Board project? Donate today at
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~--~~~~--~~--~--~---
>> To unsubscribe from this group, send email to
>> reviewboard+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/reviewboard?hl=en
>>
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Revision selector

2010-08-20 Thread Geoffrey Zheng
The slider could work and look more fancy, but two drags would be
infinitely slower than one click. I would only use it if I can click
on the numbers and the slider snaps to them.

Regarding cumulative patch, maybe we're talking about different
things. RB has always done it perfectly. I had a discussion with
Christian a couple of years ago (http://groups.google.com/group/
reviewboard/browse_thread/thread/4e30dcd77026b7a5/b6f4f65f39412925)
where I asked the stupidest question about multiple diffs.

Say I start with r0 and make some changes, commit, now I'm at r1. I
upload diff r0-r1 to start a review.

Reviewer say some lines are bs so I make more changes, and upload--
this is key--diff r0-r2, NOT r1-r2.

Reviewer first looks at interdiff r1-r2 and sees that I got rid of the
bs. Then s/he looks at r0-r2 as "cumulative patch", which is what will
be pulled (in DSCM term).

On Aug 20, 2:46 pm, Christian Hammond  wrote:
> When we first implemented this, we knew it was ugly, and had considered it a
> sort of temporary stop-gap. But then Review Board got popular and people had
> more pressing concerns, bug and feature-wise. So we never quite got around
> to it.
>
> What I've considered is a widget that shows all revisions and lets you
> select a range between them. For example:
>
>  1  2  3  4  5
> |---o=o|
>
> The idea being that you could drag each handle to the revision you care
> about, and then hit a button.
>
> There's a jQuery widget for doing just this that I found recently. While I
> don't really have time scheduled in 1.6 for this, maybe I or someone else
> can play around with it and replace what we have today.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
> On Fri, Aug 20, 2010 at 10:36 AM, Eduardo Felipe
> wrote:
>
> > Geoffrey,
>
> > It was part of my Summer of Code to implement a similar (in concept at
> > least) interface, and I ran into a question about how to do this
> > properly, and I think a range selector is the best possible solution,
> > but they are hard to implement, even when using jQuery UI's range
> > selector, so I'm working on that.
>
> > Note that currently RB does not show a cumulative patch, only a
> > version and a difference between versions. It will show cumulative
> > patches, as that was part of SoC as well, but the feature is for
> > inclusion in a future version of ReviewBoard.
>
> > But no matter how newbie you are, I would really encourage you to post
> > your code tohttp://reviews.reviewboard.org, so I can check it out and
> > discuss this further.
>
> > Cheers,
>
> > Eduardo Felipe.
>
> > On Fri, Aug 20, 2010 at 1:24 PM, Geoffrey Zheng 
> > wrote:
> > > Screenshot is uploaded as rb.png
>
> >http://reviewboard.googlegroups.com/web/rb.png?gsc=iBqKOxYAAABgpEsrTe...
>
> > > --
> > > Want to help the Review Board project? Donate today at
> >http://www.reviewboard.org/donate/
> > > Happy user? Let us know athttp://www.reviewboard.org/users/
> > > -~--~~~~--~~--~--~---
> > > To unsubscribe from this group, send email to
> > reviewboard+unsubscr...@googlegroups.com
> > > For more options, visit this group at
> >http://groups.google.com/group/reviewboard?hl=en
>
> > --
> > Want to help the Review Board project? Donate today at
> >http://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://www.reviewboard.org/users/
> > -~--~~~~--~~--~--~---
> > To unsubscribe from this group, send email to
> > reviewboard+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: Revision selector

2010-08-20 Thread Eduardo Felipe
Christian,

That's precisely the jQuery UI's widget that I mentioned.
I can refactor the one I'm writing for the stacked patches (aka
bundle), and put that in the trunk in time for 1.6.

I'll work on this.

Cheers,

Eduardo.

On Fri, Aug 20, 2010 at 3:46 PM, Christian Hammond  wrote:
> When we first implemented this, we knew it was ugly, and had considered it a
> sort of temporary stop-gap. But then Review Board got popular and people had
> more pressing concerns, bug and feature-wise. So we never quite got around
> to it.
>
> What I've considered is a widget that shows all revisions and lets you
> select a range between them. For example:
>
>  1  2  3  4  5
> |---o=o|
>
> The idea being that you could drag each handle to the revision you care
> about, and then hit a button.
>
> There's a jQuery widget for doing just this that I found recently. While I
> don't really have time scheduled in 1.6 for this, maybe I or someone else
> can play around with it and replace what we have today.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Fri, Aug 20, 2010 at 10:36 AM, Eduardo Felipe 
> wrote:
>>
>> Geoffrey,
>>
>> It was part of my Summer of Code to implement a similar (in concept at
>> least) interface, and I ran into a question about how to do this
>> properly, and I think a range selector is the best possible solution,
>> but they are hard to implement, even when using jQuery UI's range
>> selector, so I'm working on that.
>>
>> Note that currently RB does not show a cumulative patch, only a
>> version and a difference between versions. It will show cumulative
>> patches, as that was part of SoC as well, but the feature is for
>> inclusion in a future version of ReviewBoard.
>>
>> But no matter how newbie you are, I would really encourage you to post
>> your code to http://reviews.reviewboard.org, so I can check it out and
>> discuss this further.
>>
>> Cheers,
>>
>> Eduardo Felipe.
>>
>> On Fri, Aug 20, 2010 at 1:24 PM, Geoffrey Zheng 
>> wrote:
>> > Screenshot is uploaded as rb.png
>> >
>> > http://reviewboard.googlegroups.com/web/rb.png?gsc=iBqKOxYAAABgpEsrTenpw2OJ9ZY_yaTfM9KWFkvR1kwtm4g5T1-szg
>> >
>> > --
>> > Want to help the Review Board project? Donate today at
>> > http://www.reviewboard.org/donate/
>> > Happy user? Let us know at http://www.reviewboard.org/users/
>> > -~--~~~~--~~--~--~---
>> > To unsubscribe from this group, send email to
>> > reviewboard+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> > http://groups.google.com/group/reviewboard?hl=en
>>
>> --
>> Want to help the Review Board project? Donate today at
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~--~~~~--~~--~--~---
>> To unsubscribe from this group, send email to
>> reviewboard+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/reviewboard?hl=en
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: Revision selector

2010-08-20 Thread Christian Hammond
When we first implemented this, we knew it was ugly, and had considered it a
sort of temporary stop-gap. But then Review Board got popular and people had
more pressing concerns, bug and feature-wise. So we never quite got around
to it.

What I've considered is a widget that shows all revisions and lets you
select a range between them. For example:

 1  2  3  4  5
|---o=o|

The idea being that you could drag each handle to the revision you care
about, and then hit a button.

There's a jQuery widget for doing just this that I found recently. While I
don't really have time scheduled in 1.6 for this, maybe I or someone else
can play around with it and replace what we have today.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Aug 20, 2010 at 10:36 AM, Eduardo Felipe
wrote:

> Geoffrey,
>
> It was part of my Summer of Code to implement a similar (in concept at
> least) interface, and I ran into a question about how to do this
> properly, and I think a range selector is the best possible solution,
> but they are hard to implement, even when using jQuery UI's range
> selector, so I'm working on that.
>
> Note that currently RB does not show a cumulative patch, only a
> version and a difference between versions. It will show cumulative
> patches, as that was part of SoC as well, but the feature is for
> inclusion in a future version of ReviewBoard.
>
> But no matter how newbie you are, I would really encourage you to post
> your code to http://reviews.reviewboard.org, so I can check it out and
> discuss this further.
>
> Cheers,
>
> Eduardo Felipe.
>
> On Fri, Aug 20, 2010 at 1:24 PM, Geoffrey Zheng 
> wrote:
> > Screenshot is uploaded as rb.png
> >
> http://reviewboard.googlegroups.com/web/rb.png?gsc=iBqKOxYAAABgpEsrTenpw2OJ9ZY_yaTfM9KWFkvR1kwtm4g5T1-szg
> >
> > --
> > Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> > Happy user? Let us know at http://www.reviewboard.org/users/
> > -~--~~~~--~~--~--~---
> > To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> > For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Revision selector

2010-08-20 Thread Eduardo Felipe
Geoffrey,

It was part of my Summer of Code to implement a similar (in concept at
least) interface, and I ran into a question about how to do this
properly, and I think a range selector is the best possible solution,
but they are hard to implement, even when using jQuery UI's range
selector, so I'm working on that.

Note that currently RB does not show a cumulative patch, only a
version and a difference between versions. It will show cumulative
patches, as that was part of SoC as well, but the feature is for
inclusion in a future version of ReviewBoard.

But no matter how newbie you are, I would really encourage you to post
your code to http://reviews.reviewboard.org, so I can check it out and
discuss this further.

Cheers,

Eduardo Felipe.

On Fri, Aug 20, 2010 at 1:24 PM, Geoffrey Zheng  wrote:
> Screenshot is uploaded as rb.png
> http://reviewboard.googlegroups.com/web/rb.png?gsc=iBqKOxYAAABgpEsrTenpw2OJ9ZY_yaTfM9KWFkvR1kwtm4g5T1-szg
>
> --
> Want to help the Review Board project? Donate today at 
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to 
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: Revision selector

2010-08-20 Thread Geoffrey Zheng
Screenshot is uploaded as rb.png
http://reviewboard.googlegroups.com/web/rb.png?gsc=iBqKOxYAAABgpEsrTenpw2OJ9ZY_yaTfM9KWFkvR1kwtm4g5T1-szg

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en