Closed
Bug 873028
Opened 11 years ago
Closed 11 years ago
[MMS] Compose and Reply a message. Implement MMS indicator
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(blocking-b2g:leo+, b2g18 fixed)
People
(Reporter: vicky, Assigned: gnarf)
References
Details
Attachments
(5 files, 12 obsolete files)
Implement MMS indicator in messages list as shown in the attachment. The size and color of the font is specified there as well.
Assignee | ||
Updated•11 years ago
|
blocking-b2g: --- → leo?
Assignee | ||
Comment 2•11 years ago
|
||
Pinging two reviewers, whoever gets here first, please remove the other flag. This fixed a bug where an image being attached to a message wouldn't cause the MMS indicator to show up. Also, applies styles to look like the visual mock
Attachment #753397 -
Flags: review?(felash)
Attachment #753397 -
Flags: review?(fbsc)
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #753399 -
Attachment is obsolete: true
Comment 5•11 years ago
|
||
Comment on attachment 753397 [details] [diff] [review] patch v1 Review of attachment 753397 [details] [diff] [review]: ----------------------------------------------------------------- I see the following problem: * the counter is not properly placed when it's displayed very soon (eg: try to type a SMS with a character "ê") see screenshot (don't look at the overing problems due to the fact that I have a big send button, this is bug 871986) ::: apps/sms/style/sms.css @@ +559,5 @@ > padding-right: 0.5rem; > } > > [data-message-type="mms"] #messages-send-button.has-counter:before { > content: 'MMS'; don't we need a display:block ? otherwise I suspect the padding-left won't apply ? (but I'm not so sure)
Attachment #753397 -
Flags: review?(felash)
Attachment #753397 -
Flags: review?(fbsc)
Comment 6•11 years ago
|
||
Assignee | ||
Comment 7•11 years ago
|
||
So this bug with the counter showing up early was one I discussed with borja at the work week. The fact that the counter might show up before the input was tall enough to hold it was not considered possible. Darn long chars. Borja/Julien - Can you look at the CSS with this in mind and suggest the proper code to use, or can someone else take my patch and fix the CSS correctly? I had another positioning model setup at one point that dealt with this scenario, but it wasn't considered possible :)
Flags: needinfo?(felash)
Flags: needinfo?(fbsc)
Comment 8•11 years ago
|
||
as discussed on IRC, will try to find the right CSS tomorrow.
Assignee: gnarf37 → felash
Flags: needinfo?(felash)
Updated•11 years ago
|
blocking-b2g: leo? → leo+
Comment 9•11 years ago
|
||
So, I checked 1.0.1, and I really like how the SMS counter is just above the send button. Victoria, could it be possible to have the SMS character counter like in 1.0.1, which would prevent having the problem I highlight in comment 6 ? We still can put the MMS indicator where you want it to be. To reproduce easily the comment 6 problem, start a SMS with "Ê" and then add lots of short characters like "l" or "i", the counter will appear before the end of the second line.
Assignee: felash → gnarf37
Flags: needinfo?(vpg)
Comment 10•11 years ago
|
||
(Gave it back to :gnarf because if this simpler solution is agreed by Victoria, he'll be able to move forward)
Comment 11•11 years ago
|
||
Flags: needinfo?(fbsc)
Comment 12•11 years ago
|
||
Comment 13•11 years ago
|
||
I've seen that there is no issue of the height neither master or v1-train. Corey, this patch is ready for review?
Flags: needinfo?(gnarf37)
Comment 14•11 years ago
|
||
I've just checked the issue with characters as 'ë' etc... Waiting Vicky!
Reporter | ||
Comment 15•11 years ago
|
||
Hi, so if there's really a problem, please use this layout I am attaching, is the MMS indicator without the vertical line in the left and separated from the send button by a 0.6 rem vertical space. Please make sure you update the counter like this also.
Flags: needinfo?(vpg)
Reporter | ||
Comment 16•11 years ago
|
||
Assignee | ||
Comment 17•11 years ago
|
||
This has the changes from victoria, but still causes a problem
Attachment #753421 -
Attachment is obsolete: true
Flags: needinfo?(gnarf37) → needinfo?(vpg)
Reporter | ||
Comment 18•11 years ago
|
||
I see Corey, thanks for the screenshot. This is no longer a strict visual matter, so pingin Ayman to see if he can give some input here.
Flags: needinfo?(vpg) → needinfo?(aymanmaat)
Assignee | ||
Comment 19•11 years ago
|
||
sets a bunch of absolute positioning to put the counter right above the send button
Attachment #753397 -
Attachment is obsolete: true
Attachment #756025 -
Flags: review?(fbsc)
Assignee | ||
Comment 21•11 years ago
|
||
Reporter | ||
Comment 22•11 years ago
|
||
Corey, those screenshots are not a valid solution. Will wait for Ayman's input to see if there's a different placement solution for it.
Assignee | ||
Updated•11 years ago
|
Attachment #755987 -
Attachment is obsolete: true
Assignee | ||
Comment 23•11 years ago
|
||
Comment on attachment 755989 [details]
No issue with height in French
obsoleted borja's screenshots since he wasn't using a ë type character to make the segment length shorter.
Attachment #755989 -
Attachment is obsolete: true
Assignee | ||
Comment 24•11 years ago
|
||
kicking the bug over to borja - I think borja can take my patch and fix the CSS with input from victoria - the code shouldn't need to change at all.
Assignee: gnarf37 → fbsc
Comment 25•11 years ago
|
||
Attachment #756025 -
Attachment is obsolete: true
Attachment #756025 -
Flags: review?(fbsc)
Attachment #757358 -
Flags: review?(gnarf37)
Comment 26•11 years ago
|
||
Comment 27•11 years ago
|
||
I've created this path for fixing the functionality (now it's broken), and it's agreed with UX. Furthermore we are going to add the right styles here https://bugzilla.mozilla.org/show_bug.cgi?id=878758 as a followup.
Assignee | ||
Comment 28•11 years ago
|
||
I'm a little confused here --- This doesn't include the code/unit test fixes from my patch? Why do we need the followup? Sounds like your pull is the followup and my old patch is this bug? I was assuming you would just take my patch and fix the CSS on top of it?
Comment 29•11 years ago
|
||
Hi Corey, Feel free to take this code and use this CSS in your patch. After talking with UX we are going to fix the issue (because now it's broken), and we are going to work in the followup with UX for creating a better solution aligned with all the requirements (that's why the followup).
Assignee | ||
Comment 30•11 years ago
|
||
Okay! Thanks - I'm going to take my code, + your css, and r=you and just land it then?
Assignee | ||
Updated•11 years ago
|
Assignee: fbsc → gnarf37
Comment 31•11 years ago
|
||
Merge both codes and I will simply test it and r ok? Thanks!
Assignee | ||
Comment 32•11 years ago
|
||
Attachment #756026 -
Attachment is obsolete: true
Assignee | ||
Comment 33•11 years ago
|
||
Attachment #756027 -
Attachment is obsolete: true
Assignee | ||
Comment 34•11 years ago
|
||
Here is an updated patch Borja - Please check it out
Attachment #756019 -
Attachment is obsolete: true
Attachment #757358 -
Attachment is obsolete: true
Attachment #757360 -
Attachment is obsolete: true
Attachment #757358 -
Flags: review?(gnarf37)
Attachment #757981 -
Flags: review?(fbsc)
Updated•11 years ago
|
Attachment #757981 -
Flags: review?(fbsc) → review+
Assignee | ||
Comment 35•11 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/64ab5d6649a3227a98c5808d3eaa8910d571d3a1
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(aymanmaat)
Resolution: --- → FIXED
Comment 36•11 years ago
|
||
Uplifted 64ab5d6649a3227a98c5808d3eaa8910d571d3a1 to: v1-train: 1a42f4f7d3260d0b97565ed6b2add408aec72cb4
status-b2g18:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•