Closed Bug 1067228 Opened 10 years ago Closed 10 years ago

[Messages][Refactoring] Move subject management to a separate component

Categories

(Firefox OS Graveyard :: Gaia::SMS, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.1 S5 (26sep)

People

(Reporter: azasypkin, Assigned: azasypkin)

References

Details

(Whiteboard: [p=2])

Attachments

(1 file)

In the scope of this bug we need to remove direct Thread UI -> Subject DOM dependencies and move subject specific code to separate (web)component. It should simplify solution for bug 1040144.
Assignee: nobody → azasypkin
Status: NEW → ASSIGNED
Whiteboard: [p=2]
Target Milestone: --- → 2.1 S5 (26sep)
Depends on: 1061215
Depends on: 1070890
Hey Julien, This patch is almost ready, I just have one issue that I mentioned on GitHub, but it would be really helpful to get your early feedback. Thanks!
Attachment #8494414 - Flags: feedback?(felash)
Comment on attachment 8494414 [details] [review] GitHub pull request URL mostly good stuff, with some cleanup along the way. Added comments to github, we can discuss about it on IRC :)
Attachment #8494414 - Flags: feedback?(felash) → feedback+
Hey Jenny, We have question for you :) When user edits message subject and subject length reaches some max value (currently 40 symbols) we notify user with "banner" about that. This banner is automatically removed after _2s_ or immediately if user removes the subject. But currently we have one more case when this banner is removed immediately - when subject looses focus. Do you think the last case makes sense even that banner will be removed after 2s anyway? We're asking about that because supporting this case requires some nasty code that we'd like to remove :) Thanks!
Flags: needinfo?(jelee)
Hello Oleg, I think it's ok to not remove the banner immediately when subject field loses focus. Go ahead and remove the code :D
Flags: needinfo?(jelee)
(In reply to Jenny Lee from comment #4) > Hello Oleg, > > I think it's ok to not remove the banner immediately when subject field > loses focus. Go ahead and remove the code :D Great, thanks!
Comment on attachment 8494414 [details] [review] GitHub pull request URL Hey Julien, I've updated PR with comments you suggested on IRC. Could you please take a look? Thanks!
Attachment #8494414 - Flags: review?(felash)
Comment on attachment 8494414 [details] [review] GitHub pull request URL r=me with the nits we discussed on IRC (no multiline ternary operator, don't use classList.toggle if we have a nearby if-block with the same condition) thanks for the great work !
Attachment #8494414 - Flags: review?(felash) → review+
(In reply to Julien Wajsberg [:julienw] from comment #7) > Comment on attachment 8494414 [details] [review] > GitHub pull request URL > > r=me with the nits we discussed on IRC (no multiline ternary operator, don't > use classList.toggle if we have a nearby if-block with the same condition) > > thanks for the great work ! Thanks for review! Nits fixed and Try is green :) Master: https://github.com/mozilla-b2g/gaia/commit/097d453f77594a752dccfeb07ad05e775fbf7be3
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Depends on: 1206678
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: