Benoit Marty
de39179b9d
Merge pull request #1465 from vector-im/feature/bma/codeCoverage
...
Improve code coverage
2023-10-02 10:18:31 +02:00
bmarty
7e3b9d8d3b
Sync Strings from Localazy
2023-10-02 00:09:47 +00:00
Marco Romano
fc205698c6
Display poll notifications in the notification drawer ( #1467 )
...
Display notifications for polls as if they were message events.
2023-09-29 16:57:03 +02:00
Benoit Marty
37249261e1
Add test for MatrixClientsHolder
2023-09-29 15:34:02 +02:00
jonnyandrew
53cf82f025
[Rich text editor] Add full screen mode ( #1447 )
...
- Add full screen mode for the rich text editor (RTE). When text formatting options are enabled, the editor can be dragged to full screen.
- Remove `ConstraintLayout` from `textcomposer` module, now made much simpler now the RTE supports being called in multiple layouts matrix-org/matrix-rich-text-editor#822
- Part of vector-im/element-meta#1973
- Includes design from #1315
- Fixes #1293 (through new layout)
- Fixes #1394 (through inclusion of matrix-org/matrix-rich-text-editor#824 )
- Fixes #1259 (through inclusion of matrix-org/matrix-rich-text-editor#820 )
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-29 09:11:18 +00:00
ganfra
fa82639c4f
Merge pull request #1457 from vector-im/feature/fga/suspend_subscribe_unsubscribe_sync
...
Room : makes subscribeToSync/unsubscribeFromSync suspendable
2023-09-29 10:15:58 +02:00
ganfra
74735605e4
Room : makes subscribeToSync/unsubscribeFromSync suspendable and makes sure we keep subscription count
2023-09-28 20:16:19 +02:00
Benoit Marty
2cce7f3b47
Fix lint UnnecessaryComposedModifier and make it an error
2023-09-28 16:55:21 +02:00
Benoit Marty
c9c7af6e06
Simplify the management of inReplyToEventTimelineItem
2023-09-27 11:31:12 +02:00
Benoit Marty
a192a8823f
Ensure getEventTimelineItemByEventId is called when we enter in reply mode.
2023-09-27 10:48:31 +02:00
Benoit Marty
aefeb01cdd
Reduce the number of fallback notification. Only used now when message cannot be decrypted.
...
Also avoid using `else` in this `when` block.
2023-09-27 10:12:04 +02:00
Benoit Marty
cf657df5fd
Fix API break with Matrix SDK 0.1.58.
2023-09-27 09:44:58 +02:00
Benoit Marty
8e24d5991c
Merge pull request #1436 from vector-im/feature/bma/mutableIntFloat
...
Mutable int float
2023-09-26 18:31:36 +02:00
Benoit Marty
f607b557ff
Merge pull request #1432 from vector-im/feature/bma/installApk
...
Install apk from the app - REQUEST_INSTALL_PACKAGES
2023-09-26 18:15:35 +02:00
Benoit Marty
702c137ead
Replace mutableStateOf by mutableIntStateOf and mutableFloatStateOf. Use intValue and floatValue to avoid unboxing.
2023-09-26 18:07:53 +02:00
Benoit Marty
3f73443ebb
Be able to install APK from Element X.
2023-09-26 17:48:26 +02:00
Benoit Marty
e7ba973e7b
Improve default mime type.
2023-09-26 17:48:26 +02:00
Benoit Marty
34631f53b3
Avoid hard-coded string.
2023-09-26 17:48:26 +02:00
Marco Romano
2e6581a5ad
Show poll creator view in timeline ( #1429 )
...
- Shows edit/end poll buttons when the user is the creator of the poll.
- Only the end poll button is wired right now as there is no "edit poll" screen yet.
2023-09-26 11:19:24 +02:00
bmarty
c72bb92ef2
Sync Strings from Localazy
2023-09-25 00:09:17 +00:00
Benoit Marty
8fc7a79d9c
Merge pull request #1405 from vector-im/feature/bma/timelineGlitch
...
Add animation on the timeline content, to avoid glitch (#1323 )
2023-09-21 22:12:59 +02:00
Marco Romano
f81a4bf0f8
Upgrade Rust SDK to v0.1.57 ( #1401 )
...
- Enables polls in room summaries from https://github.com/vector-im/element-x-android/pull/1387
- Accommodates a few breaking changes
2023-09-21 19:48:19 +00:00
Benoit Marty
03eacdc454
Add animation on the timeline content, to avoid glitch ( #1323 )
2023-09-21 18:43:46 +02:00
bmarty
a7ce12d91d
Sync Strings from Localazy
2023-09-21 15:51:21 +00:00
Benoit Marty
0255ec6771
Merge pull request #1400 from vector-im/feature/bma/fixCrashPhoto
...
Fix crash when user wants to use the camera
2023-09-21 16:31:36 +02:00
Benoit Marty
d19b624c6f
Rename Event for clarity
2023-09-21 15:33:03 +02:00
Benoit Marty
86bfd5c04a
Rename file to match the class it contains.
2023-09-21 15:24:26 +02:00
Marco Romano
e4c78a2489
Properly format lastMessage when it belongs to a poll. ( #1387 )
...
Takes care of properly formatting a room's last message when it belongs to a poll.
NB: Polls still aren't exposed as a room's `last_message` from the rust SDK, so this code won't actually run yet. This will happen after integrating rust SDK version 0.1.57 which includes: https://github.com/matrix-org/matrix-rust-sdk/pull/2580
2023-09-21 15:20:15 +02:00
Benoit Marty
dd5d67d186
Move open system setting to the PermissionsPresenter
2023-09-21 14:20:41 +02:00
Benoit Marty
08b455afd3
Create FakePermissionsPresenterFactory, to reduce boilerplate.
2023-09-21 12:54:15 +02:00
Benoit Marty
7e587f9a9e
Add strings for permission dialogs in Localazy
2023-09-21 12:07:09 +02:00
Benoit Marty
dcb1677bf1
Open app settings from the permission dialog.
2023-09-21 11:37:59 +02:00
Benoit Marty
f3456cafa7
Rename Event for clarity
2023-09-21 11:29:29 +02:00
Benoit Marty
4b928af21b
Fix behavior of DefaultPermissionsPresenter. Do not show dialog immediately.
2023-09-21 11:27:30 +02:00
Benoit Marty
31eca73e8d
Request Camera permission before launching the external Camera app ( #1395 )
2023-09-21 10:54:02 +02:00
Benoit Marty
0e4c146e87
Detekt: Rename DayNightPreviews to PreviewsDayNight to follow naming convention.
...
MultiPreview annotations should start with `Previews` as prefix
2023-09-21 08:30:36 +02:00
Benoit Marty
97f2d211ae
Detekt: Rename LargeHeightPreview to PreviewWithLargeHeight to follow naming convention.
...
MultiPreview annotations should start with `Preview` as prefix
Detekt: Rename `LargeHeightPreview` to `PreviewWithLargeHeight` to follow naming convention.
Custom Preview annotations should start with `Preview` as prefix
2023-09-21 08:30:15 +02:00
Benoit Marty
e622f8d869
Merge pull request #1392 from vector-im/feature/bma/iterateOnIcons
...
Iterate on icons
2023-09-20 23:20:28 +02:00
Benoit Marty
3e90f59604
Add start padding to the send icon to make it visually centered.
2023-09-20 18:47:29 +02:00
Benoit Marty
03d69146aa
Remove unused resource, and use compound icons when possible.
2023-09-20 16:45:38 +02:00
Benoit Marty
d531e71cd8
Migrate other icons to compound icons.
2023-09-20 16:44:59 +02:00
Benoit Marty
32f95e70cb
Better rendering on screenshot test
2023-09-20 16:44:59 +02:00
Benoit Marty
89b66b5a36
Remove unused icons
2023-09-20 16:44:59 +02:00
Benoit Marty
7ec5e0e173
Fix warnings.
2023-09-20 16:44:59 +02:00
Benoit Marty
085b3bbfa4
Iterate on icons ( #1320 )
2023-09-20 16:44:59 +02:00
Benoit Marty
c652606f56
Remove VectorIcons object, inline the values.
2023-09-20 16:44:59 +02:00
ganfra
4883b63762
Remove usage of async-uniffi as it leads to a deadlocks and memory leaks ( #1381 )
2023-09-20 12:52:57 +02:00
Benoit Marty
8f4f2f9d56
All icons are now white
2023-09-20 09:08:31 +02:00
Benoit Marty
45d45ecc87
Add Icons preview.
2023-09-20 09:03:57 +02:00
ganfra
4d0180fb13
Merge pull request #1376 from vector-im/feature/fga/fix_room_member_infinite_loop
...
Fix room member infinite loop
2023-09-19 18:18:54 +02:00