8000 PM-17421: added icons to settings item view by ezimet-livefront · Pull Request #1328 · bitwarden/ios · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

PM-17421: added icons to settings item view #1328

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

Merged
merged 4 commits into from
Feb 6, 2025

Conversation

ezimet-livefront
Copy link
Collaborator
@ezimet-livefront ezimet-livefront commented Feb 5, 2025

🎟️ Tracking

PM-17421

📔 Objective

  • Added icon field to SettingsListItem.
  • Added icons to the Settings menu.

📸 Screenshots

Before After
before After

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

Copy link
Contributor
github-actions bot commented Feb 5, 2025

Logo
Checkmarx One – Scan Summary & Details83a2677d-1582-4f4d-8779-a2b15a7a74a4

Great job, no security vulnerabilities found in this Pull Request

Copy link
codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.61%. Comparing base (0b9561f) to head (e4e0b23).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1328   +/-   ##
=======================================
  Coverage   89.61%   89.61%           
=======================================
  Files         749      749           
  Lines       46978    47004   +26     
=======================================
+ Hits        42097    42121   +24     
- Misses       4881     4883    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

Choose a reason for hiding this comment

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

🤔 Why did this snapshot change?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think this spacing caused the change
HStack(spacing: 12) {

Copy link
Collaborator

Choose a reason for hiding this comment

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

There's also a Spacer() in that HStack so we might be adding double spacing in that case. If you change the spacer to Spacer(minLength: 0) does this snapshot still change? Or remove the spacer and let the text expand with .frame(maxWidth: .infinity, alignment: .leading).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah just checked, if I change the spacer min length or frame, it does not break this test.

@ezimet-livefront ezimet-livefront merged commit 3c07376 into main Feb 6, 2025
9 checks passed
@ezimet-livefront ezimet-livefront deleted the PM-17421/add-settings-icons branch February 6, 2025 20:59
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.

3 participants
0