Closed
Bug 586930
Opened 14 years ago
Closed 14 years ago
[UX] Add "Copy User Agent" functionality
Categories
(Input :: General, enhancement, P2)
Input
General
Tracking
(Not tracked)
VERIFIED
FIXED
3.0
People
(Reporter: wenzel, Assigned: michaelk)
References
Details
Attachments
(2 files)
The "more options" per-message menu has a point "copy user agent" (currently commented out). Need to enable it and make it work. In bug 582101 comment 4 Chris suggested a lightbox for this purpose that closes on copy, as JavaScript can't copy to the clipboard on its own.
Comment 1•14 years ago
|
||
Given bug 578055 is/was 1.7, shouldn't this be, also?
Target Milestone: --- → 1.7
Reporter | ||
Comment 2•14 years ago
|
||
That depends. If we want to block on it, sure. If we want to deploy 1.7 ASAP, not. Also, this'll need some string changes.
Comment 3•14 years ago
|
||
This is definitely a nice to have and not a blocker. Seeing as how we've already talked to folks in l10n already, I'd rather push this back.
Priority: -- → P3
Updated•14 years ago
|
Target Milestone: 1.7 → 1.8
Updated•14 years ago
|
Priority: P3 → P2
Comment 4•14 years ago
|
||
The translate comment option is kinda lonely. We should get this in for 1.8, peeps.
Reporter | ||
Comment 5•14 years ago
|
||
If we keep adding things to 1.8, we need to postpone the milestone.
Updated•14 years ago
|
Target Milestone: 1.8 → 1.8.1
Updated•14 years ago
|
Target Milestone: 1.8.1 → 1.8
Updated•14 years ago
|
Severity: minor → enhancement
Reporter | ||
Comment 7•14 years ago
|
||
Chowse: Does this use a similar UI as the "share on twitter" thing? I wonder if we even need to allow people to copy the permalink by using a popup -- instead we could link straight to twitter with target=_blank? This functionality here, however, certainly needs a "lightbox" closing on copy, as we can't use Flash to do it.
Updated•14 years ago
|
Target Milestone: 2.0 → 2.1
Reporter | ||
Comment 8•14 years ago
|
||
Assigning this to chowse for now. Will you give me some mocks, or even HTML/CSS if you have the time? This should be precisely what you've been talking about regarding a lightbox and an oncopy -> close event.
Assignee: nobody → chowse
Target Milestone: 2.1 → 2.0
Reporter | ||
Updated•14 years ago
|
Target Milestone: 2.0 → 2.1
Comment 9•14 years ago
|
||
Here's the UI for lightbox. Time permitting, I can create the HTML/CSS to go along with it.
Comment 10•14 years ago
|
||
And here's a functioning prototype: http://people.mozilla.com/~chowse/drop/mozilla.com/input/copy-ua/copy-ua.html You can find all the relevant code here: http://people.mozilla.com/~chowse/drop/mozilla.com/input/copy-ua/
Assignee: chowse → nobody
Reporter | ||
Comment 11•14 years ago
|
||
Thanks, Chris. Excellent work as usual. I'll pick this up, unless someone else feels compelled to get to it before me :)
Assignee: nobody → fwenzel
Assignee | ||
Updated•14 years ago
|
Assignee: fwenzel → michael
Assignee | ||
Comment 12•14 years ago
|
||
Moving to 2.2 after conversing w Stephen & Aakash.
Target Milestone: 2.1 → 2.2
Reporter | ||
Comment 13•14 years ago
|
||
Moving all 2.2 bugs to 3.0, as their code freezes would most likely coincide.
Target Milestone: 2.2 → 3.0
Assignee | ||
Comment 14•14 years ago
|
||
Added on master: https://github.com/fwenzel/reporter/commit/b957c3cfea80aa0e90c2bc46f601b14934509022 We'll need a selenium test for this, as it is mostly JS. Thanks chowse for the prototype!
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Flags: in-testsuite?
Reporter | ||
Comment 15•14 years ago
|
||
Why did you add the overlay to the base template? This way it shows up on every single page that not necessarily even contains this functionality :-/ In particular, the release feedback pages now show this overlay. Instead, you probably want to put this include into all templates where this is relevant -- there shouldn't be too many (dashboard, search, single opinion page, themes, sites are all the ones that come to mind).
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 16•14 years ago
|
||
Assignee | ||
Comment 17•14 years ago
|
||
Hudson is happy again, so I pushed the 2nd round for this: Only include on dashboard pages: https://github.com/fwenzel/reporter/commit/19faf227d0c859efc0d141ed35e5c99515cf691a Make work with scrolling and resizing: https://github.com/fwenzel/reporter/commit/b49b9419f9c287d12a24aa0c94abef9cd030f6bc
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Comment 18•14 years ago
|
||
I'm not seeing the 'User Agent' copy anymore when viewing: http://input.stage.mozilla.com/en-US/beta/themes or http://input.stage.mozilla.com/en-US/beta/sites?q=search+page&sentiment=&version=&show_one_offs= Shouldn't these pages have the copy, or am I misunderstanding this?
Reporter | ||
Comment 19•14 years ago
|
||
Only individual messages (not entire clusters) have user agent strings associated with them. When you click on a single theme cluster, you'll see a list of messages inside that cluster, which should have this option available.
Comment 20•13 years ago
|
||
Verified able to copy user agent from individual messages within a theme cluster
Status: RESOLVED → VERIFIED
Updated•13 years ago
|
Component: Input → General
Product: Webtools → Input
Comment 21•13 years ago
|
||
Adding back the in-testsuite flag that was mistakenly removed.
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•