Closed
Bug 1221706
Opened 9 years ago
Closed 9 years ago
Create custom UITableViewCell class for displaying an optional logo, header and input field
Categories
(Firefox for iOS :: General, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
fxios | 2.0+ | --- |
People
(Reporter: sleroux, Assigned: sleroux)
References
Details
Attachments
(2 files)
Across the login management screens, we use a similarly structured cell for displaying login summaries, input fields, and titles. We need to create a custom subclass of UITableViewCell that will handle the various layouts needed in each case. Usages: 1. Login summary view (header + logo + text) 2. Input fields (header + text) 3. Login detail title (logo + text)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → sleroux
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•9 years ago
|
||
Do you have the font sizes/color/margins for this layout?
Flags: needinfo?(randersen)
Assignee | ||
Comment 2•9 years ago
|
||
Also, do you have a copy of the default firefox icon? I have a version in the app we use for the footer but downscaling it to fit makes it look grainy.
Assignee | ||
Comment 3•9 years ago
|
||
One more thing! I've started to use FBSnapshotTestCase for saving reference images so we can run tests on the layout without having to run the app. Also helps in reviewing UI changes :) https://github.com/mozilla/firefox-ios/commit/adb53406a59c6ce38c2155be8e0acdc5c7b45d88
Comment 4•9 years ago
|
||
(In reply to Stephan Leroux [:sleroux] from comment #1) > Do you have the font sizes/color/margins for this layout? Yes, I'll add the spec and the grey default fox logo. Great to hear about FBSnapshotTestCase!
Flags: needinfo?(randersen)
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8695398 -
Flags: review?(etoop)
Comment 6•9 years ago
|
||
Comment on attachment 8695398 [details] [review] Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/1336 Just one small nit switching the ref tests to `recordMode = false`.
Attachment #8695398 -
Flags: review?(etoop) → review+
Assignee | ||
Comment 7•9 years ago
|
||
Fixed nit with base class check for environment variable recording flag.
Assignee | ||
Comment 8•9 years ago
|
||
Merged Master 19c230d4c7d08ec2ea77f8f153a550f686cf87af
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•