New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor FXIOS-8970 [Fonts] LoginDetail to use FXFontStyles #19814
base: main
Are you sure you want to change the base?
Refactor FXIOS-8970 [Fonts] LoginDetail to use FXFontStyles #19814
Conversation
firefox-ios/Client/Frontend/PasswordManagement/Cells/LoginDetailTableViewCell.swift
Outdated
Show resolved
Hide resolved
Looks like you've got a Swiftlint failure. :( |
descriptionLabel.font = DefaultDynamicFontHelper.preferredFont(withTextStyle: .body, | ||
size: 16, | ||
symbolicTraits: [.traitMonoSpace]) | ||
descriptionLabel.font = FXFontStyles.Regular.body.monospacedFont() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as per @cwzilla's suggestion, lets update this to use subheadline
@@ -62,8 +60,7 @@ class LoginDetailTableViewCell: UITableViewCell, | |||
|
|||
lazy var descriptionLabel: UITextField = .build { [weak self] label in | |||
guard let self = self else { return } | |||
|
|||
label.font = DefaultDynamicFontHelper.preferredFont(withTextStyle: .body, size: UX.descriptionFontSize) | |||
label.font = FXFontStyles.Regular.body.scaledFont() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as per @cwzilla's suggestion, lets update this to use subheadline
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @NeoKolian, the updates look great! a couple of changes request due to design reviewing and would like to adjust the font size.
Thank you, now it's done |
Client.app: Coverage: 31.28
Generated by 🚫 Danger Swift against a0037e5 |
Hello @cyndichin! Please check if all requirements are done |
Bitrise is red because there is a UI test failing 3 out of 3: testCreateLoginManually() this test may require some changes after this PR so that it is green. Please let us know if you need help |
@NeoKolian thank you! could you provide the updated screenshots for @cwzilla to verify? Also, in terms of the test errors, can you rebase this branch so its up to date with main? @isabelrios these tests seem to be failing locally for me in main as well. It seems these tests are also failing in the artifacts but passes on the check in bitrise for some reason. |
Hi @cyndichin, the new mono font looks good! However, is it possible to make some changes to the input labels and regular text input (non-password). For the input label, could we use |
thanks @cwzilla! @NeoKolian could you make those additional changes to the font types? thank you! |
📜 Tickets
Jira ticket
Github issue
💡 Description
fonts in following classes updated: LoginDetailTableViewCell,
LoginDetailCenteredTableViewCell.
TextStyling parameters was updated to match password font requirements.
📝 Checklist
You have to check all boxes before merging
@Mergifyio backport release/v120
)