[SMS]Behaviour diiferent

RESOLVED WONTFIX

Status

Firefox OS
Gaia::SMS
RESOLVED WONTFIX
4 years ago
a year ago

People

(Reporter: ankit93040, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [g+][LibGLA,TD92485,QE1, B] )

(Reporter)

Description

4 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36

Steps to reproduce:

1. Go to message->new Message
2. Type a number
3. Switch to message placeholder
4. Press back button, it asks for draft option. Press cancel.
5. Press Home button.
6. Switch to message again.
7. Press back key



Actual results:

It doesn't ask for draft option


Expected results:

It should ask again ask for draft option again
(Reporter)

Updated

4 years ago
Component: General → Gaia::SMS
Whiteboard: [g+][LibGLA,TD92485,QE1, B]
(Reporter)

Updated

4 years ago
Flags: needinfo?(schung)
(Reporter)

Comment 1

4 years ago
Actually, whenever the message app, visibility changes the message is already saved as draft.

So, is there a way to tell the user that it is already saved?

Something like system toast if we have?
The case here is when we move the app to background, it will save to draft automatically to prevent data loss like OOM kill. So if you move message app to foreground and back without any change, we will know draft already saved without further changes. No prompt will display at this moment. Hi Jenny, do you think is there any changes we can make to improve the UX?

Updated

4 years ago
Flags: needinfo?(schung) → needinfo?(jelee)
(Reporter)

Comment 3

4 years ago
I think we can show a toast message whenever the message app goes in background, something like saved as draft & the thread list view is shown (instead of thread view).

Comment 4

4 years ago
Hi, I think showing toast whenever the message app goes in background is a bit too much. When user taps on home/use edge gesture to leave the composing window, it probably indicates there's something more pressing to do than messaging at the moment, so I prefer we handle things quietly in the background so that there's distraction free. Let's keep the current behavior for now. Thanks!
Flags: needinfo?(jelee)
(Reporter)

Comment 5

4 years ago
Hi Jenny

If a toast is much, then I think whenever message app goes in background we should come back to thread list view.

your suggestion required.

Thanks
(Reporter)

Updated

4 years ago
Flags: needinfo?(jelee)

Comment 6

4 years ago
Hello, Steve and I are discussing the possibility of always auto save draft and not show the action menu at all, in that case, toast is required. Once this is settled I will create a spec for the change, current behavior will remain as it is till then. Thanks!
Flags: needinfo?(jelee)
(In reply to ankit93040 from comment #5)
> Hi Jenny
> 
> If a toast is much, then I think whenever message app goes in background we
> should come back to thread list view.

I disagree with this. When we press home and then open message app again, we should have the same state.

However, I'm completely in favor of removing the action menu when saving drafts. :D
But then I think we need something to discard it easily when we recall it. Or display an in-app banner that has a "discard" or "undo" button when we autosave (if the window is hidden, we'd keep it displayed until the window is opened again).
Mass closing of Gaia::SMS bugs. End of an era :(
Status: UNCONFIRMED → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
Mass closing of Gaia::SMS bugs. End of an era :(
You need to log in before you can comment on or make changes to this bug.