Closed Bug 1053922 Opened 10 years ago Closed 7 years ago

[Dialer][Call Screen][Emergency call] keypad.js library refactoring

Categories

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

x86
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gtorodelvalle, Unassigned)

References

Details

Currently, there are 3 main scenarios where the keypad is involved: 1. The Dialer app main page. 2. The Emergency Call app main page. 3. The Call Screen app ongoing call page when the keypad is expanded. Right now, the sharing of the code is not as efficient as it should be. In fact, there are cases such as the Emergency Call app which does not use the shared keypad.js library at all when it should. This obviously complicates the evolution and correct synchronisation of the involved apps. The purpose of this bug is to keep in the shared folder all the keypad code which is susceptible of being reused by the involved apps (and of course use it from them) and to move to each app the keypad management code which may be particular of them. For example, in the Dialer app there is a button on the main page to add the typed phone number to a contact whereas in the Emergency Call app that button is used to "Cancel" and close the app.
Depends on: 1052370
Blocks: dialer-keypad
No longer blocks: dialer-most-wanted
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.