Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PM-14547: Remove soft logged out account#1150

Merged
matt-livefront merged 5 commits intomainfrom
matt/PM-14547-remove-account
Dec 12, 2024
Merged

PM-14547: Remove soft logged out account#1150
matt-livefront merged 5 commits intomainfrom
matt/PM-14547-remove-account

Conversation

@matt-livefront
Copy link
Collaborator

@matt-livefront matt-livefront commented Nov 19, 2024

๐ŸŽŸ๏ธ Tracking

PM-14547

๐Ÿ“” Objective

When long-pressing on a logged out account in the profile switcher, the remove option should be displayed instead of log out.

๐Ÿ“ธ Screenshots

Simulator.Screen.Recording.-.iPhone.16.Pro.-.2024-11-19.at.10.00.52.mp4

โฐ 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

@github-actions
Copy link
Contributor

github-actions bot commented Nov 19, 2024

Logo
Checkmarx One โ€“ Scan Summary & Details โ€“ c8448a23-1b6a-477b-99a7-ae17fc83e1c4

No New Or Fixed Issues Found

@codecov
Copy link

codecov bot commented Nov 19, 2024

Codecov Report

Attention: Patch coverage is 95.12195% with 4 lines in your changes missing coverage. Please review.

Project coverage is 89.49%. Comparing base (14de36a) to head (0b1d21a).
Report is 20 commits behind head on main.

Files with missing lines Patch % Lines
...d/UI/Auth/ProfileSwitcher/ProfileSwitcherRow.swift 71.42% 2 Missing โš ๏ธ
.../UI/Auth/ProfileSwitcher/ProfileSwitcherView.swift 0.00% 2 Missing โš ๏ธ
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1150      +/-   ##
==========================================
+ Coverage   89.47%   89.49%   +0.01%     
==========================================
  Files         688      688              
  Lines       43811    43876      +65     
==========================================
+ Hits        39202    39266      +64     
- Misses       4609     4610       +1     

โ˜” View full report in Codecov by Sentry.
๐Ÿ“ข Have feedback on the report? Share it here.

fedemkr
fedemkr previously approved these changes Nov 19, 2024
Copy link
Collaborator

@ezimet-livefront ezimet-livefront left a comment

Choose a reason for hiding this comment

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

โ› just a nitpick, but looks good.

Co-authored-by: Ezimet Ozkhan <[email protected]>
// If the active account is being removed, forward it to the router to handle
// removing the account and any navigation associated with it (e.g. switch to next
// active account).
// A user-initiated logout functions the same as removing the account.
Copy link
Contributor

Choose a reason for hiding this comment

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

๐Ÿ‘๐Ÿป I appreciate this comment for additional context

}
}

class MockProfileSwitcherHandlerProcessor:
Copy link
Contributor

Choose a reason for hiding this comment

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

๐Ÿค” Would it be reasonable to break this into its own file?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sure, I can move it.

@matt-livefront matt-livefront merged commit 361cc87 into main Dec 12, 2024
@matt-livefront matt-livefront deleted the matt/PM-14547-remove-account branch December 12, 2024 20:16
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.

4 participants

Comments