Closed
Bug 807904
Opened 12 years ago
Closed 12 years ago
[system app] modal dialog supports given title and text as dialog content.
Categories
(Firefox OS Graveyard :: Gaia::System, defect, P1)
Tracking
(blocking-basecamp:+)
People
(Reporter: jj.evelyn, Assigned: alive)
References
Details
(Keywords: feature)
Attachments
(1 file)
For SIM PIN unlock pop up dialog UI (see http://people.mozilla.com/~lco/Settings_B2G/Release_1_Specs/R1_Security_and_Privacy_v3.pdf page 18), we need modal dialog to support title and text as its parameters, so we can layout content like UX specified.
Reporter | ||
Updated•12 years ago
|
blocking-basecamp: --- → ?
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → alive
Comment 1•12 years ago
|
||
Can you clarify? Current dialogue implementation already allows defining title and body strings.
Updated•12 years ago
|
Flags: needinfo?(ehung)
Updated•12 years ago
|
blocking-basecamp: ? → -
Reporter | ||
Comment 2•12 years ago
|
||
According to Alive's implementation in System app, modal dialog only allows a string as its content body, like window.confirm dialog. Because this probably will block bug 804966 if we still need this dialog prompts before trigger SIM PIN unlock process, this bug should be bb+.
Reporter | ||
Updated•12 years ago
|
Flags: needinfo?(alive)
Assignee | ||
Comment 3•12 years ago
|
||
I think Josh is talking about Custom Dialog, which is used at update manager.
Flags: needinfo?(alive)
Assignee | ||
Comment 4•12 years ago
|
||
ochameau, would you like to use modal dialog in system app or custom dialog in building block?
Flags: needinfo?(poirot.alex)
Comment 5•12 years ago
|
||
I just jumped into this feature today and it isn't really clear what should I do. So far, I'd say I'll need to implement a new dedicated dialog for SIM PIN. Something like what has been done for HTTP authentification: https://github.com/mozilla-b2g/gaia/blob/master/apps/system/index.html#L367-388 Such way of doing would not require anything special to be done. Having said that, I'm only taking care of bug 804966 right now (webactivity removal). Evelyn pointed out http://people.mozilla.com/~lco/Settings_B2G/Release_1_Specs/R1_Security_and_Privacy_v3.pdf page 18, where there is some new UI to be added. These additions may require such new Dialogs tweaks? In order to unblock bug 794407 and remove the WebActivity ASAP, I'm not planning to do that in bug 804966, but in an eventual followup if we consider a UI/UX change is bb+.
Flags: needinfo?(poirot.alex) needinfo?(poirot.alex) → needinfo+
Updated•12 years ago
|
blocking-basecamp: ? → +
Priority: -- → P1
Assignee | ||
Comment 6•12 years ago
|
||
Attachment #680246 -
Flags: review?(timdream+bugs)
Comment 7•12 years ago
|
||
Comment on attachment 680246 [details]
PR 6335
r=me. Please test it and merge it yourself, Thanks!
Attachment #680246 -
Flags: review?(timdream+bugs) → review+
Updated•12 years ago
|
Component: Gaia → Gaia::System
Assignee | ||
Comment 8•12 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/2eab4d98c642902c4484f23efa93f77036accc60 Tested with SIM PIN prompt.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•