-
Notifications
You must be signed in to change notification settings - Fork 278
Multi accounts - experimental first implementation #5285
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
base: develop
Are you sure you want to change the base?
Conversation
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
137d98b
to
cea6001
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #5285 +/- ##
===========================================
- Coverage 80.38% 80.37% -0.01%
===========================================
Files 2275 2282 +7
Lines 62860 63212 +352
Branches 7863 7904 +41
===========================================
+ Hits 50527 50809 +282
- Misses 9431 9481 +50
- Partials 2902 2922 +20 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Else when 1 of many accounts is removed, the analytics opt in screen is displayed again.
It seems to come from #5253 and is also impacting develop. I will fix. |
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.
Nice work!
Some remarks on first look, I'll also test it tomorrow.
features/home/impl/src/main/kotlin/io/element/android/features/home/impl/HomePresenter.kt
Outdated
Show resolved
Hide resolved
features/home/impl/src/main/kotlin/io/element/android/features/home/impl/HomePresenter.kt
Outdated
Show resolved
Hide resolved
features/home/impl/src/main/kotlin/io/element/android/features/home/impl/HomeState.kt
Outdated
Show resolved
Hide resolved
features/home/impl/src/main/kotlin/io/element/android/features/home/impl/HomePresenter.kt
Outdated
Show resolved
Hide resolved
features/home/impl/src/main/kotlin/io/element/android/features/home/impl/HomePresenter.kt
Outdated
Show resolved
Hide resolved
features/home/impl/src/main/kotlin/io/element/android/features/home/impl/HomePresenter.kt
Outdated
Show resolved
Hide resolved
features/home/impl/src/main/kotlin/io/element/android/features/home/impl/HomeState.kt
Outdated
Show resolved
Hide resolved
...mpl/src/main/kotlin/io/element/android/libraries/sessionstorage/impl/DatabaseSessionStore.kt
Outdated
Show resolved
Hide resolved
It allows having the cached data (user display name and avatar) when starting the application when no network is available.
Also do not restore the last session as a fallback, it can lead to error in a multi account context, or even when a ghost pusher send a Push.
…ching between accounts.
|
Content
Add ability to connect to several accounts at the same time. The feature is behind a feature flag.
Warning: the feature must be considered as unstable, and the core team will not have time to fix reported issues right now. In particular, some session verification issue have been observed and not investigated yet.
What is working:
Motivation and context
Partially implements #190
Screenshots / GIFs
Tests
Tested devices
Checklist