Commit Graph

1039 Commits

Author SHA1 Message Date
Benoit Marty 80497a8b30 Remove unnecessary parenthesis 2024-04-30 09:47:20 +02:00
Benoit Marty f65025f841 Clearer code. 2024-04-26 17:21:11 +02:00
Benoit Marty 8a532769e3 Compact code. 2024-04-26 17:21:11 +02:00
Benoit Marty 7e5f270e2b Create proper PreviewParameterProvider for TimelineItemEncryptedContent
And remove `@Suppress("UNUSED_PARAMETER")`
2024-04-26 17:21:11 +02:00
Valere 971f44c0d3 Expected UTDs due to membership support 2024-04-26 17:21:10 +02:00
Benoit Marty c185f0c1c0 Format 2024-04-23 14:09:32 +02:00
Benoit Marty 06f07f906a fix bad userId 2024-04-22 18:05:26 +02:00
Benoit Marty c3f9d37b0b Fix test compilation issue. 2024-04-22 16:23:19 +02:00
Benoit Marty 644eebc6e4 Private 2024-04-22 16:23:18 +02:00
Benoit Marty 5914ec04da Format 2024-04-22 16:23:18 +02:00
Benoit Marty 237ba3d727 Improve display name disambiguation rendering #2722 2024-04-22 16:23:17 +02:00
Benoit Marty 8524e3626e Add Timeline item and reply preview with ambiguous display name 2024-04-22 16:23:17 +02:00
Benoit Marty 03abfcaadb Format state Event: use disambiguated Display name #2722.
- Rename some parameter and val from `senderDisplayName` (and consort) to `senderDisambiguatedDisplayName`.
- In `InReplyToDetails`, replace `senderDisplayName` and `senderAvatarUrl` by `senderProfile`.
2024-04-22 16:23:15 +02:00
Benoit Marty 74a9a54719 Rename Preview to follow code convention 2024-04-19 14:30:45 +02:00
Benoit Marty 1fcaf902e0 Rename eventId to focusedEventId for clarity. 2024-04-18 00:03:20 +02:00
Benoit Marty 33212a136c Open any user permalink. 2024-04-18 00:03:18 +02:00
Benoit Marty b7d214fa56 Update extension. 2024-04-18 00:03:17 +02:00
Benoit Marty 96203824ac Handle navigation to the same room. 2024-04-18 00:03:16 +02:00
Benoit Marty b1b5c563c7 Introduce RoomAliasResolverNode with error and retry handling. 2024-04-18 00:03:15 +02:00
Benoit Marty 09faa6d1c9 Simplify PermalinkData, now that we have RoomIdOrAlias interface. 2024-04-18 00:03:15 +02:00
Benoit Marty 8327ea306f Increase usage of RoomAlias 2024-04-18 00:02:22 +02:00
Benoit Marty ecd1bf76e2 Use RoomId and RoomAlias in MatrixRoomInfo 2024-04-18 00:02:10 +02:00
Benoit Marty 2a467bd49b Handle permalink navigation - WIP
- prepare navigating to an Event
- add NodeBuilder to MessagesEntryPoint
2024-04-18 00:02:09 +02:00
Benoit Marty 3df328b1ab Parse permalink using parseMatrixEntityFrom.
Create new PermalinkData type for link to Events.
Keep matrixToConverter for now to first convert to matrix.to link. At some point it may be done by the SDK.
Remove parse(Uri)
2024-04-15 17:47:40 +02:00
Benoit Marty 294f1f2d96 Use SDK API to build room and event permalinks. 2024-04-15 16:05:12 +02:00
Benoit Marty 131edd0ba4 Always use method aRichTextEditorState instead of invoking the constructor directly, and remove parameter when it's the default value. 2024-04-11 11:17:56 +02:00
Benoit Marty 810e4919bc Sync strings. 2024-04-10 12:36:41 +02:00
Benoit Marty 16d289e180 Exclude fun ContentToPreview() from coverage, this is not production code. 2024-04-08 16:20:42 +02:00
Benoit Marty d1965005b0 Add unit test on RetrySendMessageMenu 2024-04-04 15:29:16 +02:00
Benoit Marty 39af0b8ecd Add more assertions 2024-04-04 15:12:24 +02:00
Benoit Marty 94eb1dac4f Some renaming for clarity, especially "RemoveFailed" was not clear, developer may think the that removing has failed. 2024-04-04 15:08:25 +02:00
Benoit Marty 3bf2bf7bca Improve preview of RetrySendMenuMenu 2024-04-04 14:56:26 +02:00
Benoit Marty 2f7e30a88f Remove old ExtraPadding workaround. 2024-04-04 14:47:47 +02:00
Benoit Marty 4a2703810b Merge pull request #2653 from element-hq/feature/bma/copyPermalink
Copy permalink
2024-04-03 17:38:38 +02:00
Jorge Martin Espinosa 41287c5f59 Move session verification to FTUE flow, make it mandatory (#2594)
* Move session verification to the FTUE
* Allow session verification flow to be restarted
* Use `EncryptionService` to display session verification faster
* Remove session verification item from settings
* Remove session verification banner from room list
* Remove 'verification needed' variant from the `TimelineEncryptedHistoryBanner`
* Improve verification flow UI and UX
* Remove 'verification successful' snackbar message
* Only register push provider after the session has been verified
* Hide room list while the session hasn't been verified
* Prevent deep links from changing the navigation if the session isn't verified
* Update screenshots
* Renamed `FtueState` to `FtueService`, created an actual `FtueState`.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-03 14:53:17 +00:00
Benoit Marty bf068f4f25 Add action to copy permalink #2650 2024-04-03 15:37:21 +02:00
Benoit Marty e18e5f1cc5 Run ./tools/localazy/downloadStrings.sh --all 2024-04-02 18:12:36 +02:00
Benoit Marty 609f636d1c Merge pull request #2639 from element-hq/feature/bma/hideCallMemberEvents
Hide call member events
2024-04-02 16:14:11 +02:00
Benoit Marty 8e7fdc859c Code quality and remove reference to DefaultMatrixToConverter.SUPPORTED_PATHS in MatrixToConverter 2024-04-02 15:51:59 +02:00
Benoit Marty 1e5a61a49c Move PermalinkBuilder, MatrixToConverter and PermalinkParser content to the impl project in order to remove projects.appconfig dependency from matrix.api module. 2024-04-02 14:15:54 +02:00
bmarty 5809864182 Sync Strings from Localazy 2024-04-01 00:17:18 +00:00
bmarty 3af876b953 Sync Strings from Localazy 2024-03-25 00:18:59 +00:00
Jorge Martin Espinosa 6aa84d600e Implement MSC2530 (#2570)
* Implement MSC2530
* Some layout improvements for images and videos with captions
* Update screenshots
* Replace `it` in several previews with `isMine`

---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-20 13:58:29 +01:00
Jorge Martín cc9c04b1a3 Fix SDK integration 2024-03-20 09:36:35 +01:00
Jorge Martin Espinosa 883d834284 Remove unnecessary Room.updateMembers() calls. (#2564)
* Remove unnecessary `updateMembers` calls.

Some of them can be directly removed since we have a way to automatically get member info updates based on membership changes.

Others can be replaced by a simpler `getUpdatedMember` method. This might still need a full member sync, but it's quite unlikely.
2024-03-18 14:57:25 +00:00
Jorge Martin Espinosa 67d79059f8 Add legacy call invite state events and notifications (#2552)
* Add state timeline events and notifications for legacy call invites

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-03-14 16:29:06 +01:00
ganfra f1730a1514 Merge pull request #2537 from element-hq/feature/fga/fix_timeline_is_direct
Bugfix : fix timeline not showing sender info
2024-03-13 11:17:29 +01:00
Benoit Marty 470aca2652 Acronyms in camel case should have only the first letter capitalized. 2024-03-13 10:13:10 +01:00
Benoit Marty 59f66a9df0 Some string keys have been renamed, so rename them in the code. 2024-03-13 10:02:06 +01:00
Benoit Marty 72587d589f Run ./tools/localazy/downloadStrings.sh --all after some key renaming on Localazy. 2024-03-13 09:56:31 +01:00