Closed
Bug 947211
Opened 11 years ago
Closed 11 years ago
[Messages][Drafts] Thread message/draft status (preview, styling and icon) is not accurate for various cases
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: julienw, Assigned: rwaldron)
References
Details
Attachments
(1 file)
This STR is based on the current branch https://github.com/rwaldron/gaia/tree/v1.3-drafts
STR:
1. open an existing thread for a recipient A from where you can send a message
2. write some text
3. press back
4. Save draft
5. send a message to the device from A (different text than the draft's text)
6. wait that the message arrives
Expected:
* The thread is displayed with the unread mark and the sms content is displayed
Actual:
* The thread is displayed with the unread mark and the draft content is displayed
I'm not sure but I may have seen the expected behavior once, so there might be a race too.
The same STR should work with the additional steps too:
7. kill the Messages app with the card switcher
8. start the Messages app again
=> same expectations and results
Updated•11 years ago
|
Summary: [messages][drafts] The draft content is always displayed in the threadlist even if a more recent message has been received → [Messages][Drafts] The draft content is always displayed in the threadlist even if a more recent message has been received
Comment 1•11 years ago
|
||
Another way to get the wrong thread preview/status
STR:
1. Go to existing thread
2. Draft a message: 'AAA'
3. Click back. Choose 'Save as Draft'
4. Go back to thread
5. Delete draft text
6. Type a new message: 'BBB'
7. Click send
8. 'BBB' message is sent, composer clears
9. Click back
Expected:
- Thread shows latest message preview. No draft icon.
Actual:
- Thread shows 'AAA' draft message preview. Draft icon is still there
Updated•11 years ago
|
Summary: [Messages][Drafts] The draft content is always displayed in the threadlist even if a more recent message has been received → [Messages][Drafts] Thread message/draft status (preview, styling and icon) is not accurate for various cases
Comment 3•11 years ago
|
||
STR:
1. Send an SMS to recipient A
2. Go back to thread list, should see black, non-italic text, no draft icon
3. Go back to thread
4. Draft a new message
5. Click back. Click 'Save as Draft'
Expected:
Thread styling is for a draft: gray, italic, draft icon
Actual:
Thread styling is hybrid: black, non-italic, draft icon
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → waldron.rick
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #8348200 -
Flags: review?(felash)
Attachment #8348200 -
Flags: feedback?(evelyn)
Updated•11 years ago
|
Attachment #8348200 -
Flags: feedback?(evelyn) → feedback+
Comment 6•11 years ago
|
||
Comment on attachment 8348200 [details] [review]
https://github.com/rwaldron/gaia/pull/7
Backing out the feedback+
Found a regression:
STR
1) start new message to recipient '333'
2) click back. 'save as draft'
3) two new messages to '333' appear, instead of one draft message to '333'
Attachment #8348200 -
Flags: feedback+ → feedback-
Assignee | ||
Comment 7•11 years ago
|
||
(In reply to Evelyn Eastmond [:evhan55] from comment #6)
> Comment on attachment 8348200 [details] [review]
> https://github.com/rwaldron/gaia/pull/7
>
> Backing out the feedback+
>
> Found a regression:
>
> STR
> 1) start new message to recipient '333'
> 2) click back. 'save as draft'
> 3) two new messages to '333' appear, instead of one draft message to '333'
Addressed in last push
Comment 8•11 years ago
|
||
(In reply to Rick Waldron [:rwaldron] from comment #7)
>
> Addressed in last push
Thank you for catching that.
Updated•11 years ago
|
Attachment #8348200 -
Flags: feedback- → feedback+
Reporter | ||
Comment 9•11 years ago
|
||
Comment on attachment 8348200 [details] [review]
https://github.com/rwaldron/gaia/pull/7
Looks fine but has a few bugs to iron out before r+ :)
Attachment #8348200 -
Flags: review?(felash)
Assignee | ||
Comment 10•11 years ago
|
||
(In reply to Julien Wajsberg [:julienw] from comment #9)
> Comment on attachment 8348200 [details] [review]
> https://github.com/rwaldron/gaia/pull/7
>
> Looks fine but has a few bugs to iron out before r+ :)
All comments addressed, rebased onto v1.3-drafts (which has been rebased onto master)
Assignee | ||
Updated•11 years ago
|
Attachment #8348200 -
Flags: review?(felash)
Reporter | ||
Comment 11•11 years ago
|
||
Comment on attachment 8348200 [details] [review]
https://github.com/rwaldron/gaia/pull/7
r=me !
let's land this :)
Attachment #8348200 -
Flags: review?(felash) → review+
Assignee | ||
Comment 12•11 years ago
|
||
Landed on v1.3-drafts https://github.com/rwaldron/gaia/commit/0ed474e81608d3b7806652a35d91d79df1e96baa
Assignee | ||
Comment 13•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•