Commit Graph

6055 Commits

Author SHA1 Message Date
Benoit Marty da272ddb07 Implement month separator for the Gallery.
Improve day separator rendering in the timeline.
Use Today, Yesterday, and the name of the day if less than 7 days and do not render the year for the current year.
Improve date format for the media viewer.
Rework how date and time are computed.
ActionListView: Time can take more space, so update the layout.
2024-12-11 23:57:57 +01:00
Richard van der Hoff cf93e33915 Support new properties in posthog UTD reports
Add a few new properties to the UTD reports we send to Posthog.
2024-12-11 17:33:16 +00:00
ganfra e9a1c30462 knock requests : expose api through Room 2024-12-11 17:50:44 +01:00
Benoit Marty 4e70c7edbe Fix compilation issue. 2024-12-11 12:28:28 +01:00
Benoit Marty 259fe538d6 Merge pull request #4018 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.70
2024-12-11 12:23:41 +01:00
Benoit Marty 11ebe163d3 Fix tests 2024-12-11 10:41:55 +01:00
Benoit Marty 6fab5a5eea Add TODO for the event cache 2024-12-11 10:08:53 +01:00
Benoit Marty 1ea5388dc2 DayDivider has been renamed to DateDivider.
For the main timeline, we can keep the name `VirtualTimelineItem.DayDivider`
2024-12-11 09:59:13 +01:00
Benoit Marty 213dd408f2 Handle new EventCache Exception 2024-12-11 09:57:45 +01:00
Benoit Marty 0113a52c66 Fix test.
I'll iterate on the various date format in a separate PR.
2024-12-11 09:55:04 +01:00
Benoit Marty 1c691d2433 Add unit test on MediaItemsPostProcessor 2024-12-10 16:57:41 +01:00
Benoit Marty ec821bb9c7 Order imports. 2024-12-10 15:58:44 +01:00
Benoit Marty bb06b68110 Let the Presenter use real classes. 2024-12-10 15:56:54 +01:00
Benoit Marty 1b7d3a33b7 Add test on DefaultEventItemFactory 2024-12-10 15:16:41 +01:00
Benoit Marty e5b34216e9 Media timeline: improve pagination logic. 2024-12-10 15:11:53 +01:00
Benoit Marty 36eceb75e8 Move bottom state to the View state 2024-12-10 13:38:28 +01:00
Benoit Marty db0bca9721 Improve preview. 2024-12-10 13:10:25 +01:00
Benoit Marty f314c25039 Iterate on Error rendering. 2024-12-10 13:04:53 +01:00
Benoit Marty 6fbd343076 Introduce GroupedMediaItems for code clarity 2024-12-10 13:01:33 +01:00
Benoit Marty 893c152272 Add missing previews 2024-12-10 12:28:42 +01:00
Benoit Marty 0f43e7c1b8 More formatting 2024-12-10 10:42:23 +01:00
Benoit Marty 6dbfa94a71 Fix test. 2024-12-10 09:56:08 +01:00
Benoit Marty cce1c9974a Format file. 2024-12-10 09:28:46 +01:00
Benoit Marty 6386645e0b Remove extra space. 2024-12-10 09:24:45 +01:00
Benoit Marty a89a9c35d8 Remove not needed MediaGalleryTimelineProvider 2024-12-10 09:24:31 +01:00
Benoit Marty a40aff6618 Change scope to RoomScope 2024-12-10 09:04:14 +01:00
Benoit Marty e55e977950 Remove TimelineMediaItemsCacheInvalidator, it is not needed. 2024-12-10 09:01:42 +01:00
Benoit Marty 323ae0ad2e Rename imageItems to imageAndVideoItems. 2024-12-10 08:57:36 +01:00
Benoit Marty 197fda5d0e Rename onDone to onBackClick. 2024-12-10 08:51:43 +01:00
Benoit Marty 220704077c remove blank line. 2024-12-10 08:46:07 +01:00
Benoit Marty ae0593d555 Rename preview. 2024-12-10 08:07:12 +01:00
Benoit Marty 73143d88c0 Fix preview 2024-12-09 17:52:59 +01:00
Benoit Marty d81859705d Fix preview. 2024-12-09 17:34:52 +01:00
Benoit Marty 653c1e8214 Sync strings. 2024-12-09 17:16:29 +01:00
Benoit Marty 3e1b1c29d1 Media Gallery 2024-12-09 16:48:48 +01:00
Benoit Marty c1c1264e9a Merge pull request #4007 from element-hq/sync-localazy
Sync Strings
2024-12-09 16:47:34 +01:00
ganfra 9dac27a165 Merge pull request #4005 from element-hq/feature/fga/requests_to_join_banner
feat(knock) : Knock Requests Banner UI
2024-12-09 11:54:43 +01:00
ganfra cc9365a2c4 misc : introduce List.firstIfSingle extension 2024-12-09 11:18:04 +01:00
ganfra e383c7f907 knock requests : use proper banner string resources 2024-12-09 11:01:42 +01:00
bmarty e8218b3a7c Sync Strings from Localazy 2024-12-09 00:30:45 +00:00
Benoit Marty d1cfad4ec8 Merge pull request #4004 from element-hq/feature/bma/customAlertSolid
Add destructive param to BigIcon.Style.Default to be able to render icons with red tint
2024-12-06 16:58:05 +01:00
Benoit Marty 4cf0fdb00e Update doc and rename param. 2024-12-06 13:59:31 +01:00
ganfra 84299fc37a knock requests : start implementing banner ui 2024-12-06 13:29:31 +01:00
ganfra eae73ac2b9 Merge pull request #3995 from element-hq/feature/fga/requests_to_join_list
feat(knock_requests_list) : implement design
2024-12-06 13:28:52 +01:00
Benoit Marty 175431fa86 Fix BigIcon preview. 2024-12-06 13:22:56 +01:00
Benoit Marty 21f7bcd9f8 Add destructive param to BigIcon.Style.Default to be able to render icons with red tint. 2024-12-06 11:58:52 +01:00
Benoit Marty 5a8aabdb4d MediaViewer: Show divider above the caption only if there is a caption and the media is video (to have a divider with the video controller) 2024-12-06 10:19:19 +01:00
Benoit Marty 9c02c4cfde MediaViewer: Align title to left and move action bottom to top bar. 2024-12-06 10:02:16 +01:00
ganfra 317931dc0c Merge pull request #4000 from element-hq/feature/fga/send_button_update
feat(design) : update send button background
2024-12-05 18:24:46 +01:00
ganfra f2910272e8 feat(design) : update send button to match new background 2024-12-05 17:23:52 +01:00