Closed Bug 933201 Opened 12 years ago Closed 11 years ago

[app manager] move the screenshot button in the footer

Categories

(DevTools Graveyard :: WebIDE, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 29

People

(Reporter: paul, Assigned: agentmirv)

Details

(Whiteboard: [good first bug][lang=html][lang=js][mentor=paul])

Attachments

(2 files, 3 obsolete files)

Attached image screenshot
No description provided.
Hi, I am willing to fix this bug.So, please I request you to assign me this bug. Thanks, Regards, Gaurav Saini
Whiteboard: [good-first-bug][lang=html][lang=js][mentor=paul] → [good first bug][lang=html][lang=js][mentor=paul]
Hello, is Gaurav Saini still working on this?
(In reply to Peiyong LIn from comment #3) > Hello, is Gaurav Saini still working on this? Yes, I am still working on this.
Hi, I created a patch for this. I put the button in the footer, but i have a problem, the button didn't work. I was trying to add at the final: <script type="application/javascript;version=1.8" src="device.js"></script> in connection-footer.xhtml, but it didn't work. I enabled the Browser console, i can't see a warning/alert related to this. If i don't add the device.js file i got: UI.screenshot: is not a defined function I was trying to put the pice of code about screenshots from device.js to connection-footer.js but i didn't work. If you can give some tips and advices about what is wrong, i will really appreciate. I am going to attach the first version of the patch, if someone is interested on review it and tell me if everything is good to continue, i am going to be very happy. Regards, Gio
Attached patch name.patch (obsolete) — Splinter Review
> I was trying to put the pice of code about screenshots from device.js to connection-footer.js but i didn't work. That's the right way to do it. What didn't work?
It didn't open a new tab and take the screenshot. Look this patch with the modifications.
Attached patch fix.patch (obsolete) — Splinter Review
Attachment #8333682 - Flags: review?(paul)
Comment on attachment 8333682 [details] [diff] [review] fix.patch You need to adapt the code to make it work from connection-footer.js. Here this.connected doesn't exist, getDeviceFront either. Look at the browser console, you'll see plenty of errors.
Attachment #8333682 - Flags: review?(paul)
Hello, is Gaurav Saini working on this? If not, I would like to be assigned to this bug please.
Sorry, I mean is Giovanny working on this? If not, I would like to be assigned to this bug please.
Flags: needinfo?(gioyik)
So, i would like to work on this bug, anyone who can assign me this one. thank you Regards Meghraj Suthar
I've attached my proposed patch. Let me know if this looks okay, thanks!
Attachment #8367033 - Flags: review?(paul)
Comment on attachment 8367033 [details] [diff] [review] rev1 - App manager moved screenshot button That's exactly what we need. Can I just ask you to swap disconnect and screenshot? (disconnect first, then screenshot). Then we'll land your patch. Thanks a lot!
Attachment #8367033 - Flags: review?(paul) → review+
Flags: needinfo?(gioyik)
Assignee: nobody → agentmirv
I have attached my revised patch. I swapped the disconnect and screenshot buttons (disconnect first, then screenshot). Thanks!
Attachment #8367033 - Attachment is obsolete: true
Attachment #8367228 - Flags: review?(paul)
Attachment #833390 - Attachment is obsolete: true
Attachment #8333682 - Attachment is obsolete: true
Attachment #8367228 - Flags: review?(paul) → review+
Thank you Marvin!
Keywords: checkin-needed
Keywords: checkin-needed
Whiteboard: [good first bug][lang=html][lang=js][mentor=paul] → [good first bug][lang=html][lang=js][mentor=paul][fixed-in-fx-team]
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug][lang=html][lang=js][mentor=paul][fixed-in-fx-team] → [good first bug][lang=html][lang=js][mentor=paul]
Target Milestone: --- → Firefox 29
App Manager is replaced by WebIDE, so I'm clearing this dev-doc-needed.
Keywords: dev-doc-needed
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: