Benoit Marty
d7f8aa533e
Stop using deprecated LocalBroadcastManager. We will implement the code when we will work on the troubleshoot notification screen.
1 year ago
Benoit Marty
2163c1db8c
Create sheetStateForPreview to avoid code duplication.
1 year ago
Marco Romano
a1313c2890
Update permission request dialog copy. ( #931 )
...
As per new designs.
Part of:
- https://github.com/vector-im/element-meta/issues/1682
1 year ago
Benoit Marty
c7222e2969
Fix warning (suppress, no sure I want to delete this class right now)
1 year ago
Benoit Marty
0f4af79fb1
Fix warning (comment out dead code due to notification actions not active yet.)
1 year ago
Benoit Marty
b072872c85
Fix warning (suppress, no sure I want to delete this class right now)
1 year ago
Benoit Marty
202268ae55
Fix warning (remove dead code)
1 year ago
Benoit Marty
1f3efdfe46
Fix warning (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q here)
1 year ago
Benoit Marty
9fbdef4bd2
Fix warning ('when' is exhaustive so 'else' is redundant here)
1 year ago
Benoit Marty
a88ac632f6
Fix warning (comment out temporary dead code)
1 year ago
Benoit Marty
17c7ecd9c2
Clear all notifications of the session when the user signs out.
1 year ago
Marco Romano
e448bbb92d
maplibre-compose allow customisation of location dot style ( #929 )
...
- And style it according to our designs.
Related to:
- https://github.com/vector-im/element-meta/issues/1682
1 year ago
renovate[bot]
156bf08b7a
Update dependency app.cash.molecule:molecule-runtime to v1 ( #925 )
...
* Update dependency app.cash.molecule:molecule-runtime to v1
* Replace `RecompositionClock` with `RecompositionMode`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
1 year ago
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