Closed
Bug 1217283
Opened 10 years ago
Closed 10 years ago
TryChooser should support using shift key to select a range of tests
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: xidorn, Assigned: xidorn)
Details
(Keywords: trychooser)
Attachments
(1 file, 2 obsolete files)
|
3.31 KB,
patch
|
wlach
:
review+
|
Details | Diff | Splinter Review |
I sometimes want to choose only part of tests in one column, e.g. mochitest-[1-5] or mochitest-e10s-[1-5]. They are continuous, but I have to select them one by one. It is even worse if I want to choose only the "Android-Only Unittest Suites" or "B2G-Only Unittest Suites".
I suggest if an item is clicked when the shift key is pressed, all items between the last checked box and the current box should be set to the new state of the current box.
For example, given the list below:
[ ] mochitest-1
[ ] mochitest-2
[ ] mochitest-3
[ ] mochitest-4
[ ] mochitest-5
If I click "mochitest-1", and then shift-click "mochitest-5", the result should be:
[X] mochitest-1
[X] mochitest-2
[X] mochitest-3
[X] mochitest-4
[X] mochitest-5
Then if I click "mochitest-2" and shift-click "mochitest-4", the result should be:
[X] mochitest-1
[ ] mochitest-2
[ ] mochitest-3
[ ] mochitest-4
[X] mochitest-5
It would be useful.
| Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8691239 -
Flags: review?(bugspam.Callek)
| Assignee | ||
Comment 2•10 years ago
|
||
Ping on this patch?
Comment 3•10 years ago
|
||
Comment on attachment 8691239 [details] [diff] [review]
patch
Review of attachment 8691239 [details] [diff] [review]:
-----------------------------------------------------------------
(stealing this review on Callek's request)
This doesn't work much of the time for me.
Failure case:
Select "Linux" on platforms. Then click "None". Then click "Linux" again. Then shift click down 5 spots.
Expected:
All 5 platforms are selected
Actual:
Nothing happens
In general the feature seems to work only intermittently for me on MacOS X, both Firefox and Chrome. But the above steps fail every time for me, so it seems like a place to start.
::: trychooser/trychooser.css
@@ +53,5 @@
> cursor: pointer;
> + -webkit-user-select: none;
> + -moz-user-select: none;
> + -ms-user-select: none;
> + user-select: none;
This is somewhat non-standard, I guess there's no alternative?
Attachment #8691239 -
Flags: review?(bugspam.Callek) → review-
| Assignee | ||
Comment 4•10 years ago
|
||
I don't understand why that doesn't work for you. It works perfectly for me every time including your steps, on both Windows and OS X, both Firefox and Chrome.
| Assignee | ||
Comment 5•10 years ago
|
||
OK, I guess you were trying to click on the checkboxs instead of the labels. This new patch should work on both cases.
Attachment #8691239 -
Attachment is obsolete: true
Attachment #8700833 -
Flags: review?(wlachance)
| Assignee | ||
Comment 6•10 years ago
|
||
(In reply to William Lachance (:wlach) from comment #3)
> Comment on attachment 8691239 [details] [diff] [review]
> patch
>
> Review of attachment 8691239 [details] [diff] [review]:
> -----------------------------------------------------------------
> ::: trychooser/trychooser.css
> @@ +53,5 @@
> > cursor: pointer;
> > + -webkit-user-select: none;
> > + -moz-user-select: none;
> > + -ms-user-select: none;
> > + user-select: none;
>
> This is somewhat non-standard, I guess there's no alternative?
This is on a standards track anyway, in CSS UI 4 draft.
| Assignee | ||
Comment 7•10 years ago
|
||
Fix some typos.
Attachment #8700833 -
Attachment is obsolete: true
Attachment #8700833 -
Flags: review?(wlachance)
Attachment #8700837 -
Flags: review?(wlachance)
Comment 8•10 years ago
|
||
Comment on attachment 8700837 [details] [diff] [review]
patch
Review of attachment 8700837 [details] [diff] [review]:
-----------------------------------------------------------------
Oh sorry, I missed the part about having to click on the names. But I think being able to click on the names or the checkbox is better in any case! I'm sure this feature will be useful to many people.
Feel free to land this. I don't know the details of what we have to do to get the changes deployed, maybe Callek can chime in on that.
Attachment #8700837 -
Flags: review?(wlachance) → review+
| Assignee | ||
Comment 9•10 years ago
|
||
https://hg.mozilla.org/build/tools/rev/fb1e1179e42b7dd25892e54105235bdd8adeb54f
Bug 1217283 - Add support for shift key to select a range. r=wlach
| Assignee | ||
Comment 10•10 years ago
|
||
I wonder whether I should close it now or close it until this change gets deployed.
Assignee: nobody → quanxunzhen
Flags: needinfo?(bugspam.Callek)
Comment 11•10 years ago
|
||
[2015-12-28 06:51:05] Finished push_www (9.454s)
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(bugspam.Callek)
Resolution: --- → FIXED
| Assignee | ||
Updated•10 years ago
|
Keywords: trychooser
Updated•9 years ago
|
Component: Tools → General
You need to log in
before you can comment on or make changes to this bug.
Description
•