Closed
Bug 1305507
Opened 9 years ago
Closed 9 years ago
Can't use Ctrl+Enter to immediately submit a failure classification when pasting a bug number
Categories
(Tree Management :: Treeherder, defect)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: RyanVM, Assigned: KWierso)
References
Details
Attachments
(1 file, 1 obsolete file)
It used to be that you could paste the bug number into the field and hit Ctrl+Enter to save the classification on a failure. However, a recent change landed that causes an error to occur when doing so. If you hit Enter first to make the bug entry field non-active, Ctrl+Enter then works fine.
Comment 2•9 years ago
|
||
| Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8794980 [details] [review]
[treeherder] KWierso:1305507 > mozilla:master
Not totally tested, but it should let you do a Ctrl-enter while the bug field is in edit mode like it used to.
Attachment #8794980 -
Flags: review?(cdawson)
| Assignee | ||
Comment 4•9 years ago
|
||
(In reply to Phil Ringnalda (:philor) from comment #1)
> Not all that recent, April.
I think bug 1302545 was the more recent change that caused this particular issue.
Comment 5•9 years ago
|
||
Comment on attachment 8794980 [details] [review]
[treeherder] KWierso:1305507 > mozilla:master
One comment in the PR, but feel free to merge if it still looks right to you. :)
Attachment #8794980 -
Flags: review?(cdawson) → review+
Comment 6•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/3092f0b3db1cee03776e6b71f37cab9ebb2b99f7
Bug 1305507 - Save whatever's typed into the bug field before seeing if we can save the classification (#1875) r=camd
| Assignee | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 7•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/759d2fa3adb0a904cc635d09cc4d5bbdd172e56d
Revert "Bug 1305507 - Save whatever's typed into the bug field before seeing if we can save the classification (#1875) r=camd"
This reverts commit 3092f0b3db1cee03776e6b71f37cab9ebb2b99f7.
Comment 8•9 years ago
|
||
Hey Wes: I had to revert this. It prevents you from manually entering a bug number in that field. I didn't catch it in the review. So perhaps we can come up with a better way to do this. Like having the ctrl+enter call a function that does that saveEnteredBugNumber first.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Updated•9 years ago
|
Attachment #8794980 -
Attachment is obsolete: true
| Assignee | ||
Comment 9•9 years ago
|
||
This doesn't change state in the state check and should hopefully do the job better.
Attachment #8796308 -
Flags: review?(cdawson)
Comment 10•9 years ago
|
||
Comment on attachment 8796308 [details] [review]
PR 1883
I commented in the PR. I think this one's still not quite right. Several test paths for it.
Attachment #8796308 -
Flags: review?(cdawson) → review-
Comment 11•9 years ago
|
||
Ping for Wes' question here:
https://github.com/mozilla/treeherder/pull/1883#issuecomment-250637149
Flags: needinfo?(cdawson)
Comment 12•9 years ago
|
||
Wes-- Dang, sorry I missed the email with this question in it. Yeah, I think you could do that. Looks like this SO response has an idea how to use it?
http://stackoverflow.com/a/18282155/333614
-Cam
Flags: needinfo?(cdawson) → needinfo?(wkocher)
| Assignee | ||
Comment 13•9 years ago
|
||
Comment on attachment 8796308 [details] [review]
PR 1883
Rebased this on to master and added some additional validation. I've tested this as much as I can using web-server.js locally (commenting out the login requirements and trying to submit classifications). I couldn't get your suggestion to work, so I just went with adding additional validation in a few places.
Flags: needinfo?(wkocher)
Attachment #8796308 -
Flags: review- → review?(cdawson)
Comment 14•9 years ago
|
||
Comment on attachment 8796308 [details] [review]
PR 1883
Wes-- There were a couple linting errors. Other than that, this looks good. Please reassign to me when they're fixed. :)
Attachment #8796308 -
Flags: review?(cdawson) → review-
Comment 15•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/296ecb19c37debd6d498202ad69e2af707aedd5d
Bug 1305507 - Make sure canSaveClassifications works while entering bug number (#1883) r=camd
| Assignee | ||
Comment 16•9 years ago
|
||
Fixed up the eslint issues and landed it.
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•