Stefan Ceriu
524997438f
Revert "Adopt async uniffi in the RoomSummaryProvider and ensure diffs are still processed serially"
...
This reverts commit d710dafc94 .
2023-05-26 15:01:17 +03:00
Mauro
c3eb64bde5
Fix for flaky corner radius path generation ( #958 )
...
* fixed the flaky corner radius path generation
* format
2023-05-25 11:15:12 +00:00
Alfonso Grillo
bf2102e5d1
Add room's update publisher ( #952 )
...
* Add room update publisher
* Cleanup
* Update room’s title
* Add refresh logic in RoomDetailsScreenViewModel
* Fix UTs
* Add UT
* Update timeline listener in RoomProxy
* Fix caching in LoadableAvatarImage
* Cleanup
* Update RoomProxy api
* Inject room proxy in RoomScreenViewModel
* Cleanup
* Fix UTs
2023-05-25 10:42:58 +00:00
Mauro
c59921103d
Inlined Timestamp in bubble style for messages that have a bubble ( #947 )
...
* web-like solution
* not super polished but working implementation
* polishing the spacing and sizes
* removing unused code
* code improvements
* adding a test case in the preview for RTL
* addressing some PR comments
* added some tests and polished the code
* better naming
* code improvement
* RTL fix
* Revert "RTL fix"
This reverts commit 14e4468a5358769daa57891f4991e9e32da1c985.
* better RTL fix
* updated UI tests
* separated some files
* addressed some PR comments
* some more tests
2023-05-25 10:13:45 +00:00
Stefan Ceriu
6b13c52cd0
Disable background app refreshes until we understand the deadlocks and crashes we've been seeing
2023-05-24 17:51:55 +03:00
Stefan Ceriu
caa4abe659
Start using the new synchronous stopSync method
2023-05-24 16:07:23 +03:00
Stefan Ceriu
d710dafc94
Adopt async uniffi in the RoomSummaryProvider and ensure diffs are still processed serially
2023-05-24 16:07:23 +03:00
Stefan Ceriu
0d97ed8075
Convert the SessionVerificationProxy to async-uniffi
2023-05-24 16:07:23 +03:00
Stefan Ceriu
59f60a14a2
Prevent room navigation back button from jumping while animating
2023-05-23 16:51:58 +03:00
Stefan Ceriu
d38cf8f989
Bump the RustSDK to v1.0.66-alpha
2023-05-22 22:25:33 +03:00
Alfonso Grillo
3ff61f5158
Re-apply changes ( #940 )
2023-05-22 16:23:03 +00:00
Flescio
beb61d109f
Flescio/create room action ( #925 )
...
* fix invites users screen
* add create room action
* add a task runner with timeout, add fetch room summary after creation
* rename Runner, add Unit Test, separate UserProfile form client proxy
* change to all room summary publisher
2023-05-22 15:27:39 +00:00
Stefan Ceriu
16728ca438
Fixes #923 - Add background color to avatars
2023-05-22 17:41:02 +03:00
Alfonso Grillo
d9e0f36aeb
Invite people in an existing room ( #915 )
...
* Handle power levels
* Add “invite” button in RoomMembersListScreen
* Refactor DI in RoomDetailsScreenCoordinator
* Add navigation to “select people” coordinator
* Add InviteUsersScreenRoomContext
* Add invite user by id api
* Updare InviteUsersScreenRoomContext
* Support disabled state on FormButtonStyles
* Handle membership in UserProfileCell
* Fix conflicts
* Refactor RoomContext -> RoomType
* Refactor UserProfileCell
* Add invite action
* Setup navigation to user flow coordinator
* Add invite logic
* Fix test build errors
* Address comments
* Fix localisations
* Update required state
* Handle error
* Move invite logic in RoomDetailsScreenCoordinator
* Add navigation from room’s members list
* Fix UTs
* Fix missing display name in RoomMemberDetails
* Add user indicator
* Add feature flag
* Add RoomDetailsViewModel UTs
* Add room details ui tests
* Add InviteUsersViewModelTests UTs
* Add UI tests
* Update UI tests
* Empty commit
2023-05-22 14:03:07 +00:00
Mauro
8ed8cf6f0c
Delivery Status Redesign ( #931 )
2023-05-22 15:17:06 +02:00
Velin92
9afc0c0747
Translations update
2023-05-22 08:32:36 +03:00
Alfonso Grillo
d15ed1f6a3
Add share link in start chat flow ( #926 )
2023-05-19 15:34:35 +00:00
Stefan Ceriu
35d7f1f893
Attempt to simplify the background app refresh flows and always clean up the task while at the same time make sure the task is always cleaned up ( #930 )
2023-05-19 15:22:27 +00:00
Mauro
4e46c01945
Cleanup the background task that pauses the SDK when resigning active ( #903 )
...
* checking if the stop taskHandle is finished before stopping the bg task
* stopping the sync in background now works properly
* this will prevent the case in which if the app suspends and then is immediately foregrounded again, we do not start the sync
* now works as intended
* code improvement
* improved the code a bit
2023-05-19 08:28:30 +00:00
Mauro
eb68f52a0f
Run single Test on CI for faster debugging ( #896 )
...
* let's disable autocorrection
* waiting some more time in flaky tests and updated the content of a test that was failing
* controlled delay waited a bit moe for the timeline to settle
* try await
* trying with a bit more waiting time after the tap and a slow velocity for the swipe
* let's try waiting more time
* workflow for a single ui test
* las try
* slow swiping tests
* commenting out flaky CI tests, for now we'll just disable them
* better description
* flaky test improvement
* disabling animations that are not needed in UITests
* code that already prevents animations in UI tests
* code improv
2023-05-17 16:15:43 +00:00
Stefan Ceriu
3ed5e96e5d
Fix background app refresh crashes. Make the user session an optional instead of it randomly crashing
2023-05-17 17:58:56 +03:00
Stefan Ceriu
ce36be4e8b
Adopt latest rust side sliding sync fixes. Relates to https://github.com/matrix-org/matrix-rust-sdk/pull/1936
2023-05-17 16:20:13 +03:00
Stefan Ceriu
0066761380
Fix styling post code review
2023-05-17 16:17:48 +03:00
Stefan Ceriu
6ec5922956
Update blockquote styling to latest designs
2023-05-17 16:17:48 +03:00
Stefan Ceriu
70790161f1
Start fetching timeline item details directly on creation
2023-05-17 16:17:48 +03:00
Stefan Ceriu
0608c68aee
Added custom reply views for all message types as well as a loading state
2023-05-17 16:17:48 +03:00
Flavio Alescio
8b746fcd33
UI section title fix
2023-05-16 18:23:23 +02:00
Flavio Alescio
1b0948d618
remove keyboard from screenshots
2023-05-16 18:23:23 +02:00
Flescio
9fee8e7558
Update ElementX/Sources/Screens/CreateRoom/View/CreateRoomScreen.swift
...
Co-authored-by: Alfonso Grillo <alfogrillo@gmail.com >
2023-05-16 18:23:23 +02:00
Flescio
8cfb4c70ce
Update ElementX/Sources/Screens/CreateRoom/CreateRoomViewModel.swift
...
Co-authored-by: Alfonso Grillo <alfogrillo@gmail.com >
2023-05-16 18:23:23 +02:00
Flavio Alescio
fb76d062fc
fix compile error, Task not throwing
2023-05-16 18:23:23 +02:00
Flavio Alescio
6723da16c6
remove create room parameters by reference and use coordinator flow instead
2023-05-16 18:23:23 +02:00
Flavio Alescio
372a2d5360
change accesibility identifiers, remove single selection button style, use Picker instead,
2023-05-16 18:23:23 +02:00
Flavio Alescio
41094cb293
fix throwing task compile error
2023-05-16 18:23:23 +02:00
Flavio Alescio
da0b35ea6f
add screenshots for UI test
2023-05-16 18:23:23 +02:00
Flavio Alescio
f8b7b86641
add UI test, separate model class in Services, UI fix for button with single selection style
2023-05-16 18:23:23 +02:00
Flavio Alescio
2bcefd31e9
UI on create room screen
2023-05-16 18:23:23 +02:00
Flavio Alescio
7ad302e5e7
persisting create room parameter in volatile memory
2023-05-16 18:23:23 +02:00
Flavio Alescio
4eb8906b6b
Create room: add selectable state for security, add navigation to screen
2023-05-16 18:23:23 +02:00
Flavio Alescio
a4334ebb0d
work on text input for room creation
2023-05-16 18:23:23 +02:00
Flavio Alescio
06147cd99c
add files for create room screen, add selected users section with test
2023-05-16 18:23:23 +02:00
Stefan Ceriu
f1a26417bd
Add list name to room summary provider logs to avoid confusion between multiple instances
2023-05-16 12:46:06 +03:00
Stefan Ceriu
1af710d2b0
Switch the RustSDK to v0.0.1-paginate-only-with-token in order to test out a timeline ordering fix
2023-05-15 19:19:44 +03:00
Stefan Ceriu
abc86b7368
Disabled the cold cache entirely so we can test out startup performance without it
2023-05-15 17:05:56 +03:00
Mauro
a5d555a33d
Fixing Tests for Xcode 14.3 ( #888 )
...
* settting macOS to 13, and let's runa test of... the tests
* I want the artifacts of the test, might give me some more insight in Xcode
* archive artifact
* trying a thing with the xcode version
* push notifications alert makes this test fail
* test improvement
* let's try with a very long time
* let's disable autocorrection
* sleep
* 1 seconds fixed 90% of the issue, 2 should fix 100%
* waiting some more time in flaky tests and updated the content of a test that was failing
* updated a screenshot test that had a notification
* this integration test is a bit so flaky increased the timing
* controlled delay waited a bit moe for the timeline to settle
* try await
* MainActor everywhere
* milliseconds fix
* trying with a bit more waiting time after the tap and a slow velocity for the swipe
* let's try waiting more time
2023-05-15 13:42:40 +00:00
Stefan Ceriu
d574c0b405
Add background app refresh support ( #892 )
...
* Add background app refresh support
* Cleanup: move methods around so delegates are implemented above privates and privates are ordered better
* Add discardableResult on the userSessionStore's refreshRestorationToken
2023-05-15 13:06:25 +03:00
Velin92
903faf44ea
Translations update
2023-05-15 10:55:30 +03:00
Stefan Ceriu
a2b38f7656
Fixes cache cleaning behavior after sdk change
2023-05-12 18:47:53 +03:00
Alfonso Grillo
1981270840
Invited members in room's members list ( #880 )
...
* Add invited people in RoomMembersListScreen
* Optimize main thread perfomance in RoomDetailsScreenViewModel
* Fix member count in RoomDetailsScreenViewModel
* Add warning
* Add performance warnings
* Build members in RoomMembersListScreenViewModel in global queue
* Refactor RoomDetailsScreenViewModel build members process
* Localize strings
* Cleanup
* Fix RoomDetailsScreenViewModelTests UTs
* Fix UI tests
* Add RoomMembersListScreenViewModel UTs
* Add UI tests
* Amend UI tests
* Use clearAndTypeText
2023-05-12 13:12:59 +00:00
Doug
edc9fe4612
Use the existing quote bubble layout with TimelineReplyView.
2023-05-12 14:44:05 +03:00