Closed
Bug 837994
Opened 12 years ago
Closed 11 years ago
[MMS][User Story] Multiple recipient messaging
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect, P1)
Tracking
(blocking-b2g:leo+, b2g18 fixed)
People
(Reporter: pdol, Assigned: rwaldron)
References
()
Details
(Keywords: feature, relnote, Whiteboard: relnote-b2g:1.1+)
Attachments
(11 files)
968.35 KB,
application/pdf
|
Details | |
45 bytes,
text/x-github-pull-request
|
borjasalguero
:
review+
|
Details | Review |
12.55 KB,
image/png
|
Details | |
24.39 KB,
image/png
|
Details | |
23.60 KB,
image/png
|
Details | |
23.91 KB,
image/png
|
Details | |
24.49 KB,
image/png
|
Details | |
11.37 KB,
image/png
|
Details | |
23.77 KB,
image/png
|
Details | |
23.89 KB,
image/png
|
Details | |
23.52 KB,
image/png
|
Details |
UCID: Messages-001
User Story:
As a user, when I am composing a new message or replying to a group message, I want be able to send to multiple recipients to make it easier to communicate with a group of individuals.
Updated•12 years ago
|
Summary: [B2G][SMS][User Story] Multiple recipient messaging → [SMS][User Story] Multiple recipient messaging
Comment 1•12 years ago
|
||
Here's the first draft. There are many concerns that some of us share (including me) which I will try to explain here. Looking for feedback. Thanks!
https://www.dropbox.com/s/koue1l7stvlr02f/sms-multiple-recipients.pdf
Tech concerns:
How does sending SMS to multiple people work? Is there any metadata that would help us to differentiate between an SMS send to just one person and another sent to multiple people?
Design concerns:
The approach taken here to show the members in a conversation might introduce new design patterns (I'm still looking into the possibility of following a similar flow using existing patterns.)
An alternative approach (not shown in specs) would be to use patterns similar to the mail app. Which means the members in a conversation would be listed in a 'To' field right under the title bar. That would however make it a little cumbersome to add or remove people which is not a frequently made operation in any single thread. (the design spec'ced takes this out of the way). The other concern with this approach is, when 4 people are in a conversation and they send 20 SMS each, it will be 80 SMS totally that you have to scroll through to go to the 'To' field and add/remove people.
Comment 2•12 years ago
|
||
(In reply to Arun Balachandran Ganesan [:abc] from comment #1)
> Tech concerns:
> How does sending SMS to multiple people work?
SMS is for one recipient only, exactly one. Sending SMS to multiple recipients is actually sending the same text message to them one by one.
> Is there any metadata that would help us to differentiate
> between an SMS send to just one person and another sent to
> multiple people?
That's not defined in the protocol, but should be doable in API implementation. Gecko isn't capable of this now.
Comment 3•12 years ago
|
||
(In reply to Vicamo Yang [:vicamo][:vyang] from comment #2)
> (In reply to Arun Balachandran Ganesan [:abc] from comment #1)
> > Is there any metadata that would help us to differentiate
> > between an SMS send to just one person and another sent to
> > multiple people?
>
> That's not defined in the protocol, but should be doable in API
> implementation. Gecko isn't capable of this now.
To be more clearer, when Gaia submits an outgoing request with multiple recipients to Gecko, Gecko could store all the information needed to stitch these outgoing messages. But, when any of the recipients replies, the replied message won't contain any multiple recipients info because SMS is for single recipient only. So we can't put the replied message into the same thread with the sent one.
Comment 4•12 years ago
|
||
> To be more clearer, when Gaia submits an outgoing request with multiple
> recipients to Gecko, Gecko could store all the information needed to stitch
> these outgoing messages. But, when any of the recipients replies, the
> replied message won't contain any multiple recipients info because SMS is
> for single recipient only. So we can't put the replied message into the same
> thread with the sent one.
Unless, the recipient also has a Firefox OS mobile?
Thanks, Vicamo.
Reporter | ||
Updated•12 years ago
|
Whiteboard: u=user c=sms s=v1.1-sprint-1 → u=user c=sms s=v1.1-sprint-2
Updated•12 years ago
|
Whiteboard: u=user c=sms s=v1.1-sprint-2 → u=aganesan@mozilla.com c=sms s=v1.1-sprint-2 p=2
Updated•12 years ago
|
Flags: needinfo?(vyang)
Comment 6•12 years ago
|
||
assign to vicamo first as he took a similar one in MMS
Assignee: nobody → vyang
Comment 7•12 years ago
|
||
(In reply to Arun Balachandran Ganesan [:abc] from comment #4)
> Unless, the recipient also has a Firefox OS mobile?
It's not about the implementation. It's the protocol doesn't support it.
Flags: needinfo?(vyang)
Comment 8•12 years ago
|
||
Okay. This is probably going to require some more thought.
What I have on mind right now is this:
When I send out a message to 50 people, I'm going to see that as a single message I sent with it's contents and list of receivers/contacts in one place. I can send another message to the same list of people if I want. I can also forward the message if I want to other people and that will be another new message.
If someone replies to my message, that will be shown as a new message on my list of messages. If technically possible, I should be able to see "to which message I got this reply" in the same thread as well.
Before I make the specs, I want to gather some feedback (I will continue to think about it as well). Thoughts?
Arun
Updated•12 years ago
|
Flags: needinfo?(vyang)
Comment 9•12 years ago
|
||
(In reply to Arun Balachandran Ganesan [:abc] from comment #8)
> Okay. This is probably going to require some more thought.
>
> What I have on mind right now is this:
>
> When I send out a message to 50 people, I'm going to see that
> as a single message I sent with it's contents and list of
> receivers/contacts in one place.
For SMS, the message is actually duplicated multiple times depending on the number of recipients you selected in Gaia. So, what's the definition of "a single message"? In current Gecko implementation, that means "one or multiple transactions of SMS protocol sent to the same single receiver within one DOM request." So actually "a single message" may be consisted of several SMS TPDUs and charged differently. That's why Cost Control app has to call getSegmentInfoForText() again to determine the number of actual segments to know the exact cost of that message.
But, judging from your description, "a single message" should be exactly one entry shown in UI, at least in thread list view[1]. That's only possible for outgoing SMS messages. For incoming SMS messages, I'll never know how many copies were sent. So the sender recognizes all recipients as CC, but they're actually BCC in email's language. Of course, they won't be able to "reply all", either.
> I can send another message to the same list of people if I
> want.
Can't do this with current Gecko, but possible in theory.
> I can also forward the message if I want to other people and
> that will be another new message.
Same here. Can't do this with current Gecko, but possible in theory.
> If someone replies to my message, that will be shown as a new
> message on my list of messages. If technically possible, I
> should be able to see "to which message I got this reply" in
> the same thread as well.
Unfortunately, it's not technically possible. We just can't tell the replying message from a new message of a different context from the same, single sender.
> Before I make the specs, I want to gather some feedback (I
> will continue to think about it as well). Thoughts?
Thank you. And I will keep you updated with technical details at my best.
[1]: In Android, there is only one item in thread list view, but multiple items in the conversation view. So they're able to recognize "multiple messages" sent to different recipients as the same thread.
Flags: needinfo?(vyang)
Comment 10•12 years ago
|
||
Clearing tracking-b2g18 flag from User Story bugs. This flag is for bugs that we would take fixes for in the 1.x branch. Feature work should be officially slotted into a release instead with leo+. If this story is intended for v1.1, please nominate for leo? blocking.
tracking-b2g18:
+ → ---
Comment 11•12 years ago
|
||
Thanks for the comments, Vicamo. I will post updated specs once they're ready.
Comment 12•12 years ago
|
||
Hi Peter - Although multiple recipient messaging has been deferred, I propose creating a separate bug to modify the current implementation of the "To" field to match Arun's spec (https://www.dropbox.com/s/koue1l7stvlr02f/sms-multiple-recipients.pdf).
The way it's set up currently, messaging has the "To" field in the header bar. Not only is this inconsistent from email, but, in its current implementation, it looks more like a search field than a a "To" field. So it's not just a pattern issue, but a potential usability issue as well.
How do you feel about creating a separate story for changing the layout of the "To" field and adding it to an upcoming release?
Flags: needinfo?(pdolanjski)
Reporter | ||
Comment 13•12 years ago
|
||
(In reply to Rob MacDonald [:robmac] from comment #12)
> How do you feel about creating a separate story for changing the layout of
> the "To" field and adding it to an upcoming release?
Rob, that makes sense to me. In this instance, I'd file it as a usability bug rather than a user story. We can then mark it with a tracking flag to be fixed when an individual has the cycles.
Flags: needinfo?(pdolanjski)
Comment 14•12 years ago
|
||
Wireframe release:
HTML5_SMS-MMSUserStorySpecifications_20130404_V4.0
**new wireframes**
- Multi-recipient : discard message dialogue
- Multi-recipient : phone number not in contant list
- Multi-recipient : phone number already in contant list
- Multi-recipient : email already in contant list
- Multi-recipient : multiple SMS packets
**updated wireframes**
b.2) Phone number long press options
- CTA ‘call’ email removed due to change in use case
g.2) Email long press options
- CTA ‘send email’ removed due to change in use case
Multi-recipient : new message
- annotation 06 (tid feedback)
- annotation 07, 08, 09 removed (architacture change)
- wireframe architecture updated
Multi-recipient : auto suggestions
- rule: ‘Selection of same result’ removed
- annotation 02 updated
Multi-recipient : Save / discard message dialogue
- annotation indicating that this is not a V1.1 requirement added
Multi-recipient : Message thread listing
- annotation 03 updated
Multi-recipient : group participants
- presentation switched from a layer to a screen
**deleted wireframes**
- none
**new flows**
- Received from a number in the contact list
**updated flows**
Received from a number not in the contact list
annotation updated
- 03
- 05
Add email address from message
updated wireframe: g.2) Email long press options
- CTA ‘send email’ removed due to change in the use case
annotation removed
- 03 - due to change in the use case
annotations renumbered due to removal of 03
annotation updated
- 04 (was anotation 05 prior to renumbering)
**deleted flows**
- none
Updated•12 years ago
|
Priority: P2 → P1
Summary: [SMS][User Story] Multiple recipient messaging → [MMS][User Story] Multiple recipient messaging
Updated•12 years ago
|
Assignee: fbsc → waldron.rick
Comment 16•12 years ago
|
||
Assignee changed to Rick, as Borja is away this week.
Comment 17•12 years ago
|
||
I understand this is a leo feature, so requesting leo here.
blocking-b2g: --- → leo?
Updated•12 years ago
|
blocking-b2g: leo? → leo+
Assignee | ||
Comment 18•12 years ago
|
||
Attachment #744849 -
Flags: review?(felash)
Comment 19•12 years ago
|
||
note to borja> I think I'll have time to review this one, but you can have an early look too, especially compared to your bug 861227
Comment 20•12 years ago
|
||
Comment on attachment 744849 [details] [review]
Fix for 837994
Stealing this review.
Attachment #744849 -
Flags: review?(fbsc)
Comment 21•12 years ago
|
||
Comment on attachment 744849 [details] [review]
Fix for 837994
taking back the review
first round of review done tonight
Attachment #744849 -
Flags: review?(fbsc)
Comment 22•12 years ago
|
||
Comment on attachment 744849 [details] [review]
Fix for 837994
Im gonna keep my review as well. This is a key point of the SMS/MMS App and due to I was discussing this functionality with UX & product I would like to verify that the functionality implemented it's the expected.
Attachment #744849 -
Flags: review?(fbsc)
Updated•12 years ago
|
Flags: in-moztrap?
Comment 23•12 years ago
|
||
Comment on attachment 744849 [details] [review]
Fix for 837994
There are a lot of pending work in this PR for fitting the requirements, so It's a good idea to work together during our work-week in Portland. Currently it's not ready for merging due to the issues found while testing https://github.com/mozilla-b2g/gaia/pull/9521#issuecomment-17457545 . See you on Monday!
Attachment #744849 -
Flags: review?(fbsc) → review-
Comment 24•12 years ago
|
||
Hi Jason, just saw you set the flag: in-moztrap? FYi, we are defining the test cases for this US, we are almost done, will share all the test cases when ready to be imported into moztrap
Comment 25•12 years ago
|
||
Comment on attachment 744849 [details] [review]
Fix for 837994
removing myself as I won't be able to review before next Monday.
I didn't review in depth the latest patch but it seemed overall quite good, so the only thing left is to test thoroughly and I'm sure borja will do this just fine !
Attachment #744849 -
Flags: review?(felash)
Comment 26•12 years ago
|
||
Comment 27•12 years ago
|
||
Updated•12 years ago
|
Attachment #747130 -
Attachment description: Issue 1 - 'z-index' mess without keyboard → Issue 1.1 - 'z-index' mess without keyboard
Comment 28•12 years ago
|
||
Comment 29•12 years ago
|
||
Comment 30•12 years ago
|
||
Comment 31•12 years ago
|
||
Comment 32•12 years ago
|
||
Comment 33•12 years ago
|
||
Comment 34•12 years ago
|
||
Comment 35•12 years ago
|
||
Comment on attachment 744849 [details] [review]
Fix for 837994
As we agreed, due to this code is risky, we are going to merge in a 'unstable' branch for moving forward. There are pending issues/regressions to be fixed, so we have to create a bug per each. Pending issues:
- Test 'related' with single recipient. We have to update all these tests (currently are only commented) or remove them if we have new ones for multi-recipients covering the same.
- Fix z-index of all layers in the composer. Currently are not working in several situations (Issue 1.1 & 1.2 attachments). Follow the behaviour explained in page 19 of WF (https://www.dropbox.com/s/mrtjwvzk6xgoc02/HTML5_SMS-MMSUserStorySpecifications_20130503_V8.0.pdf)
- Some 'editable' recipients are not working as expected. It's becoming 'editable' without changing the 'non-editable' style. (Issue 2 attachment)
- Live-search panel is not cleaned after searching a contact in previous steps. (Issue 3 attachment).
- Sending a SMS to 'n' recipients, generates 'n' messages in *only* one thread. For fixing this should be enough going back to 'thread-list' when multirecipient SMS only (because in the case of MMS we are going to use thread id) (Issue 4.1 & 4.2 attachments). This is one of the most important one to be fixed asap.
- Header is not updated properly (counter is not updated properly, check Issue 4.1 attachment).
- Recipient container is not working as expected. Instead of having a 'limit' of max-height, we should take all the available space (Issue 5.1 attachment). Furthermore, adding 'overflow: scroll' is creating a wrong overflow-x in the recipients-container (check Issue 5.2 attachment). As well we should avoid 'pull down' effect when having only one recipient (check Issue 5.3 attachment),
- When the 'recipients-container' is pulled down, if you focus in the input suddenly suddenly a blur event appears, and the cursor is again in the 'to' field.
This is R+ **only** for merging in the dev-branch. All these pending issues should be addressed for considering this US done.
Attachment #744849 -
Flags: review- → review+
Comment 36•12 years ago
|
||
Additional info for Issue 2 attachment:
- Type 'b' in recipient
- Click 'enter'
- Tap on it for editing it
- Tap again on it
EXPECTED: Nothing happens because you're in edit mode
CURRENTLY: We change the style to 'non-editable', and the cursor/caret goes to the first position.
Comment 37•12 years ago
|
||
regarding the z-index portion, i'm going to make that into a separate bug (unless Rick decides to fix it) as this looks like it was introduced in the new layout stuff (#860680/#865411) and isn't related to this patch.
The Sending to 'n' recipients is pending UX approval, so i'll make a new bug for that with pending status on what to do.
I'll also make a new bug for the header not updating properly.
I think the other things will most likely be addressed by Rick as a followup.
Updated•12 years ago
|
Whiteboard: [NO_UPLIFT]
Comment 39•12 years ago
|
||
I've seen almost the majority of things fixed (thanks!) . 3 small pending issues:
- https://github.com/mozilla-b2g/gaia/pull/9521#issuecomment-17643784
- When editing a recipient when the recipients-container is pulled-down, we have to go back to 'one-line' layout
- Create a recipient (One message is shown in the header). Tap for editing it. EXPECTED: 'New message' string. CURRENTLY: '0 messages'.
Assignee | ||
Comment 40•12 years ago
|
||
All of the above has been addressed
https://github.com/mozilla-b2g/gaia/pull/9521/commits
Updated•12 years ago
|
Whiteboard: [NO_UPLIFT] → [NO_UPLIFT] landed on dev-branch
Comment 41•11 years ago
|
||
could you put the commit url of the commit please ?
Whiteboard: [NO_UPLIFT] landed on dev-branch → [NO_UPLIFT][landed on dev-branch]
Comment 42•11 years ago
|
||
Can we marked this resolved if all issues are addressed? What else are we waiting on here? Thanks.
Comment 43•11 years ago
|
||
Chris, this was not landed on gaia master but only on bocoup's dev branch (as most other MMS bugs). We'll mark as resolved when we'll land on gaia master.
Updated•11 years ago
|
Whiteboard: [NO_UPLIFT][landed on dev-branch] → [NO_UPLIFT]
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 45•11 years ago
|
||
Flags: needinfo?(gnarf37)
Updated•11 years ago
|
Whiteboard: [NO_UPLIFT]
Flags: in-moztrap? → in-moztrap+
Updated•11 years ago
|
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.
Description
•