Commit Graph

1314 Commits

Author SHA1 Message Date
Benoit Marty
8b218e3992 Fix test 2024-06-05 14:59:47 +02:00
Benoit Marty
92bcf9c90e When replying from notification, do not interfere with specialModeEventTimelineItem 2024-06-05 14:59:46 +02:00
Benoit Marty
4e3774308e Merge pull request #2970 from element-hq/feature/bma/moreAnalytics
Track when the user starts a room call and when they enable formatting options on the message composer
2024-06-05 09:21:28 +02:00
ganfra
8976c859a1 TimelineControllerTest: try removing flakiness of one test 2024-06-04 17:24:16 +02:00
Benoit Marty
a5f3b9909c Analytics: track interaction Interaction.Name.MobileRoomComposerFormattingEnabled 2024-06-03 18:34:28 +02:00
Benoit Marty
75bee23221 Analytics: track interaction Interaction.Name.MobileRoomCallButton 2024-06-03 18:19:12 +02:00
bmarty
f501f27d27 Sync Strings from Localazy 2024-06-03 00:24:07 +00:00
Benoit Marty
e0c55ff4c8 Merge pull request #2957 from element-hq/feature/bma/konsistClassName
Konsist class name
2024-05-31 13:02:01 +02:00
Benoit Marty
dce8f0ea38 Rename function. 2024-05-31 10:51:10 +02:00
Benoit Marty
3b8372f2aa Add test on ForwardMessagesView 2024-05-31 10:51:09 +02:00
Benoit Marty
130bce178a Simplify ForwardMessagesState by using AsyncAction. 2024-05-31 10:51:08 +02:00
Benoit Marty
9367f58216 Rename some class from Impl to Default 2024-05-31 09:47:27 +02:00
Benoit Marty
cdf6f48112 Change Test class suffix. 2024-05-30 10:11:18 +02:00
Benoit Marty
ab6c428a61 Fix performance issue reported by Konsist test Sealed interface used in Composable MUST be Immutable or Stable 2024-05-29 18:05:03 +02:00
Benoit Marty
0e4b30e58d Merge pull request #2941 from element-hq/sync-localazy
Sync Strings
2024-05-29 16:27:17 +02:00
bmarty
46b6ae6251 Sync Strings from Localazy 2024-05-29 12:44:57 +00:00
Benoit Marty
9744b6d00c Suppress ContentTrailingLambda for ExpandableBottomSheetScaffold 2024-05-29 12:40:49 +02:00
Benoit Marty
df1dd6bba5 Rename some fun regarding polls 2024-05-29 12:32:51 +02:00
Benoit Marty
929d8d1549 Rename some Events regarding polls 2024-05-29 12:31:12 +02:00
Benoit Marty
87689d787e Lambda parameters in a composable function should be in present tense, not past tense.
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
2024-05-29 12:18:23 +02:00
Benoit Marty
9065e9d2eb Merge pull request #2921 from element-hq/sync-localazy
Sync Strings
2024-05-27 15:52:38 +02:00
Benoit Marty
bbb44db297 Translations: pt -> pt-rBR 2024-05-27 14:51:32 +02:00
Benoit Marty
e632168c34 Merge pull request #2900 from element-hq/feature/bma/fakeClassesQuality
Fake classes name quality
2024-05-27 12:14:50 +02:00
Jorge Martin Espinosa
cdf6c56f7f Restore MarkdownTextInput contents (#2902)
* Restore `MarkdownTextInput` contents: create a `MarkdownTextInputStateSaver` and use it to save and restore the text and selection.

* Add default text flags to the markdown composer
2024-05-23 14:59:08 +02:00
Benoit Marty
d4d12503c6 Rename class (code quality) 2024-05-23 14:38:52 +02:00
Benoit Marty
92bc614af3 Cleanup dependencies about junit. 2024-05-21 18:14:32 +02:00
Jorge Martin Espinosa
902dd24e72 Plain text editor implementation based on markdown input (#2840)
* Add plain text editor based on markdown input
- Fix autofocus of message composer.
- Remove `Message` data class, fetch the details in `MessagesPresenter` instead.
- Remove `enable rich text` option from advanced settings, set it as a build configuration instead.
* Fix MentionSpanProvider
* Bump RTE library to released `v2.37.3`

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-21 13:58:53 +02:00
Jorge Martin Espinosa
da8d319dea Use member display names in membership timeline item text (#2883)
* Use member display names in membership timeline item text
2024-05-21 08:26:11 +00:00
Benoit Marty
009ade1db5 Merge pull request #2877 from element-hq/sync-localazy
Sync Strings
2024-05-21 09:22:16 +02:00
Jorge Martin Espinosa
cec0db8a0e When linkifying HTML messages, give priority to explicit link tags (#2879)
* When linkifying HTML messages, give priority to explicit link tags
2024-05-20 13:09:37 +02:00
bmarty
0241014932 Sync Strings from Localazy 2024-05-20 00:23:05 +00:00
Benoit Marty
f886cd00a1 Format 2024-05-16 11:07:31 +02:00
Benoit Marty
2e7e5633f5 Add test about redacting an Event that has not been sent #2855 2024-05-16 10:49:14 +02:00
Jorge Martin Espinosa
83b2da547c UX cleanup: reorder text composer actions (#2847)
* UX cleanup: reorder text composer actions

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-15 10:28:06 +02:00
Benoit Marty
b971ac36d3 Merge pull request #2843 from element-hq/feature/bma/joinRoomVia
Provide serverNames when available and fix issue around analytics
2024-05-14 17:17:59 +02:00
Benoit Marty
32f31855b5 Provide serverNames when available and fix issue around analytics 2024-05-14 15:58:10 +02:00
Benoit Marty
90e9dfbc36 Sync strings again after fix on Localazy. 2024-05-13 15:21:08 +02:00
bmarty
602b3988e4 Sync Strings from Localazy 2024-05-13 12:47:48 +00:00
Jorge Martin Espinosa
b524645b89 UX cleanup: room details (#2816)
* UX cleanup: room details screen

Add new CTA buttons for Invite and Call actions

* Update screenshots

* Fix maestro

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-08 11:42:33 +02:00
Jorge Martin Espinosa
9aadec8435 Enforce mandatory session verification only for new logins (#2811)
* Enforce mandatory session verification only for new logins

- Creates `AppMigration` base interface as a way to isolate migration logic, app migrations must implement this interface.
- Creates `AppMigration01` with the existing logs removal migration and `AppMigration02` with the logic to allow existing sessions to skip verification.
- Add `DefaultSessionPreferencesStoreFactory.remove(sessionId)` to allow a ephemeral session store access to exist outside the `SessionScope` for this new migration.

* Fix tests

* Add more tests.

This also includes creating several abstractions.

* Review changes.

- Make `orderedMigrations` a class property, `migrations` just a constructor parameter to avoid incorrect usages.
- Create `lastMigration` property too, use it instead of `MIGRATION_VERSION`.
2024-05-07 14:06:34 +00:00
bmarty
d2eb0d9820 Sync Strings from Localazy 2024-05-06 00:19:35 +00:00
Benoit Marty
66cfaf97c9 Open user profile and room with event from permalink 2024-05-02 12:25:21 +02:00
Joe Groocock
3e9ae00090 Pretty-print event JSON in debug view (#2771)
* Pretty-print event JSON in debug view

Significantly improves readability

Signed-off-by: Joe Groocock <me@frebib.net>

* Update screenshots

Signed-off-by: Joe Groocock <me@frebib.net>

---------

Signed-off-by: Joe Groocock <me@frebib.net>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-30 16:08:04 +02:00
Benoit Marty
f5060defa1 Merge pull request #2754 from element-hq/feature/valere/expected_utd_integration
Expected UTDs due to membership support
2024-04-30 11:03:36 +02:00
Benoit Marty
51d87a8309 Merge pull request #2759 from element-hq/feature/fga/permalink_timeline
Permalink timeline
2024-04-30 10:58:33 +02:00
Benoit Marty
f8a490f734 Add missing preview case. 2024-04-30 09:51:29 +02:00
Benoit Marty
c1568e3ce8 Remove unnecessary parenthesis 2024-04-30 09:47:20 +02:00
Benoit Marty
405a4840a8 Fix tests after change on InReplyTo classes 2024-04-29 23:05:40 +02:00
Jorge Martin Espinosa
b881643423 User display name overflows in timeline messages (#2767)
* User display name overflows in timeline messages

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-29 17:26:58 +00:00
Benoit Marty
20e376896e Handle click on reply navigation. 2024-04-29 17:55:45 +02:00