Closed Bug 950795 Opened 11 years ago Closed 10 years ago

[Messages] Reduce the use of ids in the "you received a message" notice

Categories

(Firefox OS Graveyard :: Gaia::SMS, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: julienw, Assigned: julienw)

References

Details

Attachments

(3 files, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #950074 +++

STR:
* have 2 devices A and B
* from device A, open the thread for the phone number of device B. This thread must have a scroll bar
* scroll it up
* with the phone B, send a sms to phone A

=> a notice containing the text "New message from <phone number>" with a "read it" button is displayed.


In this bug I want to simplify the markup to reduce the use of ids.
Summary: [Messages] The "you received a message" notice has a bad layout → [Messages] Reduce the use of ids in the "you received a message" notice
Attached patch WIP patch (obsolete) — Splinter Review
This needs JS changes to make it work properly.
Attached image current master style
Attached image style after this patch
Attached patch patch v1Splinter Review
Hey Steve, here is, at least, the patch to reduce the use of ids in this area.

See also the github PR at https://github.com/mozilla-b2g/gaia/pull/15596

I also slightly changed the style to match the spec.
Attachment #8348195 - Attachment is obsolete: true
Attachment #8363562 - Flags: review?(schung)
See the spec at attachment 810514 [details], with Ayman's change at bug 905208 comment 53.

Unfortunately I don't find a spec with actual numbers but I'm quite sure I found one back when I did this style...
Comment on attachment 8363562 [details] [diff] [review]
patch v1

Review of attachment 8363562 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good to me, thanks!
Attachment #8363562 - Flags: review?(schung) → review+
master: b5996ecc624ea68421050f592577ad2e673655a6

thanks!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: