'Stefan Beller' via Repo and Gerrit Discussion
2014-12-30 01:57:35 UTC
As you may have noticed I am currently exploring how we can get
more atomicity into gerrit[1].
So I want to have a way of merging changes in different projects at
the same time.
Reusing topics for such atomicity seemed great to me as we don't want
to introduce
yet another grouping feature apart from topics and #hashtags.
So the first thing I came up with was the idea to merge atomically in
one topic[2].
This isn't necessarily a good change as it will confuse the user. ("I
clicked on submit,
but it doesn't merge, why?")
Instead a button is needed to "submit the whole topic" iff all of the
changes in the
topic are in submittable state. This would be the more user friendly way. Adding
yet another button may be also confusing as there are already quite a
lot of buttons.
So how to get rid of buttons while adding new buttons?
We should think about grouping them together.
Please, have a look at the following:
Loading Image...
You'll notice that there is no "edit commit message" button nor the buttons like
"cherry-pick", "follow up", "rebase", "Submit", "Abandon".
Instead there are three new buttons which are labeled with categories
"New", "Modify" and "Done" which each has a default action. At the right
side of each of this button there is a drop down menu, which let's you access
all of the buttons for that category:
New
cherry-pick
follow up
Modify
rebase
"edit commit message"
Done
Submit
Submit whole topic
Abandon
I picked the defaults in the image at random, they can be changed of course.
Any ideas/feedback on this mockup would be very welcome.
Thanks,
Stefan
[1] such as the "Change behavior of topics in Gerrit" discussion
before christmas
more atomicity into gerrit[1].
So I want to have a way of merging changes in different projects at
the same time.
Reusing topics for such atomicity seemed great to me as we don't want
to introduce
yet another grouping feature apart from topics and #hashtags.
So the first thing I came up with was the idea to merge atomically in
one topic[2].
This isn't necessarily a good change as it will confuse the user. ("I
clicked on submit,
but it doesn't merge, why?")
Instead a button is needed to "submit the whole topic" iff all of the
changes in the
topic are in submittable state. This would be the more user friendly way. Adding
yet another button may be also confusing as there are already quite a
lot of buttons.
So how to get rid of buttons while adding new buttons?
We should think about grouping them together.
Please, have a look at the following:
Loading Image...
You'll notice that there is no "edit commit message" button nor the buttons like
"cherry-pick", "follow up", "rebase", "Submit", "Abandon".
Instead there are three new buttons which are labeled with categories
"New", "Modify" and "Done" which each has a default action. At the right
side of each of this button there is a drop down menu, which let's you access
all of the buttons for that category:
New
cherry-pick
follow up
Modify
rebase
"edit commit message"
Done
Submit
Submit whole topic
Abandon
I picked the defaults in the image at random, they can be changed of course.
Any ideas/feedback on this mockup would be very welcome.
Thanks,
Stefan
[1] such as the "Change behavior of topics in Gerrit" discussion
before christmas
--
--
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/d/optout.
--
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/d/optout.