Jorge Martin Espinosa
e1694fa4e8
Add room badges ( #2822 )
...
* Add room badges
* Remove no longer used `onShareRoomMember` callback
* Update screenshots
* Add changelog
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-05-09 08:38:40 +02:00
Jorge Martin Espinosa
2e93d842c7
UX cleanup: DM details screen ( #2820 )
...
* UX cleanup: user profile.
- Move send DM to a CTA button.
- Add 'Call' CTA button too when there is a DM with that user and a call is possible.
- Add missing tests.
* Update screenshots
* Add tests for clicking on the avatar
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-05-08 16:05:02 +02:00
Jorge Martin Espinosa
17f5b0fe77
UX cleanup: DM details screen ( #2817 )
...
* UX cleanup: DM details screen
Reuse `MainActionsSection` for DMs too, hiding the Share CTA in that case.
* Update screenshots
* Fix tests
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-05-08 12:49:44 +02: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
Benoit Marty
96c8786626
Merge pull request #2797 from element-hq/sync-localazy
...
Sync Strings
2024-05-06 17:23:42 +02:00
Jorge Martin Espinosa
01a048e219
UX cleanup: reorder options in the main settings screen ( #2802 )
...
* UX cleanup: reorder options in the main settings screen
* Update screenshots
* Group sections in composables
* Add some horizontal padding to the `Footer` component
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-05-06 15:20:03 +00:00
Benoit Marty
d6dc750dfe
Add links to the matching assetlinks.json files.
2024-05-06 11:34:23 +02:00
Benoit Marty
5d4c5fec4d
Format file (no other change)
2024-05-06 11:14:24 +02:00
Benoit Marty
f0dd3fec21
Explicitly set domain for external link handling.
...
And revert change: let ElementCallActivity handle again `call.element.io` links.
2024-05-06 11:12:09 +02:00
bmarty
d2eb0d9820
Sync Strings from Localazy
2024-05-06 00:19:35 +00:00
Benoit Marty
1ea1fa9a68
Sort imports.
2024-05-03 12:17:41 +02:00
Benoit Marty
4e21586373
Improve documentation
2024-05-03 12:16:46 +02:00
Benoit Marty
0d294ff171
Format
2024-05-03 09:34:54 +02:00
Benoit Marty
a4e8d7d214
Let MainActivity manage Element Call https links.
2024-05-02 15:37:57 +02:00
Benoit Marty
66cfaf97c9
Open user profile and room with event from permalink
2024-05-02 12:25:21 +02:00
Benoit Marty
76bbbe57ba
Remove the FtueEntryPoint.Callback, LoggedInFlowNode is already observing the Ftue state to change the root target.
2024-05-01 13:49:57 +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
Benoit Marty
2e2d1277e8
Map all replyTo data and add preview for loading and erorr case.
2024-04-29 17:41:25 +02:00
Benoit Marty
65db3d597a
Remove unused newTimelineById
2024-04-29 14:09:06 +02:00
Benoit Marty
b511f24355
Add test on focusRequestState for event TimelineEvents.FocusOnEvent and TimelineEvents.JumpToLive
2024-04-29 12:31:23 +02:00
Benoit Marty
a5eb3f8f91
focusOnLive() is not suspendable.
2024-04-29 12:15:14 +02:00
Benoit Marty
f0b9029607
Test TimelineView regarding "Jump to bottom" button.
2024-04-29 10:07:20 +02:00
Benoit Marty
0532f79a19
Extract extension setTimelineView
2024-04-29 09:56:19 +02:00
Benoit Marty
de4b21cab1
Remove unused method
2024-04-29 09:48:14 +02:00
bmarty
7383ac6678
Sync Strings from Localazy
2024-04-29 00:18:59 +00:00
Benoit Marty
5aff720c4e
Make FocusRequestState immutable.
2024-04-26 18:56:04 +02:00
Benoit Marty
2bc8d6e632
Add unit test on TimelineItemIndexer
2024-04-26 18:50:20 +02:00
Benoit Marty
16f0d9d446
Test TimelineController
2024-04-26 18:27:10 +02:00
Benoit Marty
5f1c1dcd23
No need to have a MutableStateFlow for the live timeline.
2024-04-26 17:28:54 +02:00
Benoit Marty
525c8cbc69
Clearer code.
2024-04-26 17:21:11 +02:00
Benoit Marty
138f4d9525
Compact code.
2024-04-26 17:21:11 +02:00
Benoit Marty
fdb13ebca5
Create proper PreviewParameterProvider for TimelineItemEncryptedContent
...
And remove `@Suppress("UNUSED_PARAMETER")`
2024-04-26 17:21:11 +02:00
Valere
808bbf33a4
Expected UTDs due to membership support
2024-04-26 17:21:10 +02:00
Benoit Marty
7b55b0e327
Add mapping on FocusEventException.
...
Extract FocusRequestState to its own file and add preview.
2024-04-26 16:40:09 +02:00
Benoit Marty
03040e5507
Do not ignore those tests.
...
(was committed by mistake)
2024-04-26 16:40:09 +02:00
Benoit Marty
9b4fa0f03d
Fix detekt issues
2024-04-26 15:23:24 +02:00
Benoit Marty
ee7f0bac8b
Improve preview of TimelineLoadingMoreIndicator
2024-04-26 14:51:33 +02:00
Benoit Marty
471eb2cadc
Move LiveTimelineProvider to the test module.
2024-04-26 14:47:01 +02:00
Benoit Marty
cd2b78459a
Fix issue with Gradient rendering.
2024-04-26 14:40:54 +02:00
Benoit Marty
174b1a4888
Improve focusedEvent rendering when sender information are displayed.
2024-04-26 14:29:02 +02:00
Benoit Marty
31946a98ad
Add preview for focusedEvent.
2024-04-26 14:21:12 +02:00
Benoit Marty
21ddeb00fe
Format and cleanup files
2024-04-26 13:57:08 +02:00