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
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
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
Alfonso Grillo
d15ed1f6a3
Add share link in start chat flow ( #926 )
2023-05-19 15:34:35 +00:00
Stefan Ceriu
59314cd3c0
Force room list updates to not animate
2023-05-11 17:31:44 +03:00
Alfonso Grillo
faefb00626
Optimize leaving a room from home screen ( #868 )
...
* Use joinedMembersCount in HomeScreenViewModel
* Update matrix-rust-sdk to 1.0.62-alpha
2023-05-09 17:06:19 +02:00
Alfonso Grillo
e9c07c9f8f
Contextual menu for rooms ( #842 )
...
* Add room contextual menu
* Add room context menu view actions
* Add navigation to room’s detail
* Show leave alert in HomeScreen
* Implement leave logic
* Refine leave navigation for iPad
* Optimize leave from homescreen
* Refactor roomSettings -> roomDetails
* Refactor room for id mock
* Add UTs
* Cleanup
* Fix alert presentation in RoomDetailsScreenViewModel
* Fix animation flag
2023-05-04 10:02:18 +00:00
Doug
18766d5852
Use search field style from Compound. ( #839 )
2023-04-28 11:59:40 +01:00
Doug
5bb2ceedf4
Compound Fonts ( #834 )
...
* Use CompoundFonts in DesignKit (deprecate ElementFonts).
* Use compound fonts everywhere.
* Update Authentication snapshots.
* Update RoomMembersListScreen snapshots.
Delete unused snapshots.
* Fix tests.
2023-04-25 16:42:06 +01:00
Stefan Ceriu
9911ad2b9b
#821 - Remove lazy room list filter (long shot)
2023-04-24 18:21:26 +03:00
Stefan Ceriu
178e1a61da
Fixes #641 - Prevent large ranges before the view renders the room list
2023-04-24 18:16:21 +03:00
Alfonso Grillo
078799c1e2
Add invites badges ( #819 )
2023-04-21 11:14:27 +00:00
Stefan Ceriu
6700d4301d
#748 - Implement methods for processing various media types and prepa… ( #772 )
...
* #748 - Implement methods for processing various media types and preparing them for upload
* Various tweaks following code review:
- added blurhash generation
- changed thumbnails to jpeg
- throwing if file size cannot be retrieved
- move MediaProvider files to separate folder so they can cleanly be imported in the NSE
- added audio file processing
- switched all image resizing methods to ImageIO
- various renames
* Fix blurhash formatting issues, `swift-format-ignore-file` doesn't work
* Processing all media within unique folders to avoid conflicts
* Fix various warnings
* Rename `sizeForItemAt(_ url: URL)` to `sizeForItem(at url: URL)`
* Remove unnecessary resizeImage(UIImage) method, start by copying not moving the file to the unique location
* Add back warning for roomDetails.avatarURL
2023-04-21 12:13:36 +03:00
Stefan Ceriu
b564036b68
Fixes #641 - Room previews failing to load because of incorrect sliding sync view ranges
2023-04-20 19:41:16 +03:00
Alfonso Grillo
9921b315b3
Accept and decline invites ( #806 )
...
* Add accept/decline invite api
* Fix isDirect logic
* Add logic for accepting/decling invites
* Add error handling structure
* Add decline alert
* Add navigation to joined room
* Add generic error
* Add changelog.d file
* Cleanup
* Fix failing UTs
* Add UTs
* Add UI tests
* Cleanup
* Update ref screenshots
* Refactor invitesScreen state
* Improve switch handling in UserSessionFlowCoordinator
* Fix build error
2023-04-19 17:05:24 +02:00
Nicolas Mauri
5b7ec6c9e2
Set up Analytics to track data per session ( #780 )
2023-04-18 07:33:32 +00:00
Alfonso Grillo
41994baa4f
Invites list ( #787 )
...
* Setup invites SS window
* Add invites label in the home screen
* Add empty invtes list
* Setup navigation to invites list
* Inject invitesSummaryProvider
* Show invites
* Add InviteCell
* Refine InviteCell UI
* Push invites
* Amend SS configuration
* Add inviter in RoomProxyProtocol
* Add Invite model type
* Improve InviteCell
* Fix media provider injection
* Refine InviteCell
* Refine invite cell
* Add invites feature flag
* Try different SS config for invites
* Regiester invites view in configureViewsPostInitialSync
* Cleanup
* Start tests
* Cleanup code
* Add changelog.d file
* Add tests
* Handle canonical alias
* Add InvitesListScreen previews
* Add localisations and improve UI tests
* Add reference screenshots
* Cleanup code
* Fix UT build errors
* Refactor InvitesList -> Invites
* Apply pr comments
* Remove reduntant @MainActor
* Naming cleanup
* Fix InvitesScreenCell.title
* Add accept/decline InvitesViewAction
* Revert Package.resolved
* Add warning in InvitesScreenCell
* Improve PlaceholderAvatarImage
* Record snapshots again
* Refactor Invite -> InvitesRoomDeatils
* Rename identifier in PlaceholderAvatarImage
2023-04-14 10:49:57 +00:00
manuroe
69e696afca
Display the room list even if the room count is not exact ( #800 )
...
* Add log to know why HomeScreenViewModel.roomListMode is .skeletons
To better understand issue #796
* Display the room list even if the room count is not exact
This is a workaround for #796
2023-04-13 20:46:44 +02:00
Stefan Ceriu
cabb8e5442
Sliding sync v2 ( #775 )
...
* Adopt latest rust Sliding Sync changes
* Bump SDK, converge on similar to configure both sliding sync lists
* Adopt latest SDK version, fix breaking changes
* Fix unit tests
2023-04-06 18:43:08 +03:00
Doug
0911f9ba89
A few small tweaks. ( #774 )
...
- Use ShareLink instead of InviteFriendsCoordinator.
- Fix a string in the user menu
- Show the word Notification as the notification's body.
---------
Co-authored-by: Mauro <34335419+Velin92@users.noreply.github.com >
2023-04-06 12:44:16 +01:00
Alfonso Grillo
2439431287
Improve tests' reliability ( #763 )
...
* Create publisher extension into the unit test target
* Add ViewModelContext test extension
* Refactor BugReportViewModelTests
* Fix failing UTs
* Idea PublishedClosure
* Refactor RoomDetailsViewModelTests
* Replace more Task.yield/Task.sleep
* Move leaveRoom/ignore/unignore under the @MainActor
* Revert "Idea PublishedClosure"
This reverts commit 4ab25291041f0dbd99083baf9d95bc6647f1fd97.
* Make process(viewAction:) sync
* Refactor BugReportViewModel callback to a publisher
* Fix UTs
* Refactor ReportContentViewModel
* Fix ui test build error
* Try make sonar happy
* Empty commit
* Revert "Try make sonar happy"
This reverts commit 97804b19373a8f55f12174ccbf27f1fd8db583b7.
* Rename ui test identifier
* Cleanup
* Callback -> actions refactor
* Update template
* Add publisher in TemplateCoordinator
* Add env variable in IntegrationTests.xctestplan
* Add async sequence extension
* Amend integration test plan
* Remove env variable from target.yml
* Cleanup
* Fix failing UI tests
2023-04-05 17:07:12 +02:00
Stefan Ceriu
8b11727f19
Various tweaks following code review
2023-03-31 17:00:36 +03:00
Michael Kaye
660dacaca9
Add identifiers for verification cross signing ( #590 )
2023-03-28 14:27:05 +01:00
Doug
2b753b1135
Use strings from Localazy ( #718 )
...
* Adopt strings from Localazy.
* Remove all old Android strings.
* Disable german snapshot tests for now.
* Rebase and add latest strings.
2023-03-27 17:18:59 +00:00
Doug
66651c0f34
Bump SDK version and fix breaking changes. ( #709 )
2023-03-20 19:26:07 +01:00
Doug
bbd64092e7
Room list avatar accessibility. ( #707 )
...
* Hide the avatar when the Dynamic Text is large
---------
Co-authored-by: sempruijs <sem@pruijs.net >
2023-03-20 10:29:49 +00:00
Doug
0ae664933b
Allow theming of the search bar. ( #700 )
2023-03-15 10:02:51 +00:00
Doug
1a81768c62
Fix accent colour not being applied to Alerts etc. ( #701 )
2023-03-14 13:38:36 +00:00
Flescio
8a069ecfa5
Epic: create and join rooms - Start Chat ( #680 )
...
* add start chat flow with UI
* add feature flag for start chat
* add changelog
* fix naming and tests
* fix empty display name in user cell
* Update ElementX/Sources/Application/AppSettings.swift
Co-authored-by: Alfonso Grillo <alfogrillo@element.io >
* add screenshots from UI test
* fix swiftFormat and add identifiers
* fix warnings
---------
Co-authored-by: Alfonso Grillo <alfogrillo@element.io >
2023-03-14 10:50:09 +01:00
Doug
7eef86970a
Update the layout of HomeScreenRoomCell for Dynamic Type ( #695 )
...
* Update the layout of HomeScreenRoomCell.
- Make sure the separator always aligns to the text when dynamic type changes.
- Use vertical padding for the minimum height to display more cells at smaller dynamic type sizes.
---------
Co-authored-by: Mauro <34335419+Velin92@users.noreply.github.com >
2023-03-10 15:56:09 +00:00
Mauro
fb27efee10
Cached avatar support (from Rust) ( #633 )
...
* loading a cached avatar at first, and then actually doing the request so that the avatar can still be displayed without connection
* improved the code
* fix + changelog
* policy on how to fetch the avatar url added
* code improvements
* addressed al PR comments
* improved the error handling
* improved the async task code
* fixed a typo
* fixed another typo
2023-03-08 17:50:06 +00:00
Doug
1c09a7eace
Update login and server selection screens ( #651 )
...
* Update login and server selection screens.
* Replace all NavigationViews with NavigationStacks
2023-03-02 18:05:18 +00:00
Stefan Ceriu
455a7105ef
Fix visible room sliding sync view ranges changing while inside rooms
2023-02-22 18:15:47 +02:00
Doug
246879f1bf
Design: Forms, Login and Members screen. ( #608 )
...
* Rename Settings styles to Form styles.
* Removed redundant FormPickerRow.
* Use the button style everywhere and fix icon shapes.
2023-02-22 13:37:02 +00:00
Stefan Ceriu
cc6201ed31
Fix incorrect visible room ranges: correctly remove duplicates and ignore appearance changes while filtering
2023-02-20 18:20:26 +02:00
Stefan Ceriu
9fe81d977c
Fixes #594 - Do not disable the session verification banner if the room list is the empty or loading state
2023-02-20 11:39:46 +02:00
Michael Kaye
a06365517c
Align accessibility IDs with elementX android ( #567 )
...
* Rename onboarding and login user/pass accessibility ids.
* Refactor remaining server change accessibility IDs
* Avoid accessibilityIdentifier spreading to all decorations on the textBox.
Required because otherwise there are multiple items tagged with the accessibilityId
which means we can't click on "the" item.
* Move all accessibility identifiers to `AccessibilityIdentifiers.swft`
- use same naming convention on all of them
- remove the unused ones
- fix build errors in integration tests and invalid identifiers (still broken until autodiscovery lands on rosa)
---------
Co-authored-by: Stefan Ceriu <stefanc@matrix.org >
2023-02-15 07:53:04 +02:00
Stefan Ceriu
ee4e4a212b
#396 - Work around duplicated room list items and add error logs ( #571 )
2023-02-13 12:21:49 +00:00
Doug
993ecfb46d
Add shimmer effect to room skeletons. ( #544 )
2023-02-07 13:19:57 +00:00
Doug
2aaeb576d2
Further design updates to the timeline. ( #524 )
...
- Decryption banner on the timeline
- Bubble colours
- Background insets
- Multiline composer corner radius
- Read marker
- GIF indicator
- Reactions shape
- Use RoomTimelineViewLabelStyle everywhere possible
- Only set a line limit on reply quotes, allow all the lines for regular quotes.
- Message label icons
- Yes/No button casing
- Make sender profiles immutable.
- Enable copy link and invite buttons.
- Fix layout loop detecting multiline composer text.
- Add animation to the encryption banner.
2023-02-03 14:09:48 +00:00
Stefan Ceriu
cbfd2d1cca
Refactor the dynamic timeline modifiers and make sure they fire in the right order
2023-02-02 17:09:14 +02:00
Stefan Ceriu
49c41d8581
Fixes #516 - Delay user profile details loading until the room list has been updated
2023-02-02 13:08:23 +02:00
Doug
93997efef9
Allow different states for the last message. ( #514 )
2023-02-02 11:05:23 +00:00
Stefan Ceriu
a9c24abcdf
Introduce back custom room list item identifiers for invalidated rooms
2023-02-01 14:29:17 +02:00
Stefan Ceriu
8f3842f74a
Dynamically adjusting the visibleRoomsView's timeline limit based on the app state
2023-01-31 20:59:08 +02:00
Doug
17568a6a2e
Initial timeline design tweaks ( #505 )
2023-01-31 13:27:35 +00:00
Stefan Ceriu
d51a9b3a2b
Memory management ( #503 )
...
* Correctly tear down the user session on signing out
* Fix session verification <-> user session retain cycle, visible range debouncer leak
* Manually clean up coordinators retained within SwiftUI's NavigationStacks
* Slightly refactor the timeline content menu builder and prevent it from retaining the view model. Cleanup now unnecessarily optional RoomScreenCoordinator instance vars
* Move coordinator dismissal logic to the navigation modules
2023-01-31 11:51:56 +02:00
Doug
59b61dc61f
Remove room cell animations. ( #501 )
2023-01-30 12:27:26 +00:00
Gil Eluard
e2e69534e3
430 - Design review for first public TestFlight Part2 ( #496 )
...
* 430 - Design review for first public TestFlight Part2
---------
Co-authored-by: Doug <douglase@element.io >
2023-01-30 11:51:07 +00:00
Stefan Ceriu
413b433806
Move last message timestamp formatting to the room summary provider and its background processing queue
2023-01-26 16:31:26 +02:00