Closed
Bug 1019454
Opened 11 years ago
Closed 11 years ago
Standalone UI for link clickers needs acceptance of ToS and privacy notice
Categories
(Hello (Loop) :: Client, defect, P1)
Hello (Loop)
Client
Tracking
(firefox34 verified)
VERIFIED
FIXED
mozilla34
| Tracking | Status | |
|---|---|---|
| firefox34 | --- | verified |
People
(Reporter: RT, Assigned: rgauthier)
References
Details
(Whiteboard: p=1)
User Story
As a WebRTC browser but not on Firefox URL clicker, I want to be able to read the ToS and privacy notice before placing a call so that I know what I am signing-up for. ToDo: Implement hiding the ToS and privacy link after the first call is made.
Attachments
(1 file, 1 obsolete file)
|
8.58 KB,
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Reporter | ||
Updated•11 years ago
|
User Story: (updated)
| Reporter | ||
Comment 1•11 years ago
|
||
"By using [product] you agree to the terms of use and privacy notice" displayed at the bottom of the landing page for link clickers before the user presses the "Call" button.
No need to display this again once you are in a call.
| Reporter | ||
Updated•11 years ago
|
Priority: P2 → P1
Updated•11 years ago
|
Whiteboard: p=1
| Reporter | ||
Comment 2•11 years ago
|
||
UX reference: https://people.mozilla.org/~dhenein/labs/loop-spec-v1/
| Reporter | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
Updated•11 years ago
|
Target Milestone: mozilla33 → mozilla34
Updated•11 years ago
|
Assignee: nobody → rgauthier
Target Milestone: mozilla34 → 34 Sprint 1- 8/4
Comment 6•11 years ago
|
||
The only work to do here, I think, is to save the "seen" state in IndexedDb so users don't have to see it more than once, assuming that's part of the user story. RT?
Flags: needinfo?(dhenein)
Comment 7•11 years ago
|
||
Since RT is on PTO, I'm going to step in and say "yes" to Dan's question. We want users to see the notice once and not be annoyed by it every time. Dan -- Did you mean to needinfo RT instead of Darrin? I'm going to remove the needinfo to Darrin. Feel free to re-add if I'm mistaken.
Flags: needinfo?(dhenein)
Comment 8•11 years ago
|
||
mreavy: I needinfo-ed Darrin instead of RT because I knew that RT was going to be gone, and this is also a UX question. That said, I'm sure your proxy answer is plenty sufficient, so I won't needinfo.
Comment 9•11 years ago
|
||
Ah, thanks for the explanation, Dan. Adding Darrin in case he wants to chime in.
Target Milestone: 34 Sprint 1- 8/4 → 34 Sprint 2- 8/18
Comment 10•11 years ago
|
||
Sounds right to me -- as long as we show ToS/etc. once and then not after that.
Comment 11•11 years ago
|
||
Arcadio approved ToS URL to use https://hello.firefox.com/legal/terms
Updated•11 years ago
|
Status: NEW → ASSIGNED
Updated•11 years ago
|
User Story: (updated)
| Assignee | ||
Comment 12•11 years ago
|
||
Attachment #8475926 -
Flags: review?(dmose)
Comment 13•11 years ago
|
||
Comment on attachment 8475926 [details] [diff] [review]
Hide TOS when it has been seen in the standalone UI
Stealing review...
Attachment #8475926 -
Flags: review?(dmose) → review?(standard8)
Comment 14•11 years ago
|
||
Comment on attachment 8475926 [details] [diff] [review]
Hide TOS when it has been seen in the standalone UI
Review of attachment 8475926 [details] [diff] [review]:
-----------------------------------------------------------------
This looks good and is almost there, but it needs the onunload removing, and the test sections merging.
::: browser/components/loop/standalone/content/js/webapp.jsx
@@ +557,5 @@
> document.documentElement.lang = document.webL10n.getLanguage();
> document.documentElement.dir = document.webL10n.getDirection();
> +
> + window.onunload = function() {
> + localStorage.setItem("has-seen-tos", "true");
I don't think we should set this on unload - it makes it very difficult to manually test / change the value and isn't a strict requirement.
From the user perspective, I could also see users taking a quick glance at a link, deciding not to make a call, and then wanting to make a call later (and hence not being able to look at the ToS in more detail).
::: browser/components/loop/test/standalone/webapp_test.js
@@ +703,5 @@
> });
> });
> });
> +
> + describe("StartConversationView", function() {
This seems to duplicate the existing StartConversationView section (maybe that landed recently?).
@@ +707,5 @@
> + describe("StartConversationView", function() {
> + var view, conversation, standaloneClientStub, oldLocalStorageValue;
> +
> + beforeEach(function() {
> + var oldLocalStorageValue = localStorage.getItem("has-seen-tos");
Duplicate var definition.
Attachment #8475926 -
Flags: review?(standard8)
Attachment #8475926 -
Flags: review-
Attachment #8475926 -
Flags: feedback+
| Assignee | ||
Comment 15•11 years ago
|
||
Attachment #8475926 -
Attachment is obsolete: true
Attachment #8478255 -
Flags: review?(standard8)
Comment 16•11 years ago
|
||
Comment on attachment 8478255 [details] [diff] [review]
Hide TOS when it has been seen in the standalone UI
Review of attachment 8478255 [details] [diff] [review]:
-----------------------------------------------------------------
Looks great. r=Standard8
Attachment #8478255 -
Flags: review?(standard8) → review+
Comment on attachment 8478255 [details] [diff] [review]
Hide TOS when it has been seen in the standalone UI
Review of attachment 8478255 [details] [diff] [review]:
-----------------------------------------------------------------
Just a quick comment about dependency management here.
::: browser/components/loop/standalone/content/js/webapp.jsx
@@ +202,5 @@
> },
>
> componentWillUnmount: function() {
> window.removeEventListener("click", this.clickHandler);
> + localStorage.setItem("has-seen-tos", "true");
Let me jump in: I'd personally rather see this passed as a dependency through a prop, to ease testing and possibly switching backend later on.
Comment 18•11 years ago
|
||
(In reply to Nicolas Perriault (:NiKo`) from comment #17)
> ::: browser/components/loop/standalone/content/js/webapp.jsx
> @@ +202,5 @@
> > },
> >
> > componentWillUnmount: function() {
> > window.removeEventListener("click", this.clickHandler);
> > + localStorage.setItem("has-seen-tos", "true");
>
> Let me jump in: I'd personally rather see this passed as a dependency
> through a prop, to ease testing and possibly switching backend later on.
Yeah, I can see that being useful. I don't see that being a significant benefit at the moment given the patch and amount of use.
If we get another item using local storage, then I think it'll be worth it, but at the moment I'm not expecting anything else to need this.
Comment 19•11 years ago
|
||
Target Milestone: 34 Sprint 2- 8/18 → mozilla34
Comment 20•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 21•11 years ago
|
||
Is this sufficiently covered by automation or does it need manual testing?
Whiteboard: p=1 → p=1 [qa?]
Comment 22•11 years ago
|
||
(In reply to Anthony Hughes, QA Mentor (:ashughes) from comment #21)
> Is this sufficiently covered by automation or does it need manual testing?
Mark, can you please answer this?
Flags: qe-verify?
Flags: needinfo?(standard8)
Whiteboard: p=1 [qa?] → p=1
Comment 23•11 years ago
|
||
(In reply to Anthony Hughes, QA Mentor (:ashughes) from comment #21)
> Is this sufficiently covered by automation or does it need manual testing?
Probably manual testing for now. This should verify that the ToS and privacy link are displayed until a call is started.
The info is stored in localStorage, which can be reset by:
1) visit a call page.
2) Open the web console
3) Enter:
localStorage.removeItem("has-seen-tos");
4) It should then show on the console the line "undefined"
Flags: needinfo?(standard8)
Comment 24•11 years ago
|
||
I confirm this is working in the latest Aurora build. Sorry this fell off my radar.
Status: RESOLVED → VERIFIED
status-firefox34:
--- → verified
QA Contact: anthony.s.hughes
You need to log in
before you can comment on or make changes to this bug.
Description
•