Closed
Bug 876803
Opened 12 years ago
Closed 12 years ago
Thread List UI: Select some threads and press delete
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(blocking-b2g:leo+, b2g18 fixed)
People
(Reporter: dietrich, Assigned: gnarf)
References
()
Details
(Keywords: regression, Whiteboard: [uplift-blocker])
Attachments
(2 files, 2 obsolete files)
|
17.97 KB,
patch
|
steveck
:
review+
|
Details | Diff | Splinter Review |
|
1.34 KB,
patch
|
borjasalguero
:
review+
|
Details | Diff | Splinter Review |
STR
1- Access to SMS app
2- Press edit button
3- Select multiple conversations
Expected Result: The Selected conversations are deleted successfull
gets stuck at deleteing.... screen
does that work for individual messages ? messages yes, threads no
E/GeckoConsole( 862): [JavaScript Error: "threadRecord is undefined" {file: "jar:file:///system/b2g/omni.ja!/components/MobileMessageDatabaseService.js" line: 2193}] looks like a gecko problem ? or maybe we give wrong informations... but imho gecko should never fail like that either - agree
| Reporter | ||
Comment 1•12 years ago
|
||
Regression from mms code, will fix post-merge.
blocking-b2g: --- → leo+
Keywords: regression
| Reporter | ||
Updated•12 years ago
|
Whiteboard: [uplift-blocker]
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → gnarf37
| Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Dietrich Ayala (:dietrich) from comment #1)
> Regression from mms code, will fix post-merge.
I commented on the wrong bug. This one cannot be fixed post-merge, must be fixed before merge occurs.
Corey's got a patch in progress now.
| Assignee | ||
Comment 3•12 years ago
|
||
The old logic wasn't properly keeping track of variables for delete thread.
Also, we shouldn't hide the WaitingScreen or require a re-render from MessageManager if we fix ThreadListUI.removeThread
Attachment #755067 -
Flags: review?(felash)
Attachment #755067 -
Flags: review?(fbsc)
| Assignee | ||
Comment 4•12 years ago
|
||
fixed a bug in header removal
Attachment #755067 -
Attachment is obsolete: true
Attachment #755067 -
Flags: review?(felash)
Attachment #755067 -
Flags: review?(fbsc)
Attachment #755081 -
Flags: review?(schung)
Attachment #755081 -
Flags: review?(felash)
Attachment #755081 -
Flags: review?(fbsc)
| Assignee | ||
Comment 5•12 years ago
|
||
I'm going to ammend one more line into the FixedHeader.refresh() - I assumed this method would also update headers, but it doesn't - https://gist.github.com/gnarf37/7082a4befe0f7f68ebd4
Comment 6•12 years ago
|
||
Comment on attachment 755081 [details] [diff] [review]
patch v2
Review of attachment 755081 [details] [diff] [review]:
-----------------------------------------------------------------
::: apps/sms/js/message_manager.js
@@ +240,5 @@
> //Keep the visible button the :last-child
> var editButton = document.getElementById('icon-edit');
> editButton.parentNode.appendChild(editButton);
> if (mainWrapper.classList.contains('edit')) {
> mainWrapper.classList.remove('edit');
I think it's find to remove the re-render here, but we have to update the thread view status(edit button and no message background) after edit.
::: apps/sms/js/thread_list_ui.js
@@ +181,5 @@
> var li = document.getElementById('thread-' + threadId);
> + var parent = li.parentNode;
> + parent.removeChild(li);
> +
> + // remove the header and the ul for a now empty list
"new" empty list?
| Assignee | ||
Comment 7•12 years ago
|
||
Attachment #755081 -
Attachment is obsolete: true
Attachment #755081 -
Flags: review?(schung)
Attachment #755081 -
Flags: review?(felash)
Attachment #755081 -
Flags: review?(fbsc)
Attachment #755164 -
Flags: review?(schung)
Comment 8•12 years ago
|
||
Comment on attachment 755164 [details] [diff] [review]
patch v3
Thanks for the update. r=me with the small typo fixing.
Attachment #755164 -
Flags: review?(schung) → review+
| Assignee | ||
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
v1-train: 4694e3b
Comment 11•12 years ago
|
||
Corey, this broke the linter.
Please fix it today (on both branches).
Comment 12•12 years ago
|
||
linter fix
see also PR https://github.com/mozilla-b2g/gaia/pull/10071
Attachment #755291 -
Flags: review?(fbsc)
Updated•12 years ago
|
Attachment #755291 -
Flags: review?(fbsc) → review+
Comment 13•12 years ago
|
||
master: cc4b103ab2ffe3dc65602bd12dcfb4952f1d4602
v1-train: 8f5ab7bfd4a2921aab4e2de11e0d79a29c1bb062
Updated•12 years ago
|
Flags: in-moztrap?
Updated•12 years ago
|
Flags: in-moztrap? → in-moztrap+
Updated•12 years ago
|
QA Contact: croesch
You need to log in
before you can comment on or make changes to this bug.
Description
•