Closed
Bug 1015841
Opened 11 years ago
Closed 10 years ago
[Messages][Refresh] Recipients panel visible area handling
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(feature-b2g:2.1, tracking-b2g:backlog)
People
(Reporter: julienw, Assigned: azasypkin)
References
(Depends on 1 open bug)
Details
(Whiteboard: [p=2])
Attachments
(1 file)
In Bug 963018, we refreshed the recipients panel without changing how the recipients panel works.
However, if the panel takes only one line, it should take less visible space than what has been done in bug 963018.
See spec: attachment 8394786 [details] and attachment 8394787 [details]
In this bug, we'll see if this is possible to do it in CSS only, and if not, we'll either abandon this requirement or implement a efficient-enough JS-based solution.
Reporter | ||
Updated•11 years ago
|
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•10 years ago
|
Blocks: sms-refresh-v2.1
Reporter | ||
Updated•10 years ago
|
Assignee | ||
Comment 1•10 years ago
|
||
Will take it to provide JS solution
Assignee: nobody → azasypkin
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•10 years ago
|
||
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8464157 [details]
GitHub branch URL (JS solution)
Hey Julien,
Here is WIP with JS solution, it would be great to get your feedback\suggestions as early as possible before any further improvements\investigations of this approach.
Thanks!
Attachment #8464157 -
Flags: feedback?(felash)
Reporter | ||
Comment 4•10 years ago
|
||
Comment on attachment 8464157 [details]
GitHub branch URL (JS solution)
feedback+ but I think we need to have something when the user is typing and moving from one line to 2 lines (before assimilating the recipient).
Attachment #8464157 -
Flags: feedback?(felash) → feedback+
Assignee | ||
Comment 5•10 years ago
|
||
(In reply to Julien Wajsberg [:julienw] from comment #4)
> Comment on attachment 8464157 [details]
> GitHub branch URL (JS solution, WIP)
>
> feedback+ but I think we need to have something when the user is typing and
> moving from one line to 2 lines (before assimilating the recipient).
Thanks for feedback! ni? so that you can try it on device once you have some time.
Thanks!
Flags: needinfo?(felash)
Reporter | ||
Comment 6•10 years ago
|
||
Yep, this works fine, and my comment 4 seems to be already working fine !
Flags: needinfo?(felash)
Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8464157 [details]
GitHub branch URL (JS solution)
Hey Julien, I think it's ready for the first round of review :)
Could you please take a look (I've left a few question at github)?
Not related to this bug, but just curious: while measuring performance\reflows\repaints, I've noticed that "To:" label is always repainted on user input, but if "To:" is wrapped in additional block element it's not repainted anymore, do you know what happens here?
Thanks!
Attachment #8464157 -
Flags: review?(felash)
Reporter | ||
Comment 8•10 years ago
|
||
Comment on attachment 8464157 [details]
GitHub branch URL (JS solution)
I don't see any outstanding performance issue.
Some simple comments and I think we're good after this!
Attachment #8464157 -
Flags: review?(felash)
Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8464157 [details]
GitHub branch URL (JS solution)
Fixed your suggestions, please take a look again.
Thanks!
Attachment #8464157 -
Attachment description: GitHub branch URL (JS solution, WIP) → GitHub branch URL (JS solution)
Attachment #8464157 -
Flags: review?(felash)
Reporter | ||
Comment 10•10 years ago
|
||
Comment on attachment 8464157 [details]
GitHub branch URL (JS solution)
Still one nit about the unit test: I'd prefer that we don't use "emit" from mock_recipients because it uses some custom code from the mock. I'd prefer that we use sinon's yield function with a stub so that we exercize the tested code directly.
(I admit that sinon's yield is probably more complex than the mock code, but it's common and unit tested ;) ).
Attachment #8464157 -
Flags: review?(felash)
Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8464157 [details]
GitHub branch URL (JS solution)
Thanks! Using "sinon.yield" instead of "emit" now.
Attachment #8464157 -
Flags: review?(felash)
Reporter | ||
Comment 12•10 years ago
|
||
Comment on attachment 8464157 [details]
GitHub branch URL (JS solution)
r=me
Please wait for a full Try run before merging :)
Attachment #8464157 -
Flags: review?(felash) → review+
Assignee | ||
Comment 13•10 years ago
|
||
(In reply to Julien Wajsberg [:julienw] from comment #12)
> Comment on attachment 8464157 [details]
> GitHub branch URL (JS solution)
>
> r=me
>
> Please wait for a full Try run before merging :)
Thanks for review! Try is green now :)
Master: https://github.com/mozilla-b2g/gaia/commit/ee3cba1c44b37e81c2ec1e79c240a1522c9ca11f
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
blocking-b2g: --- → backlog
feature-b2g: --- → 2.1
Updated•10 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
You need to log in
before you can comment on or make changes to this bug.
Description
•