Commit Graph

4815 Commits

Author SHA1 Message Date
Danny d74d53e4ee Extend the room details screen hook (#6173)
* Allow Enterprise sections in room details

Signed-off-by: Daniel Anderson <daniel.anderson@toptal.com>

* Update the Enterprise submodule and strings

Signed-off-by: Daniel Anderson <daniel.anderson@toptal.com>

---------

Signed-off-by: Daniel Anderson <daniel.anderson@toptal.com>
2026-09-28 12:11:23 -06:00
Stefan Ceriu e51d869fdc Adopt the new send queue interfaces 2026-09-28 15:36:52 +03:00
Copilot 690f2be5f4 Resume app lock continuation after forced logout (#6199)
* Initial plan

* Resume app lock continuation on forced logout

Co-authored-by: pixlwave <6060466+pixlwave@users.noreply.github.com>

* Add regression coverage for forced logout verification

Co-authored-by: Velin92 <34335419+Velin92@users.noreply.github.com>

* Revert "Add regression coverage for forced logout verification"

This reverts commit 64cda7c665ab5ca736110d606250c26e22234619.

Co-authored-by: Velin92 <34335419+Velin92@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pixlwave <6060466+pixlwave@users.noreply.github.com>
Co-authored-by: Velin92 <34335419+Velin92@users.noreply.github.com>
2026-09-28 12:28:01 +02:00
Doug 07b8d1fcb9 Update the Enterprise submodule. 2026-09-28 13:04:37 +03:00
Doug a948e2d3aa Rebase on develop. 2026-09-28 13:04:37 +03:00
Doug c0469e681f Fix unit tests. 2026-09-28 13:04:37 +03:00
Doug fccad5fc30 Replace AppSettings with UserSettings from the UserSessionFlow and below.
Remove some redundant injections when passed alongside a user session too.

# Conflicts:
#	ElementX/Sources/Screens/PinnedEventsTimelineScreen/View/PinnedEventsTimelineScreen.swift
#	ElementX/Sources/Screens/Timeline/TimelineViewModel.swift
2026-09-28 13:04:37 +03:00
Doug 54cc1cba60 Add a new AccountSettings type and compose it with AppSettings into UserSettings.
The new type doesn't contain any settings yet.
2026-09-28 13:04:37 +03:00
Stefan Ceriu 44fb05f489 Make Sentry and PostHog default settings explicit
... and clearly disable the intrusive ones
2026-09-28 11:04:22 +03:00
Stefan Ceriu 9205e11193 Bump the RustSDK to v26.09.25 2026-09-25 17:16:57 +03:00
Mauro ad1d7a3010 Add multi selection to the Forward action (#6190)
* Start message selection from the Forward action

Behind the multi-select developer option, choosing Forward on a message
now starts a selection with that message checked, instead of the
dedicated Select menu action which is removed. Only forwardable
messages can be selected: remote, decrypted, non-redacted events that
aren't state, unsupported, poll or live location items.

The chrome follows the Figma exploration: the room header stays, an X
in the trailing toolbar position ends the selection, rows show only the
checkbox (no highlight, 10pt gap to the bubble), and the composer is
replaced by a single primary "Forward N messages" button. The limits
are now 10 messages into 5 rooms.

Tapping the button forwards the selection in timeline order, never in
the order the messages were tapped. MessageForwardingItem carries
several contents and the forwarding screen sends them one after the
other per room, reporting a single error toast on partial failures.
The selection is kept while the forwarding screen is open so cancelling
it returns to the selection; it is cleared by the flow coordinator once
the messages are sent, or by the X in the timeline.

New plural action_forward_messages lives in Untranslated for now;
action_select and screen_room_selection_count are no longer used.

* Tidy the selection code after review

Reuse ToolbarButton's cancel role for the selection's toolbar item so it
matches the other screens on every OS version, and disable the room
header while selecting so the room details can't cover the selection.

Move the forwardable/selected item helpers next to the existing
nonisolated array extension, drop the unused MessageForwardingItem
initialisers and the single-item makeForwardingItem overload, and
simplify the forwarding loop now that a room either sends or isn't
reachable.

The action bar preview builds its own view model instead of putting
the shared mock into selection mode for every later preview, and a
test locks that Forward keeps forwarding directly in the pinned
timeline.

* Select messages to forward from the pinned timeline too

Forward is offered in the pinned events timeline, so with the flag on
it starts a selection there as well, with the same cancel item in the
toolbar and the same forward button at the bottom. Forwarding from
that sheet already dismisses the whole sheet, so the selection is
discarded with it. Only the media timelines keep forwarding a single
item directly.

* Confirm with a toast when messages are forwarded to several rooms

When a single room is picked the flow opens it, which is confirmation
enough. When several rooms are picked the user stays in the origin room,
so a "Messages forwarded" toast tells them it worked, as in the designs.
The new screen_room_message_forwarded / screen_room_messages_forwarded
strings live in Untranslated for now.

* Apply review suggestions to multi-message forwarding

Strings
- The forward button and the multi-room toast now use the Localazy
  plurals action_forward_messages and screen_room_messages_forwarded;
  the toast shows the count. The Untranslated copies and the unused
  action_select are gone.

Selection
- Drop the dead startSelection view action and the redundant
  canSelectMessages guard; tests start a selection through Forward
  like the app does.
- Remove two comments on the selection state that restated the code.

Forwarding
- After a send, clear the selection in the room and any open thread
  instead of working out which one started it; only one can be
  selecting at a time.
- Explain that stickers are excluded because the SDK can only forward
  m.room.message content.

* Rename the timeline selection to message selection

"Selection" alone was too generic in a timeline that also has text and
room selections. The selection state, toolbar, action bar and
accessibility types, the timeline state's property, the view actions
and the public clear method now say "message selection". Private
helpers keep their short names.

* Rename MessageForwardingItem to MessageForwardingPayload

The type now carries several messages, so "item" no longer described
it. The factory method and the variables and action labels holding it
follow the new name.
2026-09-25 11:51:14 +00:00
Stefan Ceriu fc8ee9d93d Room list notifications tweaks (#6106)
We decided against changing how unread activity is rendered in the room list, so the experiment and its developer option are no longer needed.
we have also added a notification settings entry for hiding the room list gray dots.
2026-09-25 13:36:33 +03:00
Stefan Ceriu cc07e07833 Fix UI test snapshots
after enabling room list badge counts and changing the rail trailing padding.
2026-09-25 12:13:08 +03:00
Doug 1b12955fa6 Handle unexpected user status emoji values gracefully. 2026-09-24 20:56:25 +03:00
renovate[bot] c2f1dcc024 Update codecov/codecov-action action to v7.1.1 2026-09-24 15:50:34 +03:00
Stefan Ceriu 12d937a5a8 TabRail layout fixes (#6172)
* Attempt another TabRail layout fix by just keeping it visible all the time
* Move one of the sidebar dividers to the tab rail.
2026-09-24 15:47:46 +03:00
Stefan Ceriu 5e56bf3468 Enable the search index store for the authentication client too 2026-09-23 18:37:42 +03:00
Stefan Ceriu df3bdb992a Share the test passphrase through a RestorationTokenFixtures enum.
The legacy restoration token formats store the passphrase as a base64 string
whereas the current one exposes Data, so keep both representations of the
same value in one place instead of repeating the conversions in every test.
2026-09-23 18:37:42 +03:00
Stefan Ceriu b1923b418f Expose the store passphrase as Data instead of a base64 string. 2026-09-23 18:37:42 +03:00
Stefan Ceriu 18201ac248 Switch all clients to the new .highEntropyPassphrase mechanism.
Which will automatically migrate the existing passphrase and allow us to later
switch directly to the raw key everywhere.

More details on https://github.com/matrix-org/matrix-rust-sdk/pull/6878
2026-09-23 18:37:42 +03:00
Stefan Ceriu c8250f6aa4 Tweak the BuildSDK command line tool now that ElementCall also links the SDK 2026-09-23 18:01:39 +03:00
Stefan Ceriu 8572150b70 Remove the room list notification count feature flag.
The room list now always shows the unread notification count for highlighted rooms
and the app icon badge always uses the SDK's own unread notification count, both in
the app and in the NSE. The push payload's unread count is no longer used, so its
UNNotificationContent helper and user info key have been removed along with the
setting, its developer options toggle and the feature-disabled unit test.
2026-09-23 17:57:42 +03:00
Stefan Ceriu 2e7d78ea01 Remove the automatic back pagination feature flag.
Automatic back pagination is now always enabled when building the client, so the
setting and its developer options toggle have been removed.
2026-09-23 17:57:42 +03:00
Stefan Ceriu 8f4a0322b7 Update project and package.resolved following dependency updates and failed CI step 2026-09-23 15:46:25 +03:00
renovate[bot] 5811f38357 Update Project Dependencies (#6185)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-23 12:41:09 +01:00
renovate[bot] f77d4fe04a Update dependency pointfreeco/swift-snapshot-testing to v1.19.5 (#6184)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-23 12:32:34 +01:00
renovate[bot] 0462cb4df0 Update dependency swiftlang/swift-syntax to v604 (#6186)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-23 12:31:33 +01:00
Doug 7c758df208 Show the call buttons on macOS when the experimental native calling feature is enabled. (#6183)
* Show the call buttons on macOS when the experimental native calling feature is enabled.

* Start native calls in their own window on macOS.

* Update the Enterprise submodule.
2026-09-23 12:24:54 +01:00
Element CI 27ffd4f3d5 Prepare next release 2026-09-23 04:02:24 -07:00
Doug 47f881c507 Only make toolbar buttons prominent when tinted. (#6188) 2026-09-23 11:21:47 +01:00
Doug 550b14718b Update the SDK. (#6182) 2026-09-22 18:01:02 +01:00
Valere Fedronic a236cca24e Bump element-call native to 0.1.0-rc.8 (#6181) 2026-09-22 17:59:41 +01:00
Stefan Ceriu 379a5cd1bc Drop Intel device support from the build scripts and project 2026-09-22 19:56:06 +03:00
Doug 223ddeae22 Fix the split view layout on iOS 27. (#6180) 2026-09-22 17:41:23 +01:00
Doug 8ba47a333a Update the Start Chat button's icon. (#6179) 2026-09-22 17:40:59 +01:00
Doug 375d98e0b5 Fix HDR UI bugs on iOS 27.0. (#6177) 2026-09-22 13:27:08 +01:00
renovate[bot] cfeb38aee9 Update dependency siteline/SwiftUI-Introspect to v27 2026-09-22 09:16:59 +03:00
renovate[bot] a3d72aba1f Update codecov/codecov-action action to v7.1.0 2026-09-22 08:33:05 +03:00
Valere 6b7ac797d4 logs: Add specific prefix for native call logs 2026-09-21 16:49:28 +03:00
Valere 7e68e2cd49 chore: Bump element-call-ios to 0.1.0-rc.7 2026-09-21 15:32:58 +03:00
Element CI 0745a28e57 Translations update 2026-09-21 13:33:01 +03:00
Valere Fedronic fb49f5b83b Add experimental native calls behind a developer flag (#6159)
Add the element-call-ios dependency and a developer option for native calls

The package carries the call UI and the matrix-rust-rtc media stack, pinned by
exact version the way the SDK is, with the local path kept commented out for
working against a checkout. Its media xcframework has no Intel simulator slice
and a package cannot say so for the projects that consume it, hence the
excluded architecture at the project level.

The developer option is off by default and nothing reads it yet. It is placed
next to the Element Call URL override, which only applies to the web view that
native calls replace.
2026-09-17 19:42:18 +03:00
Stefan Ceriu fe18472556 Bump the RustSDK to v26.09.17 2026-09-17 19:34:15 +03:00
Ghazi Tozri 5741290471 Cancel message edit if content remains unchanged 2026-09-17 16:56:14 +03:00
Stefan Ceriu de13fa5438 Fix some warnings 2026-09-16 11:37:11 +03:00
Stefan Ceriu eaa6a5ce25 Dismiss the whole search tab and move back to the previous when when tapping the search field dismissal button. 2026-09-16 11:37:11 +03:00
Stefan Ceriu b8a867bbb4 Dismiss the keyboard on drag 2026-09-16 11:37:11 +03:00
Stefan Ceriu e6cffcba3f Clear the search query when leaving the search tab
Switching away from the search tab now resets the query, so returning to
it shows the recent searches instead of the previous results. The search
field no longer focuses itself on appearance.
2026-09-16 11:37:11 +03:00
Stefan Ceriu 82e666bfe1 Only show joined rooms in the search results
Rooms the user is invited to, or has knocked on, are handled by the chats
list and aren't somewhere search should lead. The search screen now asks
the room summary provider for joined rooms only.
2026-09-16 11:37:11 +03:00
Stefan Ceriu 482cc0fee8 Show recent searches on the search screen
The search screen's empty state now lists the queries the user searched
for and the rooms they opened from the results, newest first, capped at 25
and stored in AppSettings. Tapping a query fills the search field, tapping
a room opens it, and both are reachable with a hardware keyboard.

Rooms are resolved from their identifiers as the room list loads, and
those the user has left or is only invited to are dropped. The history is
cleared on logout.
2026-09-16 11:37:11 +03:00