2554 Commits

Author SHA1 Message Date
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
Stefan Ceriu
df3e5976ce Bump the RustSDK to v1.0.79; add a feature flag for the new rust side ClientBuilder::useEventCachePersistentStorage nightly/1.9.10.785 2024-12-10 18:19:31 +02:00
Doug
e59a705459
Use TimelineMediaQuickLook in the MediaEventsTimelineScreen. (#3598) 2024-12-10 14:56:51 +02:00
Stefan Ceriu
ea0fa6b3b6
UI test snapshot fixes (#3597) 2024-12-10 10:02:57 +02:00
Doug
b5605a52e3
Update the timeline media QuickLook modifier. (#3593)
Not hooked up to any flows yet.
nightly/1.9.10.784
2024-12-09 15:23:12 +00:00
ElementRobot
7254b6e029
Translations update (#3592)
Co-authored-by: pixlwave <6060466+pixlwave@users.noreply.github.com>
2024-12-09 09:24:29 +00:00
Stefan Ceriu
caaa89af62
Media gallery - part 1(#3588)
* Introduce a `MediaEventsTimelineFlowCoordinator`
* Update SDK API and architecture
* Add a feature flag, add translations
* Move the media events timeline presentation under the room flow coordinator state machine
* Rename `TimelineViewState.timelineViewState` of type `TimelineState` to `timelineState`
* Enabled SwiftLint's `trailing_closure` rule and fix the warnings.
nightly/1.9.10.783
2024-12-06 16:58:14 +02:00
Doug
a9e4837b62
Use a Date for the timestamp in all timeline items. (#3590)
* Use a Date for the timestamp in all timeline items.

* UI test snapshots.

* Update snapshots

---------

Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2024-12-06 13:55:29 +00:00
Element CI
176a8b880a Prepare next release nightly/1.9.10.782 2024-12-05 08:28:20 -08:00
Doug
40d739f7ed
Use the new SendButton v2 design. (#3589) 1.9.9 2024-12-05 16:08:15 +00:00
Mauro
7cf88a16bd
Update sdk to 1.0.78 (#3586)
* updated sdk

* added cases

* correct error tracking

* right error label
2024-12-05 10:55:49 +01:00
Doug
ab2152096d
Fix UI snapshots. (#3585)
* Remove old snapshots.

* Add a check for the correct simulator name.

* Record mismatched snapshots.

* Regenerate more snapshots using a (temporary) higher precision.

* Fix snapshot.
nightly/1.9.9.781
2024-12-04 11:59:53 +00:00
fkwp
0085c20c64 increase ringing timeout from 15 seconds to 90 seconds 2024-12-04 10:40:11 +02:00
Doug
4966083b58
Add new development assets and use in mocks/previews. (#3581) nightly/1.9.9.780 2024-12-03 17:14:05 +00:00
Mauro
c566c64c78
added historical message error label string (#3580) 2024-12-03 17:21:02 +01:00
Element CI
7e5624f9c0 Prepare next release 2024-12-03 03:45:37 -08:00
Doug
4187155159
Enable local echoes for media uploads for all builds. (#3579)
* Enable local echoes for media uploads for all builds.

* Update a string.
1.9.8
2024-12-03 11:28:21 +00:00
Mauro
4372048c61
Update SDK 1.0.77 (#3578)
* update SDK

* added new cause case

* added historical message
2024-12-03 12:18:16 +01:00
Mauro
c7afde3801
Knock a room - added a char counter for the message (#3570)
* added a char counter

* moved code
nightly/1.9.8.779
2024-12-02 17:28:50 +01:00
ElementRobot
b8085356fb
Translations update (#3576)
* Translations update

* fix a test

---------

Co-authored-by: pixlwave <6060466+pixlwave@users.noreply.github.com>
Co-authored-by: Mauro Romito <mauro.romito@element.io>
2024-12-02 10:21:08 +00:00
Doug
34f1c61fe2
Add a warning to the media caption composer. (#3574)
We can now remove the feature flag.
nightly/1.9.8.778
2024-11-29 16:23:20 +00:00