Closed
Bug 1079706
Opened 10 years ago
Closed 10 years ago
[LockScreen] Encapsulate passcode pad as a standalone component (with LockScreenInputWindow)
Categories
(Firefox OS Graveyard :: Gaia::System::Lockscreen, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gweng, Assigned: gweng)
References
Details
Attachments
(1 file)
Current LockScreenWindowManager and the old LockScreen manage the passpad directly. This increase the complication between sub-component and its parent. But things may not go well if we encapsulate it as a non-frame component and later we need to change it to use the real keyboard. So I prefer to make a LockScreenInputWindow that implement the interface of the near future InputWindow, so we can invoke real keyboard instead of the keypad and thus complete the encapsulation, while in the future we don't need to rewrite the whole keypad logic again, but replace the implementation of LockScreenInputWindow to inherit the real InputWindow.
Assignee | ||
Comment 1•10 years ago
|
||
After we implement the LockScreenInputWindow, we can evolute this with 3 steps:
1. LockScreenInputWindow + current keypad, not the real keyboard yet
2. LockScreenInputWindow + custom keyboard iframe, but not follow the real InputWindow flow
3. LockScreenInputWindow inherit the real InputWindow
Assignee: nobody → gweng
Assignee | ||
Comment 2•10 years ago
|
||
The major risks: integration and Gaia UI tests.
Assignee | ||
Comment 3•10 years ago
|
||
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8503874 [details]
Patch
Set feedback since the patch now works. Left: tests and possible architecture issues.
Attachment #8503874 -
Flags: feedback?(alive)
Updated•10 years ago
|
Attachment #8503874 -
Flags: feedback?(alive) → feedback+
Assignee | ||
Updated•10 years ago
|
Attachment #8503874 -
Flags: review?(alive)
Assignee | ||
Comment 5•10 years ago
|
||
Update the patch with what you commented. So I set the review.
Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8503874 [details]
Patch
>https://github.com/mozilla-b2g/gaia/pull/24957
Attachment #8503874 -
Attachment description: WIP Patch → Patch
Comment 7•10 years ago
|
||
Comment on attachment 8503874 [details]
Patch
r=me
Attachment #8503874 -
Flags: review?(alive) → review+
Assignee | ||
Comment 8•10 years ago
|
||
Gaia-Try is green:
https://treeherder.mozilla.org/ui/#/jobs?repo=gaia-try&revision=9f209ebe8e7a
So I would land this patch. Hope In-Bound would keep good, too.
Assignee | ||
Comment 9•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•