Closed
Bug 923438
Opened 13 years ago
Closed 12 years ago
[Clock] Refactor button/input interaction
Categories
(Firefox OS Graveyard :: Gaia::Clock, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bmac, Assigned: bmac)
Details
Attachments
(1 external file)
This bug represents some of the work done for https://bugzilla.mozilla.org/show_bug.cgi?id=917339 to create a FormButton object to abstract away some of the duplicated logic that couples a button element to an input element. This pattern is used in both the alarm edit screen and the timer screen.
The refactoring was removed from that patch to make it simpler and easier to apply to old versions of clock.
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → brendan
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #813532 -
Flags: review?(mike)
| Assignee | ||
Updated•13 years ago
|
Attachment #813532 -
Flags: review?(mike)
| Assignee | ||
Comment 2•13 years ago
|
||
Unsetting review while I address feedback from rwaldron.
| Assignee | ||
Updated•13 years ago
|
Attachment #813532 -
Flags: review?(mike)
Updated•13 years ago
|
Attachment mime type: text/plain → text/x-github-pull-request
Comment 3•13 years ago
|
||
Comment on attachment 813532 [details] [review]
Github pull request
Hey Brendan,
Since we just landed your patch for bug 920524, this one no longer applies cleanly. I attempted to resolve the conflicts myself, but the change was non-trivial, so I'd appreciate it if you could do it for me :P
Attachment #813532 -
Flags: review?(mike)
Comment 4•12 years ago
|
||
Almost there! I've left a comment on GitHub regarding that pesky special-case button on the Timer panel. The tests all pass, so once you resolve that, we can merge this! Just flag me for review when it's ready.
| Assignee | ||
Comment 5•12 years ago
|
||
Thanks Mike. I have updated the css file in my pull request.
| Assignee | ||
Updated•12 years ago
|
Attachment #813532 -
Flags: review?(mike)
Comment 6•12 years ago
|
||
Comment on attachment 813532 [details] [review]
Github pull request
Great! I'll merge this post-haste
Attachment #813532 -
Flags: review?(mike) → review+
Comment 7•12 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/2e51cfb2f020d060a53b82d3b043416b46dbc597
Nice work, Brendan! So very DRY
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
•