2574 Commits

Author SHA1 Message Date
Stefan Ceriu
4488202dac Fix encryption settings UI test snapshots 2024-12-25 21:00:48 +02:00
Stefan Ceriu
9a00b983c3 Bump the RustSDK to version 24.12.20 nightly/1.9.11.795 nightly/1.9.11.793 2024-12-20 16:22:03 +02:00
Doug
885a5b9f36
Design tweaks. (#3645)
* Update the background colour of the VisualList component.

* Update the recovery key field to match the designs.
2024-12-20 14:13:23 +00:00
Doug
b8106f36ba
Fix the overlapping scrollbars on macOS. (#3646) 2024-12-20 13:54:41 +00:00
Stefan Ceriu
536f01abbd
Retrofit deferFulfillment onto snapshot tests. (#3641)
* Retrofit `deferFulfillment` onto snapshot tests.

* Convert a bunch of preview tests to the new fulfillment publisher

* Convert more tests

* Remove unneeded delays from the remaining tests

* Remove snapshotting delay option.
2024-12-20 15:30:59 +02:00
Doug
365797c8b7
Autofocus emoji search and send the first result with the return key on macOS. (#3644)
* Autofocus emoji search and send the first result with the return key on macOS.

* Add an extra condition to make sure the user has entered a search string before sending.
2024-12-20 11:25:05 +00:00
Doug
888a61ace1
Media upload tweaks (#3643)
* Focus the media caption composer if a hardware keyboard is available
Not worrying about live connections, this screen is short lived.

* Fix a bug where you could hit the send button multiple times while waiting for the media to be converted.

* Begin processing media as soon as the media upload screen is shown.
2024-12-20 10:34:22 +00:00
Element CI
98c57b60d3 Prepare next release nightly/1.9.11.792 2024-12-19 06:59:50 -08:00
Doug
3aa7edc508
Enable the media browser feature 🖼️ (#3642)
* Overlay a progress indicator for downloads instead of using a toast indicator.

* Update the SDK.

* Remove the feature flag for the media browser.

* Remove the media captions feature flag too.

* Add unit test cases for download failure and swiping between items.

* Snapshots (with the media browser visible in the screen).
1.9.10
2024-12-19 14:15:31 +00:00
Stefan Ceriu
21a15936a9 Fix #3639 - Reorder timeline item menu options 2024-12-19 13:18:12 +02:00
Doug
e7cc807084
Add a fullscreen button to TimelineMediaPreviewScreen and hook up swiping through the timeline. (#3638)
* Add a fullscreen button to media previews - Not ideal but the gestures conflict with the preview controller.

* Don't un-flip the preview thumbnail until the preview has disappeared, and only do it on iOS 18.

* Add all of the loaded items for previewing in the preview controller.
nightly/1.9.10.791
2024-12-18 19:10:19 +00:00
Stefan Ceriu
435dfb8e46
Automatically retry decryptions in the active room when the app becomes active again just in case the NSE received keys we're not aware of (#3628) 2024-12-18 11:10:56 +02:00
Doug
2a865ce5bf
Implement the save action when previewing media. (#3630)
* Implement the save action on the media preview.

* Update Compound and use the correct icon.

Also fixes an icon that has been renamed.

* Update the add to photo library usage description to match the designs.

* PR comments.
nightly/1.9.10.790
2024-12-17 16:35:51 +00:00
Mauro
2b82b94500
updated sdk to 1.0.82 (#3631) 2024-12-17 14:42:24 +01:00
Mauro
1496d477a4
updated details design (#3626) 2024-12-17 11:50:01 +00:00
Doug
a16f169a92
Disable semantic commits from Renovate (#3629)
* Disable semantic commits from Renovate

* Add a Danger check for semantic commits.
2024-12-17 11:16:27 +00:00
Stefan Ceriu
598e604851 Fix state change commented by mistake and simplify snapshot test setup (+ a couple of warnings) 2024-12-17 11:06:33 +02:00
Valere
52463cdf8f feat(crypto): Support for new UtdCause for historical messages 2024-12-17 10:15:35 +02:00
Stefan Ceriu
61ad718007 Fix video item duration formatting nightly/1.9.10.789 2024-12-16 19:21:28 +02:00
Stefan Ceriu
60e94120cc Implement frequency tracking for frequently used emojis 2024-12-16 19:21:28 +02:00
Stefan Ceriu
e04c87445e Fix #3620 - Fix frequently used emojis, stop relying on Apple's keyboard values and store everything app side instead. 2024-12-16 19:21:28 +02:00
Stefan Ceriu
f9be39eb4f Fix the media gallery's empty state showing up at wrong times. 2024-12-16 19:21:28 +02:00
Doug
3a82b88859
Rework the presentation of the media browser quick look view to use SwiftUI. (#3619)
* Embed the media preview quick look inside a full screen cover

With a zoom transition on iOS 18.

* Use a the representable coordinator properly.

* Fix a bug with the toolbar appearance.

* Format

* Try prevent the zoom transition being upside down.

* Fix the snapshot test configuration.
2024-12-16 15:27:50 +00:00
Mauro
45a630dd85
Implement Knock Logic (#3573)
* WIP RequestToJoin struct

* implemented the logic to display the cells

* knock request banner accept flow

* mark all knocks as seen implemented

* details logic

* implemented accept, decline and ban in the list

* added a loader and modified the stacked view

of the banner

* pr suggestions

* updated naming and loading strings

* added the initial loading state

improved code and the tests

* updated a string that has changed

* code improvement

* tests for the room screen view model

* room details tests

and improved the knock requests tests for the room screen

* knock requests list tests

* added error state alerts with retry

* struct has been renamed on the sdk

so I renamed it also on the app side

* update SDK
2024-12-16 15:32:45 +01:00
renovate[bot]
016cdc687a
chore(deps): update dependency fastlane to v2.226.0 (#3621)
* chore(deps): update dependency fastlane to v2.226.0

* Actually update it 🙄

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Doug <douglase@element.io>
2024-12-16 10:37:51 +00:00
pixlwave
0e46173aea Translations update 2024-12-16 09:51:26 +02:00
Stefan Ceriu
78aa0e3974 Add a comment on bubble background modifier default parameter values. nightly/1.9.10.788 2024-12-13 19:31:35 +02:00
Stefan Ceriu
13875e61f8 Fix MediaFileRoomTimelineContent tap gesture taking over media event timeline taps. 2024-12-13 19:31:35 +02:00
Stefan Ceriu
b0f4f42ff2 Add empty states for the media gallery sections 2024-12-13 19:31:35 +02:00
Stefan Ceriu
7da081b15b Update the other affected snapshots 2024-12-13 19:31:35 +02:00
Doug
42b4b331bd Update FormattedBodyText snapshots. 2024-12-13 19:31:35 +02:00
Stefan Ceriu
c97dcc18f2 Simplify how we build bubbles for previewing purposes, make use of the new bubbleBackground modifier. 2024-12-13 19:31:35 +02:00
Stefan Ceriu
681daf50ea Stop adding empty groups to the gallery. 2024-12-13 19:31:35 +02:00
Stefan Ceriu
40d820d4f4 Stop passing the whole timeline item to the bubble background modifier. 2024-12-13 19:31:35 +02:00
Mauro
b11fbc6cce
Security and privacy part 1 (#3617)
* added the security and settings button in details

* added content to the view

* added enable encryption alert

* updated preview tests and the UI

* removed wrong plists committed by mistake

* pr suggestions
2024-12-13 18:29:17 +01:00
Stefan Ceriu
e5da7ebd2d Various danger swift rule tweaks
* remove the ticket number check, it's noisy
* remove signoff now that we have cla checks
* fix description image attachments check
2024-12-13 17:43:25 +02:00
Stefan Ceriu
56ffe40e97 Bump the RustSDK to v1.0.80 2024-12-13 12:56:35 +02:00
Valere
40714f32fd feat(posthog): wire support for extra utd error properties 2024-12-13 12:56:35 +02:00
renovate[bot]
92ca7b5f3c Update dependency fastlane to v2.226.0 2024-12-13 09:58:33 +02:00
Stefan Ceriu
256ae4d2cc
Custom media gallery views for files and voice messages (#3610)
* Extract the timeline item background from the BubbledStyler.
* Use different views for files and voices messages, reuse the timeline content but only keep the bubble background instead of the whole TimelineStyler.
* Add back max voice message width and add missing accessibility label
nightly/1.9.10.787
2024-12-12 17:48:41 +02:00
Doug
88b5426e97
Hook up the actions in the media details sheet. (#3607) 2024-12-12 09:22:36 +00:00
Stefan Ceriu
114255c5ec
Media gallery - support for files and voice messages (#3605)
* Move the voice message views to where they belong
* Add separate struct for each media events timeline view
* Add support for all the different media gallery message types and get the files section working
2024-12-12 10:02:10 +02:00
Doug
606eb0a30a Fix a bug where you're shown the remove caption action when it isn't available. 2024-12-12 08:29:15 +02:00
renovate[bot]
5e2ddf6402 Update dependency fastlane to v2.226.0 2024-12-12 08:28:16 +02:00
Mauro
89b9259b76
Design Tweaks (#3606)
* updated the order of the room details

also...
- removed the bloom bg from the join room screen
- now DMs do not necessarily need to be encrypted rooms
- changed bg of the knock banner

* removed unnecessary disabled

* updated join room screen tests
nightly/1.9.10.786
2024-12-11 17:42:33 +00:00
Doug
c827ab9165
Configure the media preview screen based on the event and presentation. (#3604)
* Configure media previews based on the presenting screen.

* Switch on TimelineKind instead of having an isPinnedEventsTimeline Bool.
2024-12-11 15:40:31 +00:00
Mauro
9856e3e5b4
Fix tap knockable room and custom keyboard did show scrolling (#3603)
* making knockable rooms tappable

* added a way to customise the keyboard scrolling

in case we want the focussed view/textview to display something outside its content

* better documentation
2024-12-11 16:09:52 +01:00
renovate[bot]
4931ad0ed3 Update dependency fastlane to v2.226.0 2024-12-11 13:36:53 +02:00
Stefan Ceriu
0b85964f73
Monthly media gallery separators (#3601)
* Fix the order of the items in the media grid.
* Add media gallery timeline separators.
* Change the `SeparatorRoomTimelineItem` to have it expose a Date timestamp instead of a text string.
2024-12-11 13:32:29 +02:00
renovate[bot]
ee2da536af
Update dependency fastlane to v2.226.0 (#3600)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-11 08:58:08 +00:00