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
Stefan Ceriu
fa78912027
Start using the new (faster) RoomInfo record to populate the room and invite lists
2023-08-17 20:36:47 +03:00
Stefan Ceriu
22e4f21b99
Prevent local echoes from being stuck behind read receipt and reaction sending
2023-08-17 13:25:58 +03:00
Stefan Ceriu
54164b8437
Move room subscriptions to a separate call, fix side effects when requesting other room data (leaving, inviter etc)
2023-08-16 18:10:08 +03:00
Stefan Ceriu
7c69012667
Speed up the room event string builder, bold sender names directly instead of parsing markdown
2023-08-16 17:30:07 +03:00
Doug
b2928a0dc6
Enable fuzzy search behind a feature flag. ( #1490 )
2023-08-14 16:41:41 +00:00
Stefan Ceriu
c9d12122bf
Revert "Adopt fuzzy searching through the RoomListService's dynamic filter" because of performance issues
...
This reverts commit e13e97400b .
2023-08-13 19:38:57 +03:00
Stefan Ceriu
e13e97400b
Adopt fuzzy searching through the RoomListService's dynamic filter
2023-08-12 09:47:09 +03:00
Nicolas Mauri
f64159670b
Update SDK to 1.0.106-alpha ( #1480 )
2023-08-11 11:54:44 +02:00
Stefan Ceriu
77061c4d7e
Fix room list service cold cache support. Make sure we dispatch the initial room list and use it for computing the home screen state
2023-08-10 09:58:46 +03:00
Stefan Ceriu
1bfd5e89ca
Bump the RustSDK to v1.0.105-alpha
2023-08-09 13:33:48 +03:00
Stefan Ceriu
0511bef33a
Fixes #1270 - Parse the latest room message instead of directly using the body. Add an app wide attributed string caching layer.
2023-08-08 17:02:37 +03:00
Stefan Ceriu
dd6d1f6e63
Tweak swiftlint settings
2023-08-08 11:48:40 +03:00
Stefan Ceriu
28c2490910
Adopt batched timeline diffs and other RustSDK changes
2023-08-02 12:08:57 +03:00
Stefan Ceriu
bf8d846090
Fix warnings on now non-async methods
2023-08-01 16:30:17 +03:00
Stefan Ceriu
d1421f555b
Enable all room summary provider logs to track down duplicated room list item problems
2023-07-31 14:29:40 +03:00