Closed
Bug 1109801
Opened 10 years ago
Closed 8 years ago
[Messages] 2 "recipientChanged" events are generated when we add a recipient using the suggestion list
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: julienw, Unassigned)
References
Details
(Whiteboard: [sms-papercuts])
STR:
0. have at least one contact
1. open new message panel
2. enter the first letter of content, then enter
=> in [1] we call both add and remove; as a result "recipientsChanged" [2] is called twice in a row, which is avoidable work.
[1] https://github.com/mozilla-b2g/gaia/blob/e04ab7651b1e0c67516e1cef7aa4bc6072529885/apps/sms/js/thread_ui.js#L2523-L2529
[2] https://github.com/mozilla-b2g/gaia/blob/e04ab7651b1e0c67516e1cef7aa4bc6072529885/apps/sms/js/thread_ui.js#L319
Reporter | ||
Updated•10 years ago
|
Blocks: sms-refactoring
Comment 1•10 years ago
|
||
I see that on the latest master it's called 4 times if recipient is assimilated by Enter key or 2 times if is assimilated by tapping on contact suggestion, ugh.
Reporter | ||
Comment 2•8 years ago
|
||
Mass closing of Gaia::SMS bugs. End of an era :(
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Reporter | ||
Comment 3•8 years ago
|
||
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.
Description
•