Closed Bug 923438 Opened 13 years ago Closed 12 years ago

[Clock] Refactor button/input interaction

Categories

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

x86
macOS
defect
Not set
normal

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: nobody → brendan
Attached file Github pull request —
Attachment #813532 - Flags: review?(mike)
Attachment #813532 - Flags: review?(mike)
Unsetting review while I address feedback from rwaldron.
Attachment #813532 - Flags: review?(mike)
Attachment mime type: text/plain → text/x-github-pull-request
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)
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.
Thanks Mike. I have updated the css file in my pull request.
Attachment #813532 - Flags: review?(mike)
Comment on attachment 813532 [details] [review] Github pull request Great! I'll merge this post-haste
Attachment #813532 - Flags: review?(mike) → review+
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.

Attachment

General

Created:
Updated:
Size: