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

PM-14011: Show settings badge and action card when dismissing import logins action card from vault #1077

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

matt-livefront
Copy link
Collaborator

@matt-livefront matt-livefront commented Oct 24, 2024

🎟️ Tracking

PM-14011

📔 Objective

Dismissing the vault's import logins action card should hide the card and then show the settings badge and action card for import logins.

📸 Screenshots

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-10-24.at.15.28.12.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

Copy link
Contributor

Logo
Checkmarx One – Scan Summary & Detailsc710a83f-c3c6-4942-ae93-46d0dd5333c4

No New Or Fixed Issues Found

Copy link

codecov bot commented Oct 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.48%. Comparing base (6c0402f) to head (e7a38ab).
Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1077      +/-   ##
==========================================
+ Coverage   89.47%   89.48%   +0.01%     
==========================================
  Files         675      675              
  Lines       42494    42536      +42     
==========================================
+ Hits        38021    38064      +43     
+ Misses       4473     4472       -1     

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

@@ -399,7 +399,7 @@ class VaultListProcessorTests: BitwardenTestCase { // swiftlint:disable:this typ
func test_perform_dismissSetUpUnlockActionCard_error() async {
await subject.perform(.dismissImportLoginsActionCard)

XCTAssertEqual(coordinator.alertShown, [.defaultAlert(title: Localizations.anErrorHasOccurred)])
XCTAssertEqual(coordinator.alertShown, [.defaultAlert(error: StateServiceError.noActiveAccount)])
Copy link
Contributor

Choose a reason for hiding this comment

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

🤔 Given that we have a specific error in mind, it might be worth noting the specific error in the test comments.

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 guess I'm not necessarily looking for this specific error, really any error should create an alert and error log, it just happens that this is the easiest error to generate. But I can note this error in the test comments if it's helpful.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, okay, then that's fine.

@matt-livefront matt-livefront merged commit 6580bec into main Oct 28, 2024
9 checks passed
@matt-livefront matt-livefront deleted the matt/PM-14011-import-logins-card-dismiss branch October 28, 2024 14:38
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