Commit Graph

3433 Commits

Author SHA1 Message Date
Benoit Marty
f3ebf2d9db Fix import ordering. 2024-08-21 16:31:03 +02:00
Benoit Marty
6aab5f59cf Add feature flag for room alias suggestions, disabled by default. 2024-08-21 15:50:55 +02:00
Benoit Marty
4b8985e501 Suggestion for room alias.
Rename `Mention` to `IntentionalMention` for clarity
Remove dead code, there is no intentional mention for Room or RoomAlias.
Rename `IntentionalMention.AtRoom` to `IntentionalMention.Room` to match Rust naming
2024-08-21 15:32:05 +02:00
Benoit Marty
180fbaaa0a Merge pull request #3318 from element-hq/feature/bma/checkMethodName
Add test on function name which may start or end with spaces
2024-08-21 09:25:47 +02:00
Jorge Martin Espinosa
fd4de40851 Fix reset identity with password stuck in loading state. (#3317)
Make sure `resetIdentityFlowManager.whenResetIsDone` is registered *after* the previous reset attempt is cancelled, otherwise the current one will be cancelled instead.
2024-08-20 19:04:20 +00:00
Benoit Marty
a8f0c6c2b2 Add test on function name which may start or end with spaces and fix existing issues. 2024-08-20 17:11:30 +02:00
Benoit Marty
5c2072ae5b Merge pull request #3307 from element-hq/feature/bma/cleanup
Cleanup and add unit test for DefaultPinnedMessagesBannerFormatter
2024-08-20 09:10:31 +02:00
bmarty
5765d9bf9f Sync Strings from Localazy 2024-08-19 00:25:36 +00:00
Benoit Marty
c420fcad18 Merge pull request #3240 from element-hq/feature/valere/message_shields
Timeline UI | MessageShield Support
2024-08-16 14:25:33 +02:00
Benoit Marty
260d3eb39e Remove useless Boxes. 2024-08-16 11:58:18 +02:00
Benoit Marty
615e75296c Default value to redact own message should be true. 2024-08-16 11:58:18 +02:00
Benoit Marty
7182baf298 Move editMessageLambda to the constructor. 2024-08-16 11:58:17 +02:00
Benoit Marty
350c678199 Add preview for message shield dialog. 2024-08-16 11:33:52 +02:00
Benoit Marty
0190cb5626 Add UI test on clicking on message shield.
Need to add content description on the shield icon.
2024-08-16 11:16:07 +02:00
Benoit Marty
750ecbee82 Add test on TimelineEvents.ShowShieldDialog and TimelineEvents.HideShieldDialog 2024-08-16 10:45:20 +02:00
Benoit Marty
f280ea6a0d Iterate on mapping MessageShield -> icon
iOS impl: https://github.com/element-hq/element-x-ios/blob/develop/ElementX/Sources/Services/Timeline/TimelineItemContent/EncryptionAuthenticity.swift#L59-L65
2024-08-16 09:56:01 +02:00
Benoit Marty
0362498fae Make extension isCritical a val instead of a fun. 2024-08-16 09:56:01 +02:00
Benoit Marty
34268a30ea Iterate on shield mapping and rendering
Also handle click on the timeline and information displayed on long click.
2024-08-14 17:24:11 +02:00
Jorge Martín
9c09f96c0b Fix most review comments 2024-08-14 16:53:50 +02:00
Benoit Marty
5dceba8146 Merge branch 'develop' into feature/valere/message_shields 2024-08-14 12:37:31 +02:00
Jorge Martín
08ed272991 Add an extra test 2024-08-13 08:55:07 +02:00
Jorge Martín
429853b957 Remove unused import 2024-08-13 08:55:07 +02:00
Jorge Martín
b3e811bc7e Fix Konsist failures 2024-08-13 08:55:07 +02:00
Jorge Martín
4f1adb1609 Fix vertical position for the primary button in VerifySelfSessionView 2024-08-13 08:55:06 +02:00
Jorge Martín
0ddadd8c5a Fix lint issues 2024-08-13 08:55:06 +02:00
Jorge Martín
903d24ea2f Improve APIs, add tests 2024-08-13 08:55:06 +02:00
Jorge Martín
252b3e11a0 Improve existing APIs 2024-08-13 08:55:06 +02:00
Jorge Martín
2283e0e361 Use extracted OIDC flow to display the reset identity screen 2024-08-13 08:55:05 +02:00
Jorge Martín
d5c2e5e436 Extract OIDC to its own module 2024-08-13 08:55:05 +02:00
Jorge Martín
e16057a366 Initial implementation of the reset identity feature 2024-08-13 08:55:05 +02:00
ElementBot
01617e1c9d Sync Strings (#3297)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-08-12 06:03:23 +00:00
ganfra
ad85732427 Pinned events : minor code quality changes 2024-08-08 14:51:49 +02:00
ganfra
9334ba6ed5 Pinned events: make sure state is preserved 2024-08-07 19:00:41 +02:00
ganfra
4f6fbea5b9 Pinned events: fix public compose method. 2024-08-07 16:31:23 +02:00
ganfra
3cdf0971a6 Pinned events : banner goes backward instead of forward 2024-08-07 15:57:27 +02:00
ganfra
4330b1e685 Pinned events : add some ui testing 2024-08-07 12:26:52 +02:00
ganfra
a7bf0b4900 Pinned events : use correct ordering logic 2024-08-06 19:05:08 +02:00
ganfra
b13e121dc6 Pinned events : fix click on banner 2024-08-06 16:51:53 +02:00
ganfra
291ccd45da Pinned events: add tests on PinnedMessagesBannerPresenter 2024-08-06 16:13:30 +02:00
ganfra
4771b25fe3 Pinned events : handle loading/error on banner 2024-08-06 15:08:45 +02:00
ganfra
27b33eefc6 Merge branch 'develop' into feature/fga/pinned_message_banner_logic 2024-08-05 20:46:24 +02:00
ElementBot
9bd014427b Sync Strings (#3267)
Co-authored-by: jmartinesp <480955+jmartinesp@users.noreply.github.com>
2024-08-05 07:11:27 +00:00
ganfra
7d177b4b4d Pinned events : handle focus on pinned event 2024-08-02 15:35:53 +02:00
ganfra
c820003414 Pinned events : add the glue for the ViewAll click. 2024-08-02 12:18:36 +02:00
ganfra
9a8c58313d Pinned events : only load data if feature is enabled 2024-08-02 11:14:24 +02:00
ganfra
9985526137 Pinned events : start branching sdk data in the banner. 2024-08-01 18:34:52 +02:00
ganfra
1496c06162 Merge pull request #3260 from element-hq/feature/fga/start_sync_on_push
Feature/fga/start sync on push
2024-08-01 12:14:42 +02:00
ganfra
fe807b9133 Sync on push : fix CallScreenPresenterTests after last changes. 2024-08-01 11:21:05 +02:00
ganfra
0969470066 tests : refactor some classes 2024-07-31 21:14:29 +02:00
ganfra
3971ee333d Pinned events : clean up more banner code 2024-07-31 15:51:19 +02:00