Closed Bug 1205206 Opened 9 years ago Closed 9 years ago

Move the ToS links on the standalone UI to be shown below the Join button

Categories

(Hello (Loop) :: Client, defect, P2)

defect

Tracking

(firefox44 fixed)

RESOLVED FIXED
mozilla44
Iteration:
44.1 - Oct 5
Tracking Status
firefox44 --- fixed

People

(Reporter: standard8, Assigned: dcritchley)

References

Details

User Story

Acceptance:

- ToS link is shown below the join conversation button.
- Clicking the ToS links continue to dispatch the existing RecordClick action.
- Join button continues to work as expected.

Dev plan:

- Split out the existing Join room button from StandaloneRoomInfoArea to a new view.
- Change the joinRoom prop to a function in the new view that dispatches the JoinRoom action directly.
- Move the existing ToS link handling from the StandaloneRoomFooter to the new view.
- Update tests appropriately.

Attachments

(2 files, 1 obsolete file)

As part of the UX refresh, we should move the ToS link from the footer to below the join button.
Flags: firefox-backlog+
Rank: 20
Rank: 20 → 21
Assignee: nobody → david.critchley
Yes, but don't worry about the look of the join button. It might be simpler with the dev plan to move the ToS into a new view - I'll need a separate view for bug 1208466. So e.g. the new ToSView would render just the <p> element with the text content, and contain the existing _getContent & recordClick. We might still want a separate view for the button + tos, but I think that could come later with a rework of the "InfoArea" elements.
UX/UI image for ToS change from Sevaan: http://i.sevaan.com/image/031q2Z3M1N0R Sevaan requested text color to be #999999 due to current dark background. Also, requested period to be added to end of sentence, will change that as part of this bug fix.
Moving Loop Standalone Terms of Service text from footer to under Join button
Attachment #8667000 - Flags: ui-review?(sfranks)
Attachment #8667000 - Flags: review?(standard8)
Comment on attachment 8667000 [details] [diff] [review] Attachment to Bug 1205206 - Move the ToS links on the standalone UI to be shown below the Join button Review of attachment 8667000 [details] [diff] [review]: ----------------------------------------------------------------- Almost there, just needs a few tweaks to make the css a bit better. ::: browser/components/loop/standalone/content/css/webapp.css @@ +59,5 @@ > > +/* Terms of Service */ > + > +.terms-service { > + margin-top:20px; Given this is a location specific setting for the margin, I would prefer for us to use `.room-inner-info-area > .terms-service` as the selector. That way we're keeping the styling of the element to itself, but using the parent elements to manage the layout. nit: need a space after the colon. @@ +64,5 @@ > +} > + > +.terms-service, > +.terms-service a { > + color:#999; Please use `.terms-service > a` if its really necessary. A child selector has better performance than a descendent selector. nit: need a space after the colon. @@ -246,5 @@ > .room-inner-info-area { > color: #fff; > margin: auto; > - /* 290px is the width of the widest info child, i.e., a tile */ > - width: 290px; If we're removing this, we need a small amount of horizontal padding to avoid the case where strings might touch the sides of the containing box. Probably something like 5px either side.
Attachment #8667000 - Flags: review?(standard8) → review-
Blocks: 1209632
Moving Loop Standalone Terms of Service text from footer to under Join button
Attachment #8667000 - Attachment is obsolete: true
Attachment #8667000 - Flags: ui-review?(sfranks)
Attachment #8667563 - Flags: review?(standard8)
Comment on attachment 8667563 [details] [diff] [review] Attachment to Bug 1205206 - Move the ToS links on the standalone UI to be shown below the Join button Review of attachment 8667563 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, r=Standard8.
Attachment #8667563 - Flags: review?(standard8) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Depends on: 1218450
Iteration: --- → 44.1 - Oct 5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: