Skip to content
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-8361 Update mobile icons to new style pt4 #20140

Merged
merged 38 commits into from May 13, 2024

Conversation

thatswinnie
Copy link
Contributor

📜 Tickets

Jira ticket
Github issue

💡 Description

It's been a long time coming: This is the last PR for our icon updates! Because of these updates we were able to remove 5 asset catalogs in total!
The PR updates:

  • Cloud icon
  • Clear icon
  • Purple private mode icon
  • Tabs icon in toolbar & tab tray
  • Device icons (desktop, mobile, tablet)
  • Brightness icon in reader mode
  • Sponsored star icon
  • Fakespot stars icons
  • Minus icon in zoom feature
  • Lightning icon in QR code reader

📝 Checklist

You have to check all boxes before merging

  • Filled in the above information (tickets numbers and description of your work)
  • Updated the PR name to follow our PR naming guidelines
  • Wrote unit tests and/or ensured the tests suite is passing
  • When working on UI, I checked and implemented accessibility (minimum Dynamic Text and VoiceOver)
  • If needed, I updated documentation / comments for complex code and public methods
  • If needed, added a backport comment (example @Mergifyio backport release/v120)

…-mobile-icons-to-new-style-pt4

# Conflicts:
#	firefox-ios/Client/Application/ImageIdentifiers.swift
…le-pt4

# Conflicts:
#	firefox-ios/Client.xcodeproj/project.pbxproj
…-mobile-icons-to-new-style-pt4

# Conflicts:
#	firefox-ios/Client.xcodeproj/project.pbxproj
@thatswinnie thatswinnie requested a review from a team as a code owner May 3, 2024 12:08
@thatswinnie thatswinnie requested a review from dataports May 3, 2024 12:08
@mobiletest-ci-bot
Copy link

mobiletest-ci-bot commented May 3, 2024

Warnings
⚠️ Variable 'crossCircleFill' in Medium is out of alphabetical order.
⚠️ Variable 'cross' in Medium is out of alphabetical order.
Messages
📖 Project coverage: 32.6%
📖 Edited 53 files
📖 Created 24 files

Client.app: Coverage: 31.22

File Coverage
FakespotAdjustRatingView.swift 0.0% ⚠️
LegacyTabTrayViewController.swift 47.31% ⚠️
BrowserViewController+TabToolbarDelegate.swift 11.47% ⚠️
EmptyPrivateTabsView.swift 90.16%
ShareExtensionCoordinator.swift 30.77% ⚠️
HelpView.swift 0.0% ⚠️
AutocompleteTextField.swift 0.0% ⚠️
DevicePickerTableViewCell.swift 0.0% ⚠️
TabToolbar.swift 42.45% ⚠️
ReaderModeStyleViewController.swift 0.0% ⚠️
PocketStandardCell.swift 90.48%
FakespotStarRatingView.swift 0.0% ⚠️
SearchViewController.swift 30.01% ⚠️
QRCodeViewController.swift 11.14% ⚠️
ToolbarTextField.swift 0.0% ⚠️
ZoomPageBar.swift 0.0% ⚠️
TabsButton.swift 21.83% ⚠️
LegacyRemoteTabsErrorCell.swift 0.0% ⚠️
TabTrayPanelType.swift 100.0%
RemoteTabsEmptyView.swift 87.3%
DevicePickerViewController.swift 8.3% ⚠️
URLBarView.swift 33.87% ⚠️

CredentialProvider.appex: Coverage: 18.76

File Coverage
CredentialListViewController.swift 0.0% ⚠️

ShareTo.appex: Coverage: 33.36

File Coverage
SendToDevice.swift 0.0% ⚠️
DevicePickerViewController.swift 8.3% ⚠️
DevicePickerTableViewCell.swift 0.0% ⚠️
HelpView.swift 0.0% ⚠️

Generated by 🚫 Danger Swift against 2ce08f1

@@ -98,7 +98,7 @@ class ShareExtensionCoordinator: BaseCoordinator,
let themeColors = themeManager.currentTheme(for: windowUUID).colors
let colors = SendToDeviceHelper.Colors(defaultBackground: themeColors.layer1,
textColor: themeColors.textPrimary,
iconColor: themeColors.iconPrimary)
iconColor: themeColors.iconDisabled)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just checking - using the disabled color here was intentional yes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's intentional. It was discussed with @cwzilla

@@ -529,7 +529,7 @@ extension LegacyTabTrayViewController: Notifiable {
else { return }
self?.countLabel.text = self?.viewModel.normalTabsCount
self?.segmentedControlIphone.setImage(
UIImage(named: ImageIdentifiers.navTabCounter)!.overlayWith(image: label),
UIImage(named: StandardImageIdentifiers.Large.tab)!.overlayWith(image: label),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we be force unwrapping the image here?

Copy link
Contributor

@dataports dataports left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of non-critical comments or questions but looks great otherwise!

@isabelrios
Copy link
Contributor

@thatswinnie looks like the PR is reaching the warnings limit. That's why it is red..
https://mozilla.slack.com/archives/CAFC45W5A/p1715592037076679

@thatswinnie thatswinnie requested a review from a team as a code owner May 13, 2024 12:21
@thatswinnie thatswinnie requested review from jjSDET and isabelrios and removed request for jjSDET May 13, 2024 12:21
@thatswinnie thatswinnie merged commit bc031d8 into main May 13, 2024
12 of 13 checks passed
@thatswinnie thatswinnie deleted the wt/FXIOS-8361-update-mobile-icons-to-new-style-pt4 branch May 13, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants