Closed
Bug 1000771
Opened 11 years ago
Closed 10 years ago
Desktop client needs to let non signed-in user copy a call-back URL
Categories
(Hello (Loop) :: Client, defect, P2)
Hello (Loop)
Client
Tracking
(firefox34 verified)
VERIFIED
FIXED
mozilla34
Tracking | Status | |
---|---|---|
firefox34 | --- | verified |
People
(Reporter: RT, Unassigned)
References
()
Details
(Whiteboard: [p=2])
User Story
As a non signed-in FF browser user I can copy a call-back URL to the clipboard so that I can paste it on my preferred communication channel with someone.
Attachments
(1 file, 3 obsolete files)
(deleted),
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Updated•11 years ago
|
User Story: (updated)
Updated•11 years ago
|
Priority: -- → P4
Whiteboard: [s=ui32]
Target Milestone: --- → mozilla32
Reporter | ||
Updated•11 years ago
|
Updated•11 years ago
|
Priority: P4 → P1
Whiteboard: [s=ui32] → p=?
Target Milestone: mozilla32 → mozilla33
Updated•11 years ago
|
Updated•11 years ago
|
Summary: Desktop client needs UI to let non signed-in user copy a call-back URL → Desktop client needs to let non signed-in user copy a call-back URL
Comment 1•11 years ago
|
||
you can do this with normal copy & paste from OS today, but the new UI has a button in Loop to do the copy to the system clipboard (pre-called, not signed in). this may be another bug that requires a service on the API, so slightly more complicated than it looks.
Priority: P1 → P2
Whiteboard: p=? → p=2
Reporter | ||
Updated•10 years ago
|
Priority: P2 → P1
Updated•10 years ago
|
Whiteboard: p=2 → [p=2]
Updated•10 years ago
|
Target Milestone: mozilla33 → mozilla34
Comment 2•10 years ago
|
||
can do today using computer copy and paste and our first release users should know how to do this. pushed to later when we have broader user adoption.
Updated•10 years ago
|
Target Milestone: mozilla34 → mozilla35
Reporter | ||
Comment 3•10 years ago
|
||
I agree although this will break the balance of the UX.
I NeedInfo Darrin for confirmation once he gets back.
Flags: needinfo?(dhenein)
Comment 4•10 years ago
|
||
My only concern is that users will not immediately know to select + copy that link. The copy button actually serves two purposes: to actually copy the URL, but also to cue the user that copy/paste is the primary method to transmit the link right now.
If it is indeed a lot of work, it can be pushed, but it is a critical part of the usage path and may affect success rates.
Flags: needinfo?(dhenein)
Reporter | ||
Comment 5•10 years ago
|
||
Thanks Darrin, good point and I agree we should include this in FF34.
Maire, it looks to be a p=2 delivering good user value - I'm marking it as FF34 P2 - we can discuss on our weekly call tomorrow.
Priority: P1 → P2
Target Milestone: mozilla35 → mozilla34
Comment 6•10 years ago
|
||
The shorter URL (mockup: http://talk.mozilla.org/Jc70K6OH vs nightly: https://call.mozilla.com/#call/0btpBYHGUYw) - is it handled somewhere in some bug?
Flags: needinfo?(rtestard)
Comment 7•10 years ago
|
||
Same question for the lock next to the URL in the mockup
Reporter | ||
Comment 8•10 years ago
|
||
(In reply to Paul Silaghi, QA [:pauly] from comment #6)
> The shorter URL (mockup: http://talk.mozilla.org/Jc70K6OH vs nightly:
> https://call.mozilla.com/#call/0btpBYHGUYw) - is it handled somewhere in
> some bug?
It was not, thanks for raising!
I have now created https://bugzilla.mozilla.org/show_bug.cgi?id=1046114 to track the implementation of the final URL format we'll want for Beta launch.
Until beta I suggest we keep https://call.mozilla.com/#call/<token>
I needInfo Arcadio as he suggested we may want to use https://webrtc.firefox.com/<token> although I'm not sure it makes sense to implement that change given it won't be valid for a long period of time.
Flags: needinfo?(rtestard) → needinfo?(alainez)
Assignee | ||
Comment 9•10 years ago
|
||
So for some reason I'm having a hard time to track, the clipboard API doesn't seem to work in Firefox as it's supposed to (see http://caniuse.com/clipboard).
Here's a minimal example reproducing the issue: http://jsbin.com/volej/7/edit
I suggest we go with relying on exposing that feature through the mozLoop API for now. And if so, that's probably something a gecko developer wants to take.
NI mreavy for decision making here.
Flags: needinfo?(mreavy)
Comment 10•10 years ago
|
||
Niko, based on our conversation today after the standup, are you going to pair with someone on this? (Feel free to still say, "no thanks".)
Flags: needinfo?(mreavy)
Assignee | ||
Comment 11•10 years ago
|
||
(In reply to Maire Reavy [:mreavy] (Plz needinfo me) from comment #10)
> Niko, based on our conversation today after the standup, are you going to
> pair with someone on this? (Feel free to still say, "no thanks".)
Mike sent me a pastebin (https://pastebin.mozilla.org/5840382) to get started, I should be all fine but will ask for help if needed :)
Assignee | ||
Comment 12•10 years ago
|
||
This patch adds a new "Copy" button in the panel for when a call URL has been generated. It also refactors a little the way the "Email" button was handled, and related tests.
Following a discussion we had with Mike on IRC, the mozLoop.getString method isn't tested, as the gecko clipboard API is already, and we don't do much more than proxying it through the mozLoop object.
Attachment #8469207 -
Flags: review?(mdeboer)
Comment 13•10 years ago
|
||
Comment on attachment 8469207 [details] [diff] [review]
Copy Loop call URL.
Review of attachment 8469207 [details] [diff] [review]:
-----------------------------------------------------------------
The approach looks solid, so we're past the feedback stage (would be f+), so I'm going with r-.
::: browser/components/loop/MozLoopAPI.jsm
@@ +227,5 @@
> });
> }
> },
> +
> + copyString: {
This needs a nice doc-block comment explaining what this function does, like the other API methods.
::: browser/components/loop/content/js/panel.jsx
@@ +263,5 @@
> var PanelView = React.createClass({
> propTypes: {
> notifier: React.PropTypes.object.isRequired,
> + client: React.PropTypes.object.isRequired,
> + callUrl: React.PropTypes.string // Mostly used for UI components showcase
nit: put the comment above the addressed line and add 'and unit tests' to it.
::: browser/components/loop/content/shared/css/panel.css
@@ +102,5 @@
> +}
> +
> +.share .action .url-actions .btn:first-child {
> + margin-right: 1em;
> +}
This will become fun when we start supporting RTL mode. Why not not `-moz-margin-end: 1em` on both buttons?
Also, please try to use child-selectors here.
::: browser/components/loop/test/desktop-local/panel_test.js
@@ +320,5 @@
> + .to.equal(encodeURI(mailto));
> + });
> +
> + it("should feature a copy button capable of copying the call url when " +
> + "clicked", function() {
nit: I don't see value in splitting this string across multiple lines.
Attachment #8469207 -
Flags: review?(mdeboer) → review-
Assignee | ||
Comment 14•10 years ago
|
||
Adressed review comments.
Attachment #8469207 -
Attachment is obsolete: true
Attachment #8469249 -
Flags: review?(mdeboer)
Assignee | ||
Comment 15•10 years ago
|
||
Reverted to use -moz-margin-end as discussed with Mike on IRC.
Attachment #8469249 -
Attachment is obsolete: true
Attachment #8469249 -
Flags: review?(mdeboer)
Attachment #8469257 -
Flags: review?(mdeboer)
Comment 16•10 years ago
|
||
Comment on attachment 8469257 [details] [diff] [review]
Copy Loop call URL.
Review of attachment 8469257 [details] [diff] [review]:
-----------------------------------------------------------------
Nice, thanks!!
::: browser/components/loop/MozLoopAPI.jsm
@@ +228,5 @@
> }
> },
> +
> + /**
> + * Copies passed string into end user's clipboard.
nit: can you change this to 'onto the system clipboard' ?
Attachment #8469257 -
Flags: review?(mdeboer) → review+
Assignee | ||
Comment 17•10 years ago
|
||
Fixed latest nits.
Attachment #8469257 -
Attachment is obsolete: true
Attachment #8469267 -
Flags: review?(mdeboer)
Comment 18•10 years ago
|
||
Comment on attachment 8469267 [details] [diff] [review]
Copy Loop call URL.
Per irc, we agreed to carry forward the r=mikedeboer
Attachment #8469267 -
Flags: review?(mdeboer) → review+
Comment 19•10 years ago
|
||
(In reply to Romain Testard [:RT - on PTO back on August 14th] from comment #8)
> It was not, thanks for raising!
> I have now created https://bugzilla.mozilla.org/show_bug.cgi?id=1046114 to
> track the implementation of the final URL format we'll want for Beta launch.
> Until beta I suggest we keep https://call.mozilla.com/#call/<token>
> I needInfo Arcadio as he suggested we may want to use
> https://webrtc.firefox.com/<token> although I'm not sure it makes sense to
> implement that change given it won't be valid for a long period of time.
This is already dealt with in other bugs, clearing the needinfo request.
Flags: needinfo?(alainez)
Comment 20•10 years ago
|
||
Assignee: nobody → nperriault
Comment 21•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 22•10 years ago
|
||
Verified fixed in the latest Nightly.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
QA Contact: anthony.s.hughes
status-firefox34:
--- → verified
You need to log in
before you can comment on or make changes to this bug.
Description
•