Commit Graph

2704 Commits

Author SHA1 Message Date
Stefan Ceriu ffafca6d64 Revamp the UI test snapshot naming convention to make them easier to organize and find. 2025-03-05 11:43:08 +02:00
Mauro 319441d527 Use a static room summary provider to resolve room summaries through id and aliases (#3863)
* trying to debug why sometimes the value

is missing even if it appears in the room list

* static room provider implementation

* set the page size through the init

* removed reset filters on .cancel

since using the sop function is safer
2025-03-04 14:08:15 +01:00
Stefan Ceriu 56d8af1d2e Only show a badge in the composer if the room is unencrypted. (#3866)
* Partially revert the message composer encryption badges and only show it for unencrypted rooms.

* Update preview test snapshots.

* Update UI test snapshots.
2025-03-04 14:58:15 +02:00
Robin 3ecf9a20cd Prevent PRs with the X-Blocked label from being merged (#3864)
Just a small CI suggestion: X-Blocked is useful for requesting review on a change while ensuring it won't be merged until all external dependencies are accounted for, and it'd be nice to have this enforced more consistently across the org.
Adapted from matrix-js-sdk (https://github.com/matrix-org/matrix-js-sdk/blob/develop/.github/workflows/pull_request.yaml)
2025-03-04 13:01:39 +01:00
ElementRobot 4e6ad036f7 Translations update (#3861)
Co-authored-by: pixlwave <6060466+pixlwave@users.noreply.github.com>
2025-03-03 10:06:51 +01:00
Stefan Ceriu 15a0c56f35 Bump the RustSDK to v25.02.28 2025-02-28 15:38:32 +02:00
Mauro 7f6ea1c2ae Join room by address (#3840)
* Implemented join room by address

* improved the text field typing

* some improvements to how the text is edited

* remove navigation link

* moved room directory search to the start chat flow

* updated preview tests

* added unit tests and improved the code

* updated strings

* some pr suggestions:

- moving the file
- changing the name of the action
- reintroduce the debounce text queries
- add comments

* renamed the auth text field style to Element

updated tests
2025-02-28 12:35:15 +00:00
Mauro 2b58f57483 updated create room paramaters (#3853) 2025-02-28 11:31:08 +00:00
Mauro Romito 14fa7d87fc show "Room" for unresolved event permalinks 2025-02-28 11:53:33 +01:00
Stefan Ceriu 890687512f Show room encryption state in the composer (#3841)
* Fixes #3835 - Show room encryption state in the composer

* Update the preview test snapshots

* Update the UI test snapshots.
2025-02-27 22:16:26 +02:00
Doug 8648f55b5d Set APP_GROUP_IDENTIFIER directly. (#3847)
The base one wasn't really very useful.
2025-02-27 12:38:02 +00:00
Stefan Ceriu bc8518ec3e Increase the time before we show loading indicators when processing user session and flow coordinators routes 2025-02-27 14:18:25 +02:00
Doug b01070c6b6 Project updates. (#3837)
* Don't use the AppIdentifierPrefix as it breaks when re-signing.

* Generate entitlements using XcodeGen.

* Ignore Xcode Archives.

* Remove the (unused) NCE.

* Update submodule.
2025-02-26 18:29:20 +00:00
Stefan Ceriu 5b2f6cfbf4 Show DM recipient verification badges on the room details screen profile button (#3824) 2025-02-26 13:55:59 +02:00
Element CI 2db80b6858 Prepare next release 2025-02-26 03:50:53 -08:00
Doug ff41431ef1 Update the SDK. (#3829) 2025-02-26 09:23:57 +00:00
Stefan Ceriu fb8d69dd92 Fixes #3830 - Editing messages not placing the cursor at the end of the text 2025-02-26 10:56:15 +02:00
Mauro 1bc3723c34 Cache account management URL (#3826)
* cache account management URL

when sync starts

* better documentation
2025-02-25 17:51:28 +01:00
Element CI b46a7e44d4 Prepare next release 2025-02-25 06:14:37 -08:00
Mauro a2242c63e2 Render Room and Message Pills (#3809)
* added a way to render the room and the message

pills, but is WIP

* permalinks now get converted into pills!

* fixed an issue where room address mentions

were not adding a URL properly but a string

* updated tests

* c

* Revert "c"

This reverts commit 5c80252fa23dba7e4d44f2a07fbf1e9500e37c82.

* updated tests

* more tests

* created APIs to get a specific RoomSummary

given the id or the alias

* small mention builder improvement

* pr suggestions
2025-02-25 13:46:01 +00:00
Doug 944fe37fde Fix the unassumed path. 2025-02-25 11:31:22 +00:00
Doug 3884b83ff6 Don't set the room topic when creating a room if it is blank. (#3821)
* Don't set the room topic when creating a room if it is blank.

Also fix the styling on the room name text field.

* Snapshots

* Add a test for the empty topic.
2025-02-25 11:10:59 +00:00
Stefan Ceriu 4f6c6f3931 Show the timeline kind in the process_timeline_list_diffs tracing span. 2025-02-25 12:40:56 +02:00
Stefan Ceriu 5e90f67a91 Bump the RustSDK to v25.2.25, address breaking changes from matrix-org/matrix-rust-sdk/pull/4674 2025-02-25 12:40:56 +02:00
Doug 6ded867bcc Configure diagnostics (and MapLibre) using Pkl. (#3820)
* Bump the version for the next release.

* Ignore all generated sources.

* Use Pkl+XcodeGen to inject secrets instead of the project.

* Inject the PostHog/Sentry/Rageshake configuration from the environment.

* Fix bad unicode.

* Fix unit tests.
2025-02-24 18:36:08 +00:00
Hugh Nimmo-Smith 773d44cafa Revert "Show error screens in group calls (#3813)" (#3819)
This reverts commit 36c851d44b.
2025-02-24 18:03:16 +00:00
Mauro 9d5c4f7748 use the alternative summary provider (#3817) 2025-02-24 16:42:24 +01:00
Stefan Ceriu a01c519e06 Fix various UI test snapshots following changes to the development assets. 2025-02-24 13:31:18 +02:00
Doug ea4130af71 Update translations (manually). (#3815) 2025-02-24 11:02:39 +00:00
Robin 36c851d44b Show error screens in group calls (#3813)
Element Call now sends a 'close' widget action when the widget is ready to close. Usually this will be sent immediately after the 'hangup' action, but it could be sent later if the widget wants to present an error screen before closing. So by listening to the 'close' action rather than the 'hangup' action, we get to see these error screens.
2025-02-24 10:09:30 +00:00
Doug b6b9f4162b Add a couple of extra logs around the state of call ringing notifications. (#3808) 2025-02-24 10:07:33 +00:00
renovate[bot] 482d03a036 Update dependency jpsim/Yams to from: "5.3.1" 2025-02-24 09:23:22 +02:00
Doug 3de025cb85 Rename a couple of missed isEncryptedOneToOneRoom properties. (#3804) 2025-02-20 14:15:49 +00:00
Doug c2e10b910a Update Compound (#3803) 2025-02-20 14:15:26 +00:00
Doug d8b88f1cf8 Use the placeholder added to the force logout alert. (#3802) 2025-02-18 13:11:46 +00:00
Doug d325adb4fc Hide the unread dot after previewing an invite. (#3800)
* Hide the unread dot when previewing an invite.

* Remove an invited room ID when accepting/rejecting.

* Remove the unread badge from knocked room cells.

* Update snapshots.

* Address PR comments.

Refactor KnockRequestType to JoinRequestType.
2025-02-18 12:22:13 +00:00
Doug 8c07ee35c4 Update the SDK.
Handles changes that removed support for the sliding sync proxy.
2025-02-18 11:55:20 +00:00
Stefan Ceriu f77faee981 User verification state indicators (#3793)
* Introduce a `UserIdentityProxy` and have it combine upstream methods into an easy to digest  `UserIdentityVerificationState`. Use it in a dedicated `VerificationBadge` UI component

* Show a DMs counterpart verification state in the room header

* Show a warning on the room details `People` entry when there are identity verification state violations on any of the members.

* Show verification badges in the room member list

* Show a withdraw verification section on the room member details for users that have pinning violations.

* Remove the verification section from the profile screen as there's no reliable way to keep it up to date
- the underlying Rust SDK Olm Machine can be rebuilt without notice which would break any existing user identity change streams.

* Update preview test snapshots
2025-02-18 08:37:34 +02:00
Doug b71c93dfaa Update Enterprise submodule.
Include pkl in the dependencies.
2025-02-17 12:01:08 +00:00
Doug d96304b3bb Update the fastlane README. 2025-02-17 12:01:08 +00:00
ElementRobot 4fd883ed6b Translations update (#3799) 2025-02-17 11:46:55 +00:00
Stefan Ceriu e8786be6cd Fix #3794 - Stop the message composer from randomly changing the cursor position 2025-02-17 12:28:43 +02:00
Mauro Romito 323df6f1c5 updated dev options screen 2025-02-17 12:16:53 +02:00
renovate[bot] f149a40def Update dependency jpsim/Yams to from: "5.3.0" 2025-02-17 08:38:57 +02:00
Doug 9f0f664179 Update string after resolving some duplicities. (#3791) 2025-02-14 11:34:49 +00:00
renovate[bot] 61321288a7 Update dependency jpsim/Yams to from: "5.2.0" (#3788)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-13 15:32:59 +00:00
Vickcoo 4b43d901f8 Fix message completion trigger to work anywhere in the message (#3696)
* Fix message completion trigger to work anywhere in the message

* Add tests for display suggestion in difference message positions

* Fix suggestion trigger could support multiple mention symbol

* Remove optional parameter type and tweak argument name to hide

* Optimize the suggestions trigger using regex

* Fix the cursor at wrong position after selected suggestion

* Modify the rawSuggestionText pass data in right way

* Modify mention symbol to use regex type

* Update ElementX/Sources/Screens/RoomScreen/ComposerToolbar/CompletionSuggestionService.swift

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

* Update generated mock

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2025-02-13 15:13:09 +00:00
Doug 8ee1427809 Update our development assets. (#3783)
* Replace downloaded test assets with original content.

* Replace AI generated assets with original content.

* Update preview tests snapshots

* Update UI test snapshots.

---------

Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
2025-02-11 11:53:35 +00:00
Stefan Ceriu 567c52d562 Fix UI test snapshots following session verification screen changes. 2025-02-11 12:12:07 +02:00
Doug f6a1d38972 Log whether a notification is expected to make a noise. (#3782)
* Log whether a notification is expected to make a noise.

* Also log the system notification sound setting too.
2025-02-11 09:59:46 +00:00