Closed
Bug 1016368
Opened 11 years ago
Closed 11 years ago
STK Dialogs new layout
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(tracking-b2g:backlog)
People
(Reporter: frsela, Assigned: frsela)
Details
Attachments
(6 files, 1 obsolete file)
From bug 1009254 UX team asked for a new layout for all STK dialogs (alerts, prompts, ...)
This bug is to track the new STK layout patch
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → frsela
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
Assignee | ||
Comment 5•11 years ago
|
||
Assignee | ||
Comment 6•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #8429276 -
Flags: feedback?(21)
Assignee | ||
Updated•11 years ago
|
status-b2g-v1.4:
--- → ?
status-b2g-v2.0:
--- → ?
Updated•11 years ago
|
status-b2g-v2.0:
? → ---
Comment 7•11 years ago
|
||
Comment on attachment 8429276 [details] [diff] [review]
ICC New layout
Review of attachment 8429276 [details] [diff] [review]:
-----------------------------------------------------------------
::: apps/system/js/icc.js
@@ +247,5 @@
> + viewId.style.height =
> + (window.innerHeight - keyboardHeight - StatusBar.height) + 'px';
> + }
> + viewId.style.height = window.innerHeight - StatusBar.height + 'px';
> + viewId.style.marginTop = StatusBar.height + 'px';
Maybe you can move the 2 lines here into the icc_keyboardChanged method, and just call that here instead of duplicating code.
@@ +250,5 @@
> + viewId.style.height = window.innerHeight - StatusBar.height + 'px';
> + viewId.style.marginTop = StatusBar.height + 'px';
> + window.addEventListener('keyboardchange', icc_keyboardChanged);
> + window.addEventListener('keyboardhide', icc_keyboardChanged);
> + },
You may also want to remove the event listeners when the view is closed. Otherwise this code will keeps firing even if the dialog is closed.
Attachment #8429276 -
Flags: feedback?(21) → feedback+
Updated•11 years ago
|
blocking-b2g: --- → 1.4?
status-b2g-v1.4:
? → ---
Updated•11 years ago
|
blocking-b2g: 1.4? → backlog
Comment 8•11 years ago
|
||
Feature request - so not blocking.
Assignee | ||
Comment 9•11 years ago
|
||
Your comments addressed. Also I added support for STK long descriptions (multiline).
Attachment #8429276 -
Attachment is obsolete: true
Attachment #8430665 -
Flags: review?(21)
Comment 10•11 years ago
|
||
Comment on attachment 8430665 [details] [review]
STK New layout patch
f+ instead of r+ as I would like to see a new version of the patch.
Attachment #8430665 -
Flags: review?(21) → feedback+
Assignee | ||
Comment 11•11 years ago
|
||
Comment on attachment 8430665 [details] [review]
STK New layout patch
Thank you Vivien,
A new version with your last comments addressed.
Attachment #8430665 -
Flags: review?(21)
Attachment #8430665 -
Flags: review?(21) → review+
Updated•11 years ago
|
Target Milestone: --- → 2.0 S4 (20june)
Assignee | ||
Comment 12•11 years ago
|
||
Nits fixed & rebased.
Landed: https://github.com/mozilla-b2g/gaia/commit/6bd9e4e2eab25176d97de9b9fd9cac2c9ea7feea
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
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
•