Commit Graph

542 Commits

Author SHA1 Message Date
Nicolas Mauri 3ff983a48b Fix the room summary and reply view for voice messages (#1856) 2023-10-05 09:22:16 +00:00
Matthew Hodgson 68ec7bbc9e Implement emotes (/me) (#1841)
* implement emotes (/me)

requires matthew/emotes branch of matrix-rust-sdk

* changelog + whitespace

* remove apparently superfluous swiftlint

* fix constness

* remove inout params and incorporate review

* switch to new api based on sdk PR feedback

* Bump the RustSDK to v1.1.21

* Address PR comments

---------

Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
2023-10-03 16:17:03 +03:00
Stefan Ceriu d81bbcf3b1 Bump the Rust SDK to v1.1.20 and fix breaking API changes 2023-09-27 13:11:39 +03:00
Stefan Ceriu dad6560ed4 Room list searching tweaks (#1800)
* Prevent the room list from flashing previous rooms when searching

* Remove reset diff chunking now that the whole list is limited

* Bump the Rust SDK to v1.1.19 and fix breaking API changes
2023-09-26 14:33:15 +03:00
Doug 4e6fe278db Update iconography visible in launch video (#1762) 2023-09-21 12:38:09 +01:00
Alfonso Grillo 7048a0e4ad Add polls' room summaries (#1770)
* Update sdk to 1.1.18 & add poll summary

* Fix localisation
2023-09-21 07:47:14 +00:00
Stefan Ceriu 82981f33e9 Prevent mapping members on the main queue inside the room screen view model 2023-09-20 15:09:29 +03:00
Stefan Ceriu c2a1560b1d Avoid too much back and forth throuhg FFI by lazily fetching and storing member proxy properties 2023-09-20 15:09:29 +03:00
Stefan Ceriu c67de040e5 Fix media upload for files that generate percent encoded URLs 2023-09-19 15:54:11 +03:00
Stefan Ceriu 475e6593df Bump the SDK, handle PR comments 2023-09-18 15:41:56 +03:00
Stefan Ceriu 48eb5c421d Adopt new members and sync indicator APIs 2023-09-18 15:41:56 +03:00
Stefan Ceriu 40735fba39 Adopt the new limited lists API 2023-09-18 15:41:56 +03:00
Stefan Ceriu 8ec68280b9 Avoid publishing changes from a background thread, dispatch upload task handles on the main queue 2023-09-18 14:08:56 +03:00
Doug 64d5ba7a69 Enable OIDC token refresh in the NSE. (#1711)
Update the SDK and handle API changes.
2023-09-15 09:01:09 +00:00
Nicolas Mauri 8268ecc036 Remove notification settings feature flag (#1693) 2023-09-13 12:05:32 +00:00
Stefan Ceriu 97aa930852 Parse markdown and html from push notifications (#1688)
* Extract notification content building outside of the NotificationItemProxy. First step in a bigger refactoring of the NSE

* Import the attributed string buider into the NSE, sort `sources` imports

* Extract message event string building into the RoomMessageEventStringBuilder and reuse it building content for push notifications

* Cleanup

* Add changelog
2023-09-13 12:30:41 +03:00
Stefan Ceriu af78c41a16 Move room summary diff processing start log within its dedicated span 2023-09-02 17:35:00 +03:00
Alfonso Grillo 9b313b814e Polls refinements (#1608)
* Refine focus behavior

* Begin draft mode

* Add alert on poll form

* Add poll ended asset

* Add fallback text for ended poll event

* Cleanup

* Fix assets

* Remove poll feature flags

* Fix UI tests

* Fix ui tests

* Refine discard poll alert

* Remove unused import

* Rename hasDraftContent -> hasContent

* Restore createPoll-2 ref screenshots
2023-09-01 15:55:11 +02:00
Nicolas Mauri 3ab7b1b1c7 Display the notification mode for each room in the the room list (#1595)
Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
2023-08-31 11:15:38 +00:00
Alfonso Grillo f0fad25d09 Vote on a poll and end a poll (#1597)
* Fix project file

* Add vote and end poll actions

* Handle redaction

* Fix local echo behavior

* Cleanup

* Fix UI tests

* Add localisation

* Cleanup

* Fix end poll action style
2023-08-31 12:04:25 +02:00
Stefan Ceriu dbee85a929 Prevent the timeline from jumping whenever a room is entered
- caused by https://github.com/matrix-org/matrix-rust-sdk/issues/2488
- rolled back to a solution similar to what we had before
2023-08-31 11:06:32 +03:00
Alfonso Grillo a2623dd254 Create poll UX (#1571)
* Add poll attachment button

* Add poll creation feature flag

* Setup navigation to CreatePollScreen

* Add create/cancel actions

* Add create poll screen ui skeleton

* Add bindings in CreatePollScreen

* Add logics in CreatePollScreen

* Cleanup code

* Fix option deletion crash

* Fix conflicts

* Add create poll logic

* Add localisations

* Fix test build errors

* Fix crash

* Add UTs

* Add accessibility IDs

* Add ui tests

* Add 240 char limit

* Fix addOption hide behavior

* Add maxNumberOfOptions

* Cleanup code

* Move delete workaround in the view model

* Use compound delete icon
2023-08-30 09:23:30 +00:00
aringenbach d1573ae40d Initial integration of RTE (#1464)
* Initial integration of RTE

* Fix `clipped`, `focused` and composer view type

* Remove horizontal padding

* Add `ComposerToolbar` mock

* Restore `composerFocusedSubject`

* Allow using HTML from RTE on message sent

* Fix new message content API

* Add feature flag for Rich Text Editor
2023-08-29 12:37:13 +00:00
Stefan Ceriu b5c8676d95 Fix computing the time it takes to render the first rooms 2023-08-29 13:06:51 +03:00
Stefan Ceriu 734d8bba04 Register for room info updates 2023-08-29 12:33:25 +03:00
Stefan Ceriu 1e1923c9f4 Bump the RustSDK to v1.1.2
- add a couple more logs to the room summary provider
2023-08-28 19:56:46 +03:00
Stefan Ceriu 5f55796b7f Guard against large visible room list ranges 2023-08-28 18:55:34 +03:00
aringenbach 24aebe4616 Bump the RustSDK to v1.1.1 2023-08-28 15:37:04 +03:00
Stefan Ceriu 5162d0c726 Move the firstRooms signpost out of the RoomSummaryProvider so that it doesn't invoked for each instance 2023-08-28 11:41:37 +03:00
Stefan Ceriu c776229dc0 Bump the RustSDK to v1.1.0 2023-08-25 14:42:56 +03:00
Stefan Ceriu 0893f3926b Fixes invites not showing up 2023-08-25 13:37:15 +03:00
Stefan Ceriu 0c2445e01a Remove room duplicate detection after each diff processing
- room list sorting and handling will be moved to the SDK instead of relying on SS diffs
- we will reintroduce this but on the rust side
2023-08-25 13:37:15 +03:00
Stefan Ceriu 82c3b0972d Move the firstRooms signposts to more relevant locations 2023-08-25 13:33:06 +03:00
Stefan Ceriu 2f05400113 Dispatch updates to the UI later only after processing all of them instead of after each one 2023-08-23 21:44:19 +03:00
Stefan Ceriu 5addf9d64a Revert "Revert "Split incoming large .resets into a reset + append in order to quicker update the UI""
This reverts commit bde50f8d67.
2023-08-23 21:44:19 +03:00
Stefan Ceriu 653552f71c Revert "Revert "Increase room summary provider diff processing queue priority""
This reverts commit ea23b6dcab.
2023-08-23 21:44:19 +03:00
Stefan Ceriu bde50f8d67 Revert "Split incoming large .resets into a reset + append in order to quicker update the UI"
This reverts commit 7b9f6d253e.
2023-08-23 19:16:30 +03:00
Stefan Ceriu ea23b6dcab Revert "Increase room summary provider diff processing queue priority"
This reverts commit 4b1083bf5e.
2023-08-23 18:03:18 +03:00
Stefan Ceriu 276adb6084 Revert "Revert "Reduced room summary provider logging""
This reverts commit 78ce1577b4.
2023-08-23 16:17:49 +03:00
Stefan Ceriu 78ce1577b4 Revert "Reduced room summary provider logging"
This reverts commit 2b53104de1.
2023-08-23 11:04:10 +03:00
Stefan Ceriu 2b53104de1 Reduced room summary provider logging 2023-08-22 16:36:44 +03:00
Stefan Ceriu 4b1083bf5e Increase room summary provider diff processing queue priority 2023-08-22 16:36:44 +03:00
Stefan Ceriu 7b9f6d253e Split incoming large .resets into a reset + append in order to quicker update the UI 2023-08-22 16:36:44 +03:00
Stefan Ceriu 269fd3d1f6 Switch entirely to dynamic room list entries (normalizedMatchRoomName brings the same behavior as the old implementation) and cleanup 2023-08-22 11:12:41 +03:00
Ivan Enderlin 8dca82e65e feat: Use roomInfo to fetch the avatar URL. 2023-08-21 19:27:49 +03:00
Stefan Ceriu e1d41ad8a3 Rename fuzzy search feature flag to dynamic entries, use the new normalizedMatchRoomName filter and make sure we use the old roomList.entries api when the feature flag is disabled 2023-08-21 17:22:18 +03:00
Stefan Ceriu ff074e3fae Revert "Remove fuzzy searching entirely because of performance issues"
This reverts commit e86f65ad2d.
2023-08-21 17:22:18 +03:00
Doug 0dbbe5bb0d Fix missing DM URLs. (#1517) 2023-08-18 14:57:02 +01:00
Stefan Ceriu e86f65ad2d Remove fuzzy searching entirely because of performance issues 2023-08-18 16:17:47 +03:00
Stefan Ceriu 1e56c8d807 Fix invites UI tests, add missing RoomSummaryDetails inviter 2023-08-18 12:29:42 +03:00