Closed Bug 870416 Opened 12 years ago Closed 11 years ago

[MMS] Recipients container multiline view takes all available space

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(blocking-b2g:leo+, b2g18 verified, b2g-v1.1hd fixed)

RESOLVED FIXED
blocking-b2g leo+
Tracking Status
b2g18 --- verified
b2g-v1.1hd --- fixed

People

(Reporter: borjasalguero, Assigned: rwaldron)

References

Details

(Whiteboard: [LeoVB+] )

Attachments

(5 files, 1 obsolete file)

+ Height has a 'pull-down' effect while typing. CSS is not working as expected. (Issue 3 attachment) + Header is pushed up, so the layout of the app is broken + Height when dragging should take all the available space as in Page 19, Step 6 of WF
Attached image Push app effect
Depends on: 840069
blocking-b2g: --- → leo+
Whiteboard: [NO_UPLIFT]
Currently not seeing these issues in latest build. Any additional build info?
(In reply to Mark Shiao from comment #3) > Currently not seeing these issues in latest build. Any additional build > info? this bug is filed against a temporary branch where MMS work is landing until ready for gaia master.
Assignee: nobody → waldron.rick
Maybe someone that understands CSS better then I do should look at this. As far as I can tell setting min-height and letting the recipients box grow is insufficient because to avoid the "gap" between the previous recipients and the header, you must also change the value of "top" (from top: 1.2rem => top: -0.2rem)
This series of captures illustrates how far I was able to get, but I'm just spinning my wheels now. https://www.dropbox.com/sh/op52z1e2278rbhd/Ub0S-76SH9 https://github.com/rwldrn/gaia/compare/870416
Attached file Github pull request pointer (obsolete) —
Working on this. This patch addresses a bunch of the focus issues that I was seeing.
Assignee: waldron.rick → kgrandon
Status: NEW → ASSIGNED
Comment on attachment 751145 [details] Github pull request pointer Hi Corey - Could you give this one an initial review? I fixed several focus issues that I saw, and I think that the height handling should be a bit better. Please take a look and let me know what you think.
Attachment #751145 - Attachment description: Work in progress → Github pull request pointer
Attachment #751145 - Flags: review?(gnarf37)
Comment on attachment 751145 [details] Github pull request pointer I like where it's going - though I would really prefer to avoid binding a event listener on window. Will focusout work?
Attachment #751145 - Flags: review?(gnarf37) → review-
Can you be more specific about why binding a listener on window is bad? This is pretty common practice for event delegation. I would love to use focusout, but it looks like it's not supported yet, bug 687787 has more details.
Flags: needinfo?(gnarf37)
It's not common to bind event to the window for event delegation. It's common to bind a single event to a container node within the document and delegate handling based on child node targets. Eiter way, this issue was resolved in https://github.com/mozilla-b2g/gaia/commit/54118408dacaedf4b06c393d5b9a500450c5e7f2 and this bug was supposed to be closed as a duplicate of bug 870544
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Sounds good. There seems to still be a lot of remaining expand/collapse issues for me though. I will look through and file new bugs for the ones that don't exist.
Flags: needinfo?(gnarf37)
The expand/collapse behaviours are matched to the current v8.0 spec
I still reproduce this bug, the recipients field is taking just a portion of the available space to show the recipients.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Victoria, can you better describe what the problem is on the latest build? And a screenshot? We discussed, and are not clear on it. Thanks!
Whiteboard: [NO_UPLIFT]
I think that the scenario is the following: - Add a lot of recipients in 'new' screen of MMS/SMS App - Tap on 'back' and cancel the SMS - Go again to 'new' EXPECTED: Recipients container height is reset, so the form is started from the scratch CURRENTLY: Recipients container height is the previous one, so the layout is broken.
The problem Borja is commenting is a different thing than what I am describing, and I filed a bug for this issue Borja mentions: https://bugzilla.mozilla.org/show_bug.cgi?id=877615 But my concern has to do with the behaviour of the recipients field when pulled down, right now it does not expand all the way down to the input field as I understand it should, and also when the keyboard is dismissed, this recipients field should expand as much as needed taking advantage of the large space available in the screen. But for further clarification on this I am pinging Ayman to comment.
Flags: needinfo?(aymanmaat)
The problem Borja is commenting is a different thing than what I am describing, and I filed a bug for this issue Borja mentions: https://bugzilla.mozilla.org/show_bug.cgi?id=877615 But my concern has to do with the behaviour of the recipients field when pulled down, right now it does not expand all the way down to the input field as I understand it should, and also when the keyboard is dismissed, this recipients field should expand as much as needed taking advantage of the large space available in the screen. But for further clarification on this I am pinging Ayman to comment.
hi guys I think Victoria's attachments capture the bug nicely. wireframe pack HTML5_SMS-MMSUserStorySpecifications_20130503_V8.0 page 19 We need to give maximum visibility to the content of the 'To' field to reduce cognitive loading. Therefore it was specified that the 'To' field should be able to be pulled downwards until its bottom edge is level with the top edge of the send button. At this point it will scroll within its own area. this should happen when the keyboard is open. looking at attachment 755883 [details] we are not currently expanding the 'To' field as far as the top edge of the send button. It would be ideal if expansion of the To field as far as the top edge of the send button could also happen when the keyboard is closed (though keyboard closed in new message mode is not illustrated in the wireframes). Let me know if you need any more input
Flags: needinfo?(aymanmaat)
Been a long time, no action, and no critical user impact, so not going to hold the entire release on this. If we can get a patch once we fix the other higher-priority bugs, we should totally fix this. Otherwise, let's fix it in 1.2!
blocking-b2g: leo+ → -
Attachment #751145 - Attachment is obsolete: true
I'll take a look if I free up - otherwise un-assigning in case someone wants to grab this.
Assignee: kgrandon → nobody
Remaining issues were addressed in different bugs, I can't find all of them. https://bugzilla.mozilla.org/show_bug.cgi?id=877590
Status: REOPENED → RESOLVED
Closed: 12 years ago11 years ago
Resolution: --- → FIXED
Please read the comment https://bugzilla.mozilla.org/show_bug.cgi?id=870416#c16. It's easy to reproduce
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee: nobody → waldron.rick
Assignee: waldron.rick → nobody
Summary: [MMS] Recipients container interaction. Drag & Pull effects. → [MMS] Recipients container multiline view takes all available space
Updated the title to more accurately reflect the remaining issue https://bugzilla.mozilla.org/show_bug.cgi?id=870416#c16
Assignee: nobody → waldron.rick
Dietrich, this can/should be restored to leo+
blocking-b2g: - → leo?
Dietrich, further information... - still part of the UX spec - was previously leo+ - leo- due to no activity - now ready to be leo+ again
Flags: needinfo?(dietrich)
Triage - leo+ to follow spec
blocking-b2g: leo? → leo+
Comment on attachment 765914 [details] [review] Github Pull Request https://github.com/mozilla-b2g/gaia/pull/10513 r=me - One non-blocking suggestion left
Attachment #765914 - Flags: review?(gnarf37) → review+
Comment on attachment 765914 [details] [review] Github Pull Request https://github.com/mozilla-b2g/gaia/pull/10513 Hi Rick. I would like to ensure as well that the behaviour is the expected, because I have seen nothing related with 'touch' events in the could, and we should have it for handling this (currently all actions are based on 'click', and this is not the right behavior). Let me take a look and I will try to help with this ok? Thanks!
Attachment #765914 - Flags: review?(fbsc)
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Uplifted bebbeefa1ddf854b537c50f27a924e76dabc574d to: v1-train: ba334ceba63254e0576b05a217f910565e2bb850
Whiteboard: [LeoVB+]
v1.1.0hd: ba334ceba63254e0576b05a217f910565e2bb850
Flags: needinfo?(dietrich)
Issue Do not reorudeces on Leo Environmental Variables: Build ID: 20130805071207 Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/a2a9b89ef5ee Gaia: 45f6a739b09292e16717fb21003386c914ca29c2 Recipients container height is reset,so the form is started from the scratch
Attachment #765914 - Flags: review?(fbsc)
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: