1040 Commits

Author SHA1 Message Date
Stefan Ceriu
dfab0a1cb4 Update camera and microphone usage descriptions 2023-06-13 17:26:29 +03:00
Alfonso Grillo
9d22dac19e
Add search modifiers (#1070) 2023-06-13 12:02:38 +00:00
Alfonso Grillo
73eeb051c6
Fix regression on direct chat details (#1071)
* Fix regression

* Fix UTs
2023-06-13 11:43:25 +00:00
Stefan Ceriu
c4125fd81c Fixes #1072 - Crashes when trying to save media to the photo library 2023-06-13 11:20:04 +03:00
Alfonso Grillo
46df29e152
Fix localisation key (#1069) nightly/1.1.4.238 2023-06-12 16:49:41 +02:00
Element CI
e9c964f314 Prepare next release 2023-06-12 07:20:27 -07:00
Mauro
94c97ec7e9
Disable RR extension when feature flag is off (#1068)
* disable rr extension according to ff

* fixed typos in the code
1.1.3
2023-06-12 10:59:01 +00:00
Mauro
0f358a6b2d
buildSDK.sh script, build the sdk without encountering target problems (#1063)
* Script that allows to build the sdk without any issue

* target independent solution

* Update CONTRIBUTING.md

* better more scalable solution

* Revert "Update CONTRIBUTING.md"

This reverts commit 5cc20019ad4277f5745f32eb9472e21bdb6f2160.

* Update Tools/Sources/BuildSDK.swift

Co-authored-by: Stefan Ceriu <stefanc@matrix.org>

---------

Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2023-06-12 09:11:53 +00:00
Nad Chishtie
8483f6e76f Refresh app icon asset 2023-06-12 08:30:13 +03:00
Mauro
1be74e6e69
SDK Bump to 1.0.74 (#1059)
* testing improvements

* code improvements and sdk bump

* improved the stencil file

* improved the build sdk function

* code improvement

* also added the tearDown
2023-06-09 16:27:08 +00:00
Alfonso Grillo
63df68fd29
Room details: improve members count UX (#1050)
* Inject user id into room’s details

* Refactor member fetch logic in RoomDetailsScreenViewModel

* Refactor DI

* Fetch members in RoomMembersListScreenViewModel

* Fetch members in InviteUsersScreen

* Use joinedMembersCount in room members list

* Cleanup

* Limit members refresh

* Cleanup binding

* Fix UT build errors

* Fix RoomDetailsScreenViewModelTests

* Fix RoomMembersListScreenViewModelTests

* Fix UTs

* Fix RoomDetailsScreenUITests

* Refine RoomDetailsScreenViewModelTests

* Add roomProxy extension

* PR comments

* Refactor room’s counter to Int

* Improve updateMembers() performances

* Fix memory leaks
2023-06-09 16:21:01 +02:00
Mauro
42e083dcaf
RTL and LTR mixed languages fix for optimal timestamp support (#1055)
* fix

* fixed RTL and LTR timestamp for all the cases! also improved the testing

* changelog

* better and less convoluted solution

* Update ElementX/Sources/Screens/RoomScreen/View/Timeline/FormattedBodyText.swift

Co-authored-by: Alfonso Grillo <alfogrillo@gmail.com>

* pr suggestion and removed prefix in reality it creates more issues than improvements, and is not really needed

---------

Co-authored-by: Alfonso Grillo <alfogrillo@gmail.com>
2023-06-09 11:49:02 +00:00
Michael Kaye
9b347c0ea4
Tweak parsing of output (#1058) 2023-06-09 11:22:10 +01:00
Michael Kaye
e8caacc85c
Parse output from IntegrationTests performance metrics (#1054)
* Parse output and leave as CSV on disk for later usage.
* Minor tweaks to step & file names

Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2023-06-09 08:44:50 +00:00
Mauro
361ac372c5
Timestamp for media messages (#1057)
* timestamp for media messages

* changelog
2023-06-08 19:03:51 +02:00
Element CI
cc21a90663 Prepare next release 2023-06-08 08:42:10 -07:00
Stefan Ceriu
4de6d07a0b Update the app icon, switch the icon set to single size 1.1.2 2023-06-08 18:26:34 +03:00
Mauro
75a3751f78
Read Receipts display with the user avatar (#1038)
* added the read receipt into the code

* fixed some things lost during merge

* implemented the status view to be always at the trailing side

* preview code for better testing

* removed timelineStyle modifier

* removed also the group style

* added some UI tests for the read receipts
nightly/1.1.2.235
2023-06-08 10:05:56 +00:00
Stefan Ceriu
c7ee69d75d Change the bundle display name to Element X, keep the rest as ElementX 2023-06-08 12:49:09 +03:00
Stefan Ceriu
9336619322 Revert "Change the bundle display name to Element X, keep the rest as ElementX"
This reverts commit e8b50020873bc5664d99e45856cd19889090ff03.
2023-06-08 12:49:09 +03:00
Stefan Ceriu
50df53a593 Disable allowsEditing on the camera picker, stop showing weird cropping box in the resulting image UI. 2023-06-08 12:25:09 +03:00
Stefan Ceriu
ea91e371eb Prevent multiple file selection callbacks coming from the media upload pickers and generating incorrect transitions in the RoomFlowCoordinator state machine 2023-06-08 12:25:09 +03:00
Stefan Ceriu
1bbb077e3e
Various UI test fixes (#1048)
* Update analytics prompt refernce screenshots

* Update onboarding reference screenshots

* Update settings reference screenshots

* Update room list reference screenshots

* Workaround the change server continue button not being tappable for some reason
2023-06-08 11:33:32 +03:00
Stefan Ceriu
5a4f73e2b8 Fixes #974 - Replace the timeline item contex menu with a bottom sheet
(+10 squashed commits)
[ba1d3160] Update timeline item action menu reaction UI
[410315ac] Move away from item bound action meus plus various tweaks following code review
[c25cd998] Add emoji reactions to the new timeline item action menu
[57001f49] Prevent timeline view layouts from dismissing the action menu
[d1e70538] Various UI tweaks
[652f4143] Switch to a long press gesture, move the header outside of the scroll view
[569a485c] Workaround timeline item action menu presentation state not being stored
[80c29567] Add currently selected item information in the TimelineItemMenu
[ff7790ec] Fixes #974 - Replace the timeline item contex menu with a bottom sheet
[ba1d3160] Rename TimelineItemContextMenu to TimelineIteMenu so that git correctly interprets it
nightly/1.1.2.234
2023-06-07 19:42:21 +03:00
Stefan Ceriu
8ff5c6144c
Settings about section (#1041)
* Fixes #1011 - Add legal information screen in settings, move all settings related screens under Source/Screen/Settings
* Fix warnings after sliding sync api change
2023-06-07 17:04:42 +03:00
Mauro
c0611b4e6b
SDK Bump to 1.0.73-alpha (#1043)
* sdk bump

* moved the bump event types to the sliding sync list builder

* removed sync growing mode from notifications even if we are not really using it anymore

* recency order is also for the all room list

* removed the local notification code entirely

* removed unused function

* fixed the code placement for the ordering
2023-06-07 15:22:54 +02:00
Stefan Ceriu
e8b5002087 Change the bundle display name to Element X, keep the rest as ElementX 2023-06-07 15:08:47 +03:00
ElementRobot
05523282cb
Translations update (#1013)
* Translations update

* fix for notification invite body

---------

Co-authored-by: Velin92 <Velin92@users.noreply.github.com>
Co-authored-by: Mauro Romito <mauro.romito@element.io>
2023-06-07 11:01:05 +00:00
Alfonso Grillo
9bf6ffec27
Remove feature flags for the rooms epic (#1042)
* Delete rooms feature flags

* Rename suggestions feature flag

* Cleanup test targets
2023-06-07 12:43:24 +02:00
Alfonso Grillo
0b56d5673f
Improve UserDiscoveryService behavior (#1039)
* Refactor UserDiscoveryService

* Add UTs
2023-06-07 11:58:00 +02:00
Doug
8af688eee6 Update compound-ios
Includes new CompoundIcon component.
nightly/1.1.2.233
2023-06-06 20:21:39 +03:00
Alfonso Grillo
a4cff6825e
Update the "remove avatar" logic in edit room details (#1032)
* Refactor remove avatar logic

* Add test
2023-06-06 16:14:34 +02:00
Mauro
4b2aba9367
Tapping on user avatar/name in the timeline opens the room member details (#1020)
* Implementation completed

* changelog

* code improvement

* Apply suggestions from code review

Co-authored-by: Stefan Ceriu <stefanc@matrix.org>

* pr suggestions

---------

Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2023-06-06 08:46:04 +00:00
Doug
ea4aa943e0
Improved bug report error handling (#1018)
* Improve rageshake error handling.

* Add a max file size and exclude older files one the limit is hit.

* Zip log files as smaller chunks.
2023-06-06 11:24:01 +03:00
Alfonso Grillo
4e926c3334
Create & Join rooms UI/UX tweaks (#1005)
* Fix people icon size

* Disable dismiss when loading in StartChatScreen

* Reduce debounce on search

* Add padding to invite button

* Add show/hide bottom bar behaviour

* Fix bg color in StartChatScreen form

* Update localisations

* Update search users results to 10

* Fix form background in InviteUsersScreen

* Fix invites list bg color

* Add mxid in InvitesScreenCell

* Refactor InvitesScreenCell design

* Fix separator spacing

* Add more design fixes

* Refine InvitesScreenCell layout

* Refactor UserProfileCell design

* Refactor FormRowAccessory

* Update localisations

* Fix camera size and security section padding

* Change create button style

* Refine InviteUsersScreenSelectedItem

* Refine CreateRoomScreen

* Refine UserProfileCell padding

* Amend preview name

* delete test code

* Add separator in security section

* Fix spacing in InviteUsersScreenSelectedItem

* Revert confirmationAction in CreateRoomScreen

* Refine HomeScreenInvitesButton

* Add dismiss keyboard in InviteUsersScreen

* Refactor FormRowAccessory

* Remove isDisabled from FormButtonStyles

* Update localisations

* Cleanup RoomDetailsEditScreen

* UI fixes on horizontal user carousel

* Refactor InviteUsersScreenSelectedItem

* Try fix flaky tests

* Fix typo

* Update snapshot tests

* Fix flaky UTs

* Fix HomeScreen ui tests

* Fix scroll on selection

* Refactor RoomFlowCoordinatorTests
2023-06-06 08:03:38 +00:00
Doug
fedd401a56
Fix authentication UI tests. (#1010)
* Fix authentication flow UI tests.

* Fix analytics prompt snapshot.
nightly/1.1.2.231 nightly/1.1.2.232
2023-06-02 12:41:45 +01:00
Doug
44062adb0f
Backport base Form style from Compound. (#1009)
Apply to all screens using the formBackground colour.
2023-06-02 11:39:03 +01:00
Doug
0972af30cf
Update PostHog to fix Accent Colour bug. (#1006) 2023-06-02 10:04:59 +01:00
Doug
07927c337b
Fix the background colour when replying. (#1007) 2023-06-02 09:58:28 +01:00
Doug
dcc4ea5e85
Authentication Layouts (#994)
* Remove unused code in OnboardingScreen.
* Add FullscreenDialog layout and use in auth flow.

Bump minimum OS to 16.4/13.3.

* Add dynamic layout based on dynamic type size.
nightly/1.1.2.230 nightly/1.1.2.229
2023-05-31 18:39:53 +01:00
Stefan Ceriu
f792aafe8d Bump the RustSDK, adopt latest sliding sync changes and fixes 2023-05-31 20:31:20 +03:00
Stefan Ceriu
2a58b115e3 Cleanup the stored timelineController when dismissing a room 2023-05-31 20:31:20 +03:00
Stefan Ceriu
1d6f1185b9 Remove duplicates from the reachability monitor 2023-05-31 20:31:20 +03:00
Alfonso Grillo
e58642208d
Fix navigation back from room's details (#988)
* Fix navigation to room details

* Improve tests

* Delete unused action in RoomDetailsScreen

* Cleanup

* Try fix flaky tests
2023-05-31 16:24:12 +00:00
Stefan Ceriu
83e3d828cd
Composer mode UI updates (#984)
* Fixes #975 - Update editing message UI

* Fixes #976 - Update reply composer mode UI to include message being replied to

* Use different icon corner radii in the timeline reply view depending on its placement
2023-05-31 14:51:51 +03:00
Alfonso Grillo
87075eecfd
Add UserIndicator.disableInteractiveDismiss (#993) 2023-05-31 12:56:58 +02:00
Stefan Ceriu
30c39130fc Bump the RustSDK to v1.0.71-alpha, adopt latest sliding sync range API nightly/1.1.2.228 2023-05-30 20:05:18 +03:00
Doug
6b6ea118e2
Update OIDC presentation (#987)
* Present OIDC directly on the ServerConfirmationScreen.

Read the actual window from the view.

* Pop back to the confirmation screen when a user enters an MXID that needs OIDC.

* Remove OIDC error handling from the login screen.
2023-05-30 16:51:00 +01:00
Flescio
03ba211e6c
Flescio/add room image (#961)
* image media upload for room creation

* fix remove duplicate logic

* use Async Image, add Focusable Fields in create room

* remove alert message which doesn't have a copy

* add remove duplicates on crete room image

* add button style for preventing undesired touches

* add changelog, add error case for file too large

* Fix iPad sheet presentation

* add error media preprocess

* dismissing focus on image picker
2023-05-30 12:55:29 +00:00
Alfonso Grillo
eba0fe5ce3
Add indicator after leaving a room (#981)
* Refactor UserIndicatorModalView to support no progress

* Add room left indicator in HomeScreenViewModel

* Apply PR suggestion
2023-05-30 12:32:07 +02:00