Closed Bug 945096 Opened 11 years ago Closed 11 years ago

Re-implement locked call screen with canvas

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:1.3+, b2g-v1.3 fixed)

RESOLVED FIXED
1.3 C2/1.4 S2(17jan)
blocking-b2g 1.3+
Tracking Status
b2g-v1.3 --- fixed

People

(Reporter: timdream, Assigned: steveck)

References

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
etienne
: review+
gweng
: feedback+
Details | Review
+++ This bug was initially created as a clone of Bug #919410 +++

With bug 919410 lock screen unlock handle have been updated with a canvas implementation. We should updated the locked call screen too to avoid many issues we see in the previous implementation.

The canvas implementation is self-isolated in a LockScreenHandle class, which can be reused.

The current call screen is actually appear broken on hi-res phone too...

Blocking: this should block because the current implementation is visually broken, and even if that's fixed, there will still be some visual glitches (bug 919899, bug 920724, etc.) only fixable with the new implementation.

Joe, David, could you prioritize this work? Thanks.
Flags: needinfo?(jcheng)
Flags: needinfo?(dscravaglieri)
blocking-b2g: --- → 1.3?
this will be discussed in weekly comms triage
Flags: needinfo?(jcheng)
n? to rik & etienne. what would be your feedback regarding this bug ?
Flags: needinfo?(etienne)
Flags: needinfo?(dscravaglieri)
Flags: needinfo?(anthony)
Assignee: nobody → schung
Blocks: 948740
triage: not blocking release but let's have steve continue working on this during first couple sprints in 1.3 convergence and then ask for approval to uplift
blocking-b2g: 1.3? → -
Steve is working on this so clearing needinfos.
Flags: needinfo?(etienne)
Flags: needinfo?(anthony)
Blocks: 948523
Attached file Link to github
Hi Etienne, I removed the original swipe.js and apply the shared lockscreen slider module here. The html/css are still in the dialer because there is no proper place for them, but any feedback or suggestion for better framework is welcome :)
Hi Greg, I also made some changes and suggestion in slider module and system lockscreen, may need your feedback for these fixing.
Attachment #8348785 - Flags: review?(etienne)
Attachment #8348785 - Flags: feedback?(gweng)
Comment on attachment 8348785 [details] [review]
Link to github

Replied on GitHub.
Attachment #8348785 - Flags: feedback?(gweng) → feedback+
Comment on attachment 8348785 [details] [review]
Link to github

Comments on github.

The main one being the the re-organisation in call_screen.js and the tests to add.
Attachment #8348785 - Flags: review?(etienne)
Comment on attachment 8348785 [details] [review]
Link to github

Hi Etienne, I've put the module in proper place with some test cases, thanks!
Attachment #8348785 - Flags: review?(etienne)
triage: blocker for bug 948523. retriage to 1.3+
blocking-b2g: - → 1.3+
Target Milestone: --- → 1.3 C2/1.4 S2(17jan)
Comment on attachment 8348785 [details] [review]
Link to github

r=me with the unit test failure fixed

'incoming-locked screen init without layout set'
'incoming-locked screen init with layout set'

should be put in a sub-suite with something like:
```
      var oldHash;
      setup(function() {
        oldHash = window.location.hash;
        window.location.hash = '#locked';
      });

      teardown(function() {
        window.location.hash = oldHash;
      });

```
Attachment #8348785 - Flags: review?(etienne) → review+
Patch fixed and merged in master: 725c570d8c5b9528ed7ebce36c43e1ce776c9f21
Thanks for the review!
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Uplift to v1.3: ae7d05689b6b9ac4ec6182217dfdef06be28e886
Depends on: 956074
No longer depends on: 956074
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: