Commit Graph

1098 Commits

Author SHA1 Message Date
Stefan Ceriu
a7384cfa8a 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
05c75e48f7 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
dccfac308b Speed up the room event string builder, bold sender names directly instead of parsing markdown 2023-08-16 17:30:07 +03:00
Doug
c18a52d374 Update project (#1494)
- Sort dependencies a bit more.
- Remove .git extension in DesignKit.
- Regenerate project using XcodeGen 2.36.1
2023-08-15 11:42:18 +01:00
Doug
ee430e7e2c Enable fuzzy search behind a feature flag. (#1490) 2023-08-14 16:41:41 +00:00
Doug
f612655d9c Run swiftformat 0.52.0 (#1491) 2023-08-14 17:26:14 +01:00
Stefan Ceriu
c981e2dc1b Revert "Adopt fuzzy searching through the RoomListService's dynamic filter" because of performance issues
This reverts commit fcca9be20f.
2023-08-13 19:38:57 +03:00
Stefan Ceriu
fcca9be20f Adopt fuzzy searching through the RoomListService's dynamic filter 2023-08-12 09:47:09 +03:00
David Langley
e9727d6794 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
2102ebc01e Edit the default notification settings (#1468) 2023-08-11 17:10:23 +03:00
Alfonso Grillo
5256c5ae20 Fix MapLibreStaticMapView referesh (#1481) 2023-08-11 14:31:56 +02:00
Alfonso Grillo
8d5ee49e6d 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
f018c5ee9c Update SDK to 1.0.106-alpha (#1480) 2023-08-11 11:54:44 +02:00
Doug
2a3a2e1e55 Disable timeline in the middle test again. (#1475)
* Fix RoomDetailsScreen tests too.
2023-08-11 09:53:43 +01:00
David Langley
4a242358f4 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
Element CI
6fb40008f2 Prepare next release 2023-08-10 07:10:31 -07:00
Stefan Ceriu
0a58fbfeac Fixes #1140 - Dismiss all modals when presenting a room 2023-08-10 15:19:43 +03:00
Stefan Ceriu
e891d6a88b 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
07cc467030 Add missing changelogs 2023-08-10 12:40:28 +03:00
Stefan Ceriu
7c3e33954a 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
28625bd904 Various Sentry configuration tweaks to make it more usable 2023-08-09 15:44:23 +03:00
Stefan Ceriu
932a86ff8c Bump the RustSDK to v1.0.105-alpha 2023-08-09 13:33:48 +03:00
Stefan Ceriu
8d6648302a Re-enable and (hopefuly) simplify background app refresh handling 2023-08-09 11:25:44 +03:00
Stefan Ceriu
92cd50ed76 Fixes #1418 - Preserve new lines when parsing html strings 2023-08-08 17:37:11 +03:00
Stefan Ceriu
87d880ac88 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
72d02f8c27 #1257 - Prevent the syncing indicator from showing over the offline one 2023-08-08 15:27:48 +03:00
aringenbach
b077e0fd38 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
Element CI
1d87b2b56e Prepare next release 2023-08-08 03:59:20 -07:00
Stefan Ceriu
e249291f6d Xcode cloud sentry tweaks (#1459)
* Increase the sentry log level used in debug symbol uploading

* Set sentry max http retries to 5

* Revert: set sentry max http retries to 5 as it doesn't work

* Implement automatic sentry_upload_dif retries
2023-08-08 12:07:55 +03:00
Stefan Ceriu
127e7f29a6 Tweak swiftlint settings 2023-08-08 11:48:40 +03:00
Stefan Ceriu
fcb4a22079 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
f2131a3411 Decrease the time it takes for the timeline long press gesture to trigger 2023-08-08 11:48:40 +03:00
Doug
5a25eae67f Upload to sentry before releasing/tagging. (#1457)
This is to prevent tags being created for CI runs that have failed.
2023-08-07 14:52:54 +01:00
Stefan Ceriu
ff3fd4d2c0 Prevent xcodegen from creating temporary references in the project file 2023-08-07 12:59:48 +03:00
Doug
63fbd5ab60 Add an empty state on the home screen. (#1450) 2023-08-07 10:10:42 +01:00
Velin92
fb649d6704 Translations update 2023-08-07 09:12:33 +03:00
Stefan Ceriu
e8116ae776 Display avatars full screen when tapping on them from the room or member detail screens 2023-08-04 17:45:24 +03:00
Doug
adc7642ab1 Update compound with row selection. (#1439)
Include accessibility traits in old form styles too.
2023-08-03 09:37:34 +00:00
Nicolas Mauri
92db5236a4 Add a link to the global settings in the room notifications settings (#1433) 2023-08-02 16:30:05 +00:00
Stefan Ceriu
1ab56fd8d1 Simplify the screen templates 2023-08-02 14:15:35 +03:00
Stefan Ceriu
65c7dec5c9 Adopt batched timeline diffs and other RustSDK changes 2023-08-02 12:08:57 +03:00
Stefan Ceriu
ccf1706ea0 Send the SDK's short git SHA to rageshakes 2023-08-02 10:27:22 +03:00
Stefan Ceriu
34e6156891 Fix warnings on now non-async methods 2023-08-01 16:30:17 +03:00
Doug
404af0763a Send read receipts as messages are displayed. (#1426) 2023-08-01 11:53:02 +01:00
Doug
553c96521f Fix a bug when dismissing a media preview. (#1428) 2023-08-01 10:45:42 +01:00
Element CI
b0ded7eb27 Prepare next release 2023-08-01 01:17:18 -07:00
David Langley
ea691f718a 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
Velin92
3e26b8fadc Translations update 2023-07-31 14:33:23 +03:00
Stefan Ceriu
86a1097540 Fix unit tests 2023-07-31 14:29:40 +03:00
Stefan Ceriu
58da19c42b Enable all room summary provider logs to track down duplicated room list item problems 2023-07-31 14:29:40 +03:00