-
Notifications
You must be signed in to change notification settings - Fork 821
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-13886 show dialog when no logins were imported #4139
Conversation
No New Or Fixed Issues Found |
ecd4806
to
5df89c7
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4139 +/- ##
==========================================
- Coverage 88.95% 88.95% -0.01%
==========================================
Files 439 439
Lines 38051 38064 +13
Branches 5333 5336 +3
==========================================
+ Hits 33848 33858 +10
- Misses 2345 2346 +1
- Partials 1858 1860 +2 ☔ View full report in Codecov by Sentry. |
val itemsAvailable = vaultDiskSource | ||
.getCiphers(userId) | ||
.firstOrNull() | ||
?.isNotEmpty() ?: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move the ?: false
down a line
app/src/main/res/values/strings.xml
Outdated
@@ -1061,4 +1061,5 @@ Do you want to switch to this account?</string> | |||
<string name="save_the_exported_file_highlight">Save the exported file</string> | |||
<string name="this_is_not_a_recognized_bitwarden_server_you_may_need_to_check_with_your_provider_or_update_your_server">This is not a recognized Bitwarden server. You may need to check with your provider or update your server.</string> | |||
<string name="syncing_logins_loading_message">Syncing logins...</string> | |||
<string name="no_logins_were_imported">No logins were imported</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make sure the indentation here matches.
|
||
@Suppress("MaxLineLength") | ||
@Test | ||
fun `syncForResult should return success result with itemsAvailable = false when sync succeeds and ciphers list is empty`() = runTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wanna run the formatter here, even with the suppression, runTest {
should be on it's own line
909d73e
to
73de326
Compare
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-13886
📔 Objective
📸 Screenshots
pm13886.mp4
⏰ Reminders before review
🦮 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 confirmedissue 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