3180 Commits

Author SHA1 Message Date
Mauro 8188fd2d2a NSE user agent support (#1507) 2023-08-17 13:11:34 +00:00
Stefan Ceriu a11325bcb4 Fuzzy searching debouncing (#1506)
* Add debouncer to room list fuzzy searching

* Fix function_body_length violation

* Filter out search query changes if fuzzy searching is not enabled
2023-08-17 15:35:59 +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
Mauro Romito d6b3a000f0 removed filter by push rules ff 2023-08-17 11:37:25 +02:00
ElementRobot 035d57537f Translations update (#1502)
Co-authored-by: Velin92 <Velin92@users.noreply.github.com>
Co-authored-by: Mauro <34335419+Velin92@users.noreply.github.com>
2023-08-16 17:48:12 +02:00
Stefan Ceriu 5400910855 Bump SDK to v1.0.107-alpha. Simplify syncService state handling 2023-08-16 18:21:57 +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
Doug c64fb44c96 Use Compound ListRow instead of Compound form styles. (#1484)
* Adopt ListRow Component.

* Update snapshots.

To check in future PR:
- Pseudo Bug Report Attach Screenshot label
- Bug Report screenshot padding (Use ListRow .custom?)
- De-bold Analytics & Notification Settings footer links
- Inline picker alignment perhaps?

* Changelog

* Update Compound.

* Use the label on the login screen.
2023-08-16 16:08:30 +01: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
Doug b58f76b170 Run swiftformat 0.52.0 (#1491) 2023-08-14 17:26:14 +01: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
David Langley 4503e6e0cc Fix reaction height issue (#1482)
- Fix reaction height issue
- Add regression test
- Fix reaction summary button color for text based reactions
2023-08-11 18:49:59 +02:00
Nicolas Mauri 9a52b968f1 Edit the default notification settings (#1468) 2023-08-11 17:10:23 +03:00
Alfonso Grillo f413a6b01a Fix MapLibreStaticMapView referesh (#1481) 2023-08-11 14:31:56 +02:00
Alfonso Grillo 25f66d2557 Refine polls UI in the timeline (#1474)
* Add summary view in PollRoomTimelineView

* Add selectedPollOption action

* Handle undisclosed polls

* Add more logics in PollRoomTimelineView

* Refine ended poll UI

* Refine poll layout

* More UI refinements

* Fix layout issue

* Refine progress bar

* Add poll mocks and UI tests

* Cleanup
2023-08-11 10:25:16 +00:00
Nicolas Mauri f64159670b Update SDK to 1.0.106-alpha (#1480) 2023-08-11 11:54:44 +02:00
David Langley 8512d4c857 Integrate emojibase (#1449)
* Integrate emojibase

* pin emojibase to version rather than revision

* Log error in case of failed loading of emojis from emojibase.

* Update Package.resolved

* Fix tests and bindings version
2023-08-10 19:14:18 +01:00
Stefan Ceriu a73502a146 Fixes #1140 - Dismiss all modals when presenting a room 2023-08-10 15:19:43 +03:00
Stefan Ceriu 8a69ca1ce0 Fix reply to media crash caused by missing room context (and implicitly image provider) on the new composer toolbar 2023-08-10 14:50:08 +03: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 f649d362f5 Various Sentry configuration tweaks to make it more usable 2023-08-09 15:44:23 +03:00
Stefan Ceriu 1bfd5e89ca Bump the RustSDK to v1.0.105-alpha 2023-08-09 13:33:48 +03:00
Stefan Ceriu 8f22a5f435 Re-enable and (hopefuly) simplify background app refresh handling 2023-08-09 11:25:44 +03:00
Stefan Ceriu 35685db3c4 Fixes #1418 - Preserve new lines when parsing html strings 2023-08-08 17:37:11 +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 56544d6604 #1257 - Prevent the syncing indicator from showing over the offline one 2023-08-08 15:27:48 +03:00
aringenbach 59865a4b16 Extract composer toolbar to a dedicated component (#1427)
* Extract composer toolbar to a dedicated component

* Use publisher for composer mode

* Introduce `RoomScreenComposerProvider`

* Add `ComposerToolbarViewModelTests`

* Rename protocols and add passthrough subjects for focused and composer mode

* Remove `ComposerToolbarViewActionHandler` and `ComposerToolbarCoordinatorParameters`

* Remove `RoomScreenComposerActionHandlerProtocol` and `RoomScreenComposerProviderProtocol`

* Re-arrange code a bit

* Remove composer mode being stored on `RoomScreen`

* Rename `process(viewAction: ComposerToolbarViewAction)` to `process(composerAction: ComposerToolbarViewAction)`

* Replace PassthroughSubject with direct function call

* Remove `ComposerToolbarCoordinator`

* Remove `cancelEdit` and `cancelReply` from external composer view model actions

* Use `RoomScreenComposerAction` as a sub-`RoomScreenViewModelAction`

* Move `ComposerToolbarViewModel` callback to actionsSubject

* Move `RoomScreenViewModel` callback to actionsSubject

* Fix `RoomScreenViewModelTests`

* Rename `composerAction` parameter to `roomAction`

* Fix unit tests
2023-08-08 14:25:23 +02:00
Stefan Ceriu dd6d1f6e63 Tweak swiftlint settings 2023-08-08 11:48:40 +03:00
Stefan Ceriu 10259e9345 Fixes #1455 - Use the stable timeline id to match timeline items in between local echo and remote echo states 2023-08-08 11:48:40 +03:00
Stefan Ceriu 74e0f03356 Decrease the time it takes for the timeline long press gesture to trigger 2023-08-08 11:48:40 +03:00
Doug 4eed77942f Add an empty state on the home screen. (#1450) 2023-08-07 10:10:42 +01:00
Velin92 46d5c673d4 Translations update 2023-08-07 09:12:33 +03:00
Stefan Ceriu 3515494a10 Display avatars full screen when tapping on them from the room or member detail screens 2023-08-04 17:45:24 +03:00
Doug 68f8bfed53 Update compound with row selection. (#1439)
Include accessibility traits in old form styles too.
2023-08-03 09:37:34 +00:00
Nicolas Mauri 17aa0c632f Add a link to the global settings in the room notifications settings (#1433) 2023-08-02 16:30:05 +00:00
Stefan Ceriu 6e5854abf9 Simplify the screen templates 2023-08-02 14:15:35 +03:00
Stefan Ceriu 28c2490910 Adopt batched timeline diffs and other RustSDK changes 2023-08-02 12:08:57 +03:00
Stefan Ceriu ebb7436927 Send the SDK's short git SHA to rageshakes 2023-08-02 10:27:22 +03:00
Stefan Ceriu bf8d846090 Fix warnings on now non-async methods 2023-08-01 16:30:17 +03:00
Doug 1609ae2036 Send read receipts as messages are displayed. (#1426) 2023-08-01 11:53:02 +01:00
Doug f06e063f03 Fix a bug when dismissing a media preview. (#1428) 2023-08-01 10:45:42 +01:00
David Langley 686fee617e Highlight selected emoji in picker, correct add more button in menu, fix order of count label on outgoing messages (#1430)
- Highlight selected emoji in picker
- Correct add more button in menu
- Fix the order of count/key label on outgoing messages
- Fix the size padding of emoji in reactions
2023-08-01 08:59:10 +01:00
Stefan Ceriu 6bf36b2d55 Fix unit tests 2023-07-31 14:29:40 +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
Stefan Ceriu 3c8daebfe1 Delay rendering bottom timeline items when scrolled up and avoid content shifts
- builds on top of langleyd/timeline_defer_new_items
- improve animations
2023-07-31 14:29:40 +03:00
David Langley beaf9a8dbf Reactions - Design review tweaks (#1417)
* Design review tweaks

- truncate reactions as per spec
- add haptic feedback on reacting
- Remove all collapse/expand animations on reactions
- tweak reaction and summary padding
- Fix alignment of time on reaction summary view
- Made sure reaction summary button in horizontal scroller is on screen on appear
- update screenshots

* Update TimelineReactionsView.swift

* Remove dark add more button and check long rtl reactions

* Set colour of  templated add more button

* Fix padding and only inset from the bubble on the leading side as per designs

- Fix padding
- Only inset from the bubble on the leading side as per designs

* Update screenshots

* Fix line length warning.
2023-07-31 11:16:52 +00:00
Nicolas Mauri d38b6f74b1 Notification settings screen (#1414) 2023-07-31 09:11:01 +00:00
Stefan Ceriu 62f78fb6d0 Fix DM avatars not showing up in room headers. Use the roomListItem avatar instead of the fullRoom one. 2023-07-28 18:57:32 +03:00