Closed Bug 1183638 Opened 10 years ago Closed 10 years ago

Implement the refreshed design for the conversation list

Categories

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

defect
Points:
5

Tracking

(firefox43 verified)

VERIFIED FIXED
mozilla43
Iteration:
43.1 - Aug 24
Tracking Status
firefox43 --- verified

People

(Reporter: mikedeboer, Assigned: andreio)

References

Details

(Whiteboard: [visual refresh][strings])

User Story

- Change the title from "Current Conversations" to "RECENT CONVERSATIONS" (note: use caps in l10n, don't use the css styling to force caps).
- Adjust the conversation list to have a Hello icon at the start of each item (Blue when room is active, grey otherwise).

Attachments

(2 files, 1 obsolete file)

Rank: 19
Rank: 19 → 17
Assignee: nobody → mdeboer
Iteration: --- → 42.3 - Aug 10
Reworking for what we think needs doing, see the user story for the detail of what needs doing.
Assignee: mdeboer → nobody
User Story: (updated)
Iteration: 42.3 - Aug 10 → 43.1 - Aug 24
Assignee: nobody → andrei.br92
(In reply to Andrei Oprea [:andreio] from comment #2) > Could not find the icon in this screenshot > https://www.dropbox.com/s/ecfehwsq170jxml/Screenshot%202015-08-11%2016.23.39. > png?dl=0 > > UI review: > https://www.dropbox.com/s/jg8rhos9jx44pbz/Screenshot%202015-08-11%2017.02.51. > png?dl=0 There in assets export folder.
Flags: needinfo?(vpg)
Attachment #8646673 - Flags: review?(standard8)
Attached image Icon slightly too high?
Looking at it on my screen, the icon looks like its slightly too high/tall when compared with the text. Andrei, is this the same on yours, or are we looking at differences here?
Flags: needinfo?(andrei.br92)
Comment on attachment 8646673 [details] [diff] [review] Loop conversation list panel refresh Review of attachment 8646673 [details] [diff] [review]: ----------------------------------------------------------------- A few smallish comments for some improvements that need fixing up. We also need to work out about the icon placement. ::: browser/components/loop/content/css/panel.css @@ +346,5 @@ > .room-list { > max-height: 335px; /* XXX better computation needed */ > min-height: 7px; > overflow: auto; > + margin: 0 -1.5rem; This is a bit strange - the whole `.rooms` section has a 1.5rem padding, we then ignore that with this -1.5rem, only to put it back in with 1.5rem on `.room-list > .room-entry`. How about we make it simpler, remove this margin section, and just have `padding: .2 0;` in the `.room-list > .room-entry` ? ::: browser/components/loop/content/js/panel.jsx @@ -656,5 @@ > - var numRooms = this.state.rooms.length; > - if (numRooms === 0) { > - return mozL10n.get("rooms_list_no_current_conversations"); > - } > - return mozL10n.get("rooms_list_current_conversations", {num: numRooms}); Can you check there's a bug for implementing the "no conversations" view please? rooms_list_current_conversations and rooms_list_no_current_conversations should also be removed now so that we don't forget them. ::: browser/components/loop/ui/ui-showcase.css @@ -93,5 @@ > text-decoration: none; > color: #555; > } > > -.showcase .checkbox-wrapper label { iirc, this was for the RTL box in the header, how about scoping this like: .showcase > header > .checkbox-wrapper > label ? Could do the same for .showcase .checkbox.checked as well.
Attachment #8646673 - Flags: review?(standard8) → review-
(In reply to Mark Banner (:standard8) from comment #5) > Created attachment 8647510 [details] > Icon slightly too high? > > Looking at it on my screen, the icon looks like its slightly too high/tall > when compared with the text. > > Andrei, is this the same on yours, or are we looking at differences here? Did not look that off on my machine. Went ahead and changed the code so that we use pseudo elements and also tweaked the position some more. Here is how it looks for me. https://www.dropbox.com/s/or5hf7yz39bgdbm/Screenshot%202015-08-13%2013.32.14.png?dl=0
Flags: needinfo?(andrei.br92)
(In reply to Mark Banner (:standard8) from comment #6) > Comment on attachment 8646673 [details] [diff] [review] > Loop conversation list panel refresh > > Review of attachment 8646673 [details] [diff] [review]: > ----------------------------------------------------------------- > > A few smallish comments for some improvements that need fixing up. We also > need to work out about the icon placement. > > ::: browser/components/loop/content/css/panel.css > @@ +346,5 @@ > > .room-list { > > max-height: 335px; /* XXX better computation needed */ > > min-height: 7px; > > overflow: auto; > > + margin: 0 -1.5rem; > > This is a bit strange - the whole `.rooms` section has a 1.5rem padding, we > then ignore that with this -1.5rem, only to put it back in with 1.5rem on > `.room-list > .room-entry`. > > How about we make it simpler, remove this margin section, and just have > `padding: .2 0;` in the `.room-list > .room-entry` ? Was there because of needed padding between content and container & at the same time the room list entries needed to span from edge to edge (when hovered, see blue background). Removed the weird negative margin rules and added explicit margin on each element. > > ::: browser/components/loop/content/js/panel.jsx > @@ -656,5 @@ > > - var numRooms = this.state.rooms.length; > > - if (numRooms === 0) { > > - return mozL10n.get("rooms_list_no_current_conversations"); > > - } > > - return mozL10n.get("rooms_list_current_conversations", {num: numRooms}); > > Can you check there's a bug for implementing the "no conversations" view > please? > Good catch. There wasn't implementing in this patch. > rooms_list_current_conversations and rooms_list_no_current_conversations > should also be removed now so that we don't forget them. Done. > > ::: browser/components/loop/ui/ui-showcase.css > @@ -93,5 @@ > > text-decoration: none; > > color: #555; > > } > > > > -.showcase .checkbox-wrapper label { > > iirc, this was for the RTL box in the header, how about scoping this like: > > .showcase > header > .checkbox-wrapper > label > > ? > > Could do the same for .showcase .checkbox.checked as well. Did not understand this part. The rule made the font bold but only in showcase and it does not match the spec so I removed it.
Blocks: 1190734
Attachment #8646673 - Attachment is obsolete: true
Attachment #8647918 - Flags: review?(standard8)
Whiteboard: [visual refresh] → [visual refresh][strings]
Blocks: 1194622
Comment on attachment 8647918 [details] [diff] [review] Loop conversation list panel refresh Review of attachment 8647918 [details] [diff] [review]: ----------------------------------------------------------------- Looks good. I've filed bug 1194622 on the fact we'll now flicker to no current conversations on initial start. We need to improve that UI anyway, so that's a good opportunity. r=Standard8
Attachment #8647918 - Flags: review?(standard8) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
QA Contact: bogdan.maris
Verified using latest Nightly 43.0a1 across platforms (Windows 7 64-bit, Mac OS X 10.10.4 and Ubuntu 14.04 32-bit) that the refreshed design for conversation list matches the implementation here.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Depends on: 1197302
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: