8000 PM-16148: Add generator's segmented control for generator types by matt-livefront · Pull Request #1237 · bitwarden/ios · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

PM-16148: Add generator's segmented control for generator types #1237

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 7 commits into from
Jan 7, 2025

Conversation

matt-livefront
Copy link
Collaborator
@matt-livefront matt-livefront commented Jan 3, 2025

🎟️ Tracking

PM-16148 - Display segmented control within generator navigation bar
PM-16137 - Update generator view for Password selection
PM-16138 - Update generator view for Passphrase selection
PM-16139 - Update generator view for username selection

📔 Objective

Adds a segmented control to the generator's navigation bar for selecting the generator type.

  • Adds the segmented control.
  • Removes the previous menu pickers for the generator type and password type.
  • Reworked logic for persisting whether the password or passphrase option was last used.
  • The password and passphrase segments in the segmented control can be disabled based on policy settings.

📸 Screenshots

Screenshot 2025-01-03 at 3 21 04 PM

Username generator from add item:
Screenshot 2025-01-03 at 3 21 26 PM

Password generator from add item:
Screenshot 2025-01-03 at 3 21 35 PM

⏰ 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
codecov bot commented Jan 3, 2025

Codecov Report

Attention: Patch coverage is 98.75519% with 3 lines in your changes missing coverage. Please review.

Project coverage is 89.53%. Comparing base (c8412de) to head (670f77d).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
...Tools/Generator/Generator/GeneratorProcessor.swift 84.21% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1237      +/-   ##
==========================================
- Coverage   89.57%   89.53%   -0.04%     
==========================================
  Files         709      711       +2     
  Lines       45082    45145      +63     
==========================================
+ Hits        40382    40422      +40     
- Misses       4700     4723      +23     

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

Copy link
Contributor
github-actions bot commented Jan 3, 2025

Logo
Checkmarx One – Scan Summary & Details2f403d25-25e2-472c-9cd9-5429060dd1ea

No New Or Fixed Issues Found

Copy link
Member
@fedemkr fedemkr left a comment

Choose a reason for hiding this comment

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

Awesome job! Just one comment.

@matt-livefront matt-livefront merged commit 54f4986 into main Jan 7, 2025
9 checks passed
@matt-livefront matt-livefront deleted the matt/PM-16148-generator-segmented-control branch January 7, 2025 18:07
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.

2 participants
0