Benoit Marty
3c9ecec563
Make `SyncState` values match `SyncServiceState` values.
1 year ago
ganfra
5f225ce3b7
TimelineDiff: use firstOrNull even if it shouldn't never be empty
1 year ago
Jorge Martín
243a39d6de
Don't blindly retry fetching pending or failed event details
1 year ago
Marco Romano
3c45a5ece4
Send My Location ( #770 )
...
- https://github.com/vector-im/element-meta/issues/1682
1 year ago
ganfra
9bf388eb1a
Avoid spamming sync flow by checking item origin
1 year ago
Benoit Marty
c5629b3a32
Format files.
1 year ago
Benoit Marty
3eff873d48
Fix typo in comments.
1 year ago
ganfra
dfd7f9cc5b
Fix tests
1 year ago
ganfra
bb12338583
RoomList: introduce RoomListDataSource so we keep the data in memory as long as the node is in the backstack.
1 year ago
ganfra
614f97543e
Update rust sdk to 0.1.34
1 year ago
Benoit Marty
e8b1f2681a
React to session deletion (from another session)
1 year ago
ganfra
d273dd00ff
Media: Clean after pr reviews
1 year ago
Marco Romano
e7cab7ac1d
Make the functions in SystemUtils extensions ( #899 )
...
- They are now all extensions over `Context` or `Activity` (when `Context` is not enough) (some of them already were).
- Allows for IDE completion.
1 year ago
ganfra
669e62e462
PowerLevel: use new api exposed from rust which doesn't need to load members.
1 year ago
Benoit Marty
6b3f69accf
Use Large and remove Huge.
1 year ago
Benoit Marty
f12dc56ff8
Create Huge logo size
1 year ago
Benoit Marty
6fe59cb5f8
Small refacto to have more Preview.
1 year ago
Benoit Marty
5824281f0b
Small refacto.
1 year ago
Benoit Marty
d80f2de112
No need to use trick for night resource when using DayNightPreviews annotation.
1 year ago
Benoit Marty
7ca5bcf74e
Fix preview.
1 year ago
Benoit Marty
616d933fb6
Format file
1 year ago
Benoit Marty
5aa4cbdac7
Fix text color
1 year ago
ganfra
207a20b67c
RoomFlowNode: use newRoot instead of safeRoot as in this case it can create a race condition where we end up not switching node
1 year ago
ganfra
9b96bd427c
Update rust sdk : start branching new SyncService (wip)
1 year ago
Benoit Marty
48277d095a
Change return type (mostly for clarity)
1 year ago
ganfra
2b679710d2
Rework a bit MatrixClientHolder and reintroduce cacheIndex...
1 year ago
Jorge Martin Espinosa
2488432805
Hide encryption history + FTUE flow ( #839 )
...
* First attempt at implementing encrypted history banner and removing old UTDs
* Get the right behavior in the timeline
* Implement the designs
* Extract post-processing logic, add tests
* Add encryption banner to timeline screenshots
* Create FTUE feature to handle welcome screen and analytics
* Move classes to their own packages, add tests for `DefaultFtueState`.
* Remove unnecessary private MutableStateFlow
* Move some FTUE related methods and classes back to the `impl` module
* Handle back press at each FTUE step
* Remove unneeded `TestScope` receiver for `createState` in tests.
* Use light & dark previews for the banner view.
* Move color customization from `TextStyle` to `Text` component.
* Rename `InfoList` design components, use them in `AnalyticsOptInView` too.
* Cleanup MatrixClient.
* Fix copy&paste error
Co-authored-by: Benoit Marty <benoit@matrix.org>
* Fix typo
* Fix Maestro tests
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
1 year ago
Jorge Martin Espinosa
9247cd765a
Fix: make sure we ignore notifications for open rooms ( #867 )
...
* Make sure we ignore notifications for open rooms
- Listen to process lifecycle changes in `AppForegroundStateService`. Use initializers to reliable create it.
- Merge `AppNavigationState` with `AppForegroundState`. Renamed the previous `AppNavigationState` to `NavigationState`, created a new `AppNavigationState` which contains both the navigation state and the foreground state.
1 year ago
Benoit Marty
6681f6f806
Remove StableCharSequence, it was useful when we were using the Epoxy library.
1 year ago
Marco Romano
004b86b05d
MapLibre compose wrapper library ( #877 )
...
Heavily inspired from https://github.com/googlemaps/android-maps-compose It doesn't aim to be a full featured library like android-maps-compose, it's been stripped down to only handle our use cases.
Related to:
https://github.com/vector-im/element-meta/issues/1674
https://github.com/vector-im/element-meta/issues/1682
1 year ago
Benoit Marty
abe7e952a3
Map ClientException.
1 year ago
Jorge Martín
e2549a8308
Try to centralise session restoration through `MatrixClientsHolder`
1 year ago
ElementBot
e75438a8e3
Sync Strings ( #882 )
...
* Sync Strings from Localazy
* Update screenshots
---------
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
1 year ago
Jorge Martín
0632d01d86
Fix sliding sync loop restarts due to expirations
...
Both `NotifiableEventResolver` and `DefaultNotificationDrawerManager` were creating new Rust SDK Clients while processing notifications instead of reusing the already existing one.
1 year ago
Marco Romano
a63d3df39c
Extract MessageComposerContext class from MessageComposerPresenter ( #876 )
...
When sending "Composer" analytics from screens other than the composer's (e.g. send location from map) we need to know the composer's mode in order to properly fill the analytics event. `MessageComposerContext` hoists this state so that other presenters can also read it.
Related to:
https://github.com/vector-im/element-meta/issues/1674
https://github.com/vector-im/element-meta/issues/1682
1 year ago
ganfra
e2bdeed2fb
ProgressDialog: add cancelable...
1 year ago
ganfra
f61a81e7f4
Media: add audio fixture for tests
1 year ago
ganfra
e9a34eb46d
Media: upload audio
1 year ago
ganfra
3d0e6a4130
Media: render audio content
1 year ago
ganfra
f80f6f5bd9
Timeline: fix some tests and a one more
1 year ago
Benoit Marty
c919618bc0
Fix account provider change on nightly and release ( #861 )
...
* Use parallelMap (same code)
* Add proguard rules. Fixes #818
* Rename file proguard-rules.pro to consumer-rules.pro for coherency.
* Remove empty and non-referenced proguard files.
1 year ago
ganfra
dc4e36147d
Timeline: introduce origin on timeline items
1 year ago
Jorge Martin Espinosa
494229d153
Set right timestamp for fallback notifications ( #864 )
1 year ago
ganfra
a92fa391e5
Timeline: rename file
1 year ago
ganfra
e334100b75
Timeline: split the initial item list in small chunks to post items asap
1 year ago
ganfra
9873588d2a
Timeline: avoid pagination when timeline is not ready
1 year ago
Benoit Marty
6e2f645514
Create value class for transactionId. There is no validation on the format, but validation is a bonus for userId, roomId, etc.
...
The main advantage of using value classes instead of Strings everywhere is to detect errors at compilation time.
1 year ago
Benoit Marty
86a2c340ee
Ensure pending intent data are unique.
1 year ago
ganfra
ed779abead
Update rust sdk to 0.1.31: fix build
1 year ago
ganfra
6622889b09
Update rust sdk to 0.1.31: new app service
1 year ago