8000 [PM-8216] Add Change Email and Set Up Two-Factor URLs by KatherineInCode · Pull Request #1210 · bitwarden/ios · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[PM-8216] Add Change Email and Set Up Two-Factor URLs #1210

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 3 commits into from
Dec 16, 2024

Conversation

KatherineInCode
Copy link
Contributor

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-8216

📔 Objective

This adds additional URLs to the Environment Service, Environment URLs, and Environment URL Data objects for 1) changing email (which is currently just the account screen) and 2) setting up two-factor authentication. These will be used by new screens in the future.

This also adds new tests to backfill some gaps in our test coverage.

This also does a bit of minor refactoring to unify casing structure inside each of these classes to follow the Swift API Design Guidelines, which suggests that "URL" should be capitalized inside of properties and function names. Ideally we would also change EnvironmentUrls and EnvironmentUrlData to EnvironmentURLs and EnvironmentURLData for this as well, but I wasn't sure if that was too big a change for this PR. If sentiment is towards ripping that bandaid off now, I can do that additionally.

⏰ 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

@KatherineInCode KatherineInCode marked this pull request as ready for review December 13, 2024 21:27
Copy link
codecov bot commented Dec 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.44%. Comparing base (361cc87) to head (e58c26c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1210      +/-   ##
==========================================
+ Coverage   89.42%   89.44%   +0.01%     
==========================================
  Files         692      692              
  Lines       43995    44009      +14     
==========================================
+ Hits        39343    39363      +20     
+ Misses       4652     4646       -6     

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

Copy link
Contributor

Logo
Checkmarx One – Scan Summary & Detailsedaab70f-3ca8-4a59-b550-2c330f78ab25

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.

LGTM, if you want to make the changes to the objects name to URL go for it in this PR I don't mind. However, if you feel like if would be cleaner in another PR I don't mind that neither.

@KatherineInCode
Copy link
Contributor Author

I think another PR makes sense, just to reduce the noise 👍🏻

@KatherineInCode KatherineInCode merged commit 4a78df8 into main Dec 16, 2024
9 checks passed
@KatherineInCode KatherineInCode deleted the pm-8216/update-urls branch December 16, 2024 17:24
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