Closed
Bug 873508
Opened 11 years ago
Closed 8 years ago
[Messages][Refactoring] Refactor ThreadUI message & header rendering methods
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: gnarf, Unassigned)
References
Details
This section of code in ThreadUI is quickly becoming unmaintainable. Multiple people have solved the same problems in different ways inside the code base, and this should really be abstracted out into a Message object that acts a bit like a map. The Message will need to be able to render SMS and MMS messages, place it correctly in the active DOM, and deal with placing it inside the proper headers lists.
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → gnarf37
Updated•11 years ago
|
blocking-b2g: --- → leo+
Whiteboard: [NO_UPLIFT]
Reporter | ||
Comment 1•11 years ago
|
||
leo- for now again, not using it for fixing 868218 - it got way uglier inside here than I thought it would
blocking-b2g: leo+ → ---
Reporter | ||
Updated•11 years ago
|
Whiteboard: [NO_UPLIFT]
Comment 2•11 years ago
|
||
I wonder if the existing Threads object is not already what we want here ?
Reporter | ||
Comment 3•11 years ago
|
||
I was modeling something VERY similar for Messages - I'll show it to ya one day soon. It can be dusted off and made to work, but it was more work than I wanted to try to fix a simpler bug, considering how crazy our render methods are right now.
Reporter | ||
Updated•11 years ago
|
Assignee: gnarf37 → nobody
Updated•10 years ago
|
Blocks: messaging-perf
Updated•10 years ago
|
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
Updated•10 years ago
|
Blocks: sms-refactoring
Summary: [SMS] Refactor ThreadUI message & header rendering methods → [Messages][Refactoring] Refactor ThreadUI message & header rendering methods
Comment 4•8 years ago
|
||
I think our rendering is somewhat better now (even if not perfect), let's continue improving it by more precise bugs.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•