1129 Commits

Author SHA1 Message Date
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 nightly/1.2.3.339 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 nightly/1.2.3.338 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
Element CI
9a7a9c8d98 Prepare next release 2023-08-08 03:59:20 -07:00
Stefan Ceriu
611baf194a
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
1.2.2
2023-08-08 12:07:55 +03: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
22c0e38c5d
Upload to sentry before releasing/tagging. (#1457)
This is to prevent tags being created for CI runs that have failed.
nightly/1.2.2.327
2023-08-07 14:52:54 +01:00
Stefan Ceriu
1e8b894298 Prevent xcodegen from creating temporary references in the project file 2023-08-07 12:59:48 +03:00
Doug
4eed77942f
Add an empty state on the home screen. (#1450) nightly/1.2.2.324 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 nightly/1.2.2.320 nightly/1.2.2.317 nightly/1.2.2.322 nightly/1.2.2.321 nightly/1.2.2.319 2023-08-04 17:45:24 +03:00
Doug
68f8bfed53
Update compound with row selection. (#1439)
Include accessibility traits in old form styles too.
nightly/1.2.2.316
2023-08-03 09:37:34 +00:00
Nicolas Mauri
17aa0c632f
Add a link to the global settings in the room notifications settings (#1433) nightly/1.2.2.315 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 nightly/1.2.2.314 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
Element CI
e39b7eb6c6 Prepare next release 2023-08-01 01:17:18 -07: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
1.2.1
2023-08-01 08:59:10 +01:00
Velin92
4fc5b6fb15 Translations update nightly/1.2.1.312 nightly/1.2.1.313 2023-07-31 14:33:23 +03: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. nightly/1.2.1.311 nightly/1.2.1.310 nightly/1.2.1.309 nightly/1.2.1.308 2023-07-28 18:57:32 +03:00
Stefan Ceriu
cdc7502a2c Bump the RustSDK to v1.0.103-alpha 2023-07-28 18:26:53 +03:00
Doug
07651bd3f5
Specify ElementX target for coverage in integrations plan. (#1398) nightly/1.2.1.307 2023-07-27 16:03:26 +01:00
Mauro
4b14617a8e
FF to enable filtering notifications by push rules (#1412)
* filtering notification by push rules

* changelog

* Apply suggestions from code review

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
nightly/1.2.1.306
2023-07-27 14:12:52 +00:00
Alfonso Grillo
0e7a48d961
"View only" polls in the timeline (#1399)
* Add stub methods in RoomTimelineItemFactory

* Add PollRoomTimelineView and PollEndRoomTimelineView

* Add timeline skeleton

* Start poll mapping

* Add comment

* Refine poll UI

* Add feature flags for polls

* Cleanup

* Delete poll end event

* Refine poll mapping

* Refine poll layout

* Reuse FormRowAccessory

* Refine poll bubble layout

* Localise strings

* Update project

* Refine poll preview

* Map poll properties
2023-07-27 15:34:27 +02:00
Doug
8f2904701b
Fix more unit tests. (#1406)
- Randomise test order.
- Use deferred fulfilment in more places.
- Make sure to change something before awaiting the fulfilment.
- Build a fresh AppSettings after reset().
- Retry tests on failure.
2023-07-27 12:38:48 +01:00
Alfonso Grillo
1529b5b8ca
Update SDK to 1.0.102-alpha (#1408)
* Update SDK to 1.0.102-alpha

* Log error

* Notification Improvements API part 1 (#1410)

* changes

* WIP

* progress

* updated test

* removed unused

* code improvement

* Process diffs as batches provided by the SDK.

---------

Co-authored-by: Mauro <34335419+Velin92@users.noreply.github.com>
Co-authored-by: Doug <douglase@element.io>
2023-07-27 09:48:56 +00:00
Alfonso Grillo
188d41e59d
Fix UI tests (#1409)
* Fix user session ui tests

* Fix RoomScreenUITests
2023-07-27 11:25:40 +02:00
Alfonso Grillo
90ff2df00e
Refactor TimelineItemBubbledStylerView for polls (#1404)
* Refactor bubble bg colors and insets

* Improve MapLibreStaticMapView layout

* Add BubbleTimestampLayout

* Refactor BubbleTimestampLayoutType

* Refine .horizontal, .vertical layouts

* Rename layout type

* Add docs

* Restore LocationRoomTimelineItem body

* Refactor whitespaces

* Fix background color for LocationRoomTimelineView.

* Fix UTs

* Fix analytics ui tests

* Fix bug report tests

* Fix settings ui tests

* Rename private property

* Record room screen tests
nightly/1.2.1.305
2023-07-26 15:17:41 +00:00
Mauro
99b5bf5150
Reverting to TableView but with SwiftUI compatibility (#1407)
* revert but also allows us to keep the existing SwiftUI implementation if we need it

* code improvement

* pr review

* FF is volatile

* message that communicates that is volatile
2023-07-26 13:53:43 +00:00
Mauro
ba6ad3236f
Update RoomScreen and UserSessionScreen UI tests (#1400)
* room tests

* User session screen tests

* regenerated keyboard ones

* fixing some minor issues

* code improvement

* fixed the remaining tests

* fixed last two
2023-07-26 12:23:15 +02:00
Doug
f2ffded87e
Use generated UIColors everywhere. (#1405)
- Fix destructive buttons in the menu.
2023-07-26 11:21:34 +01:00
Nicolas Mauri
ed68ed1c91
Edit the room Notification setting (#1394) 2023-07-26 09:27:14 +00:00
Mauro Romito
ed28bc5d02 two sync loop always enabled by default 2023-07-26 10:39:19 +02:00
Doug
7a9edc5efa
Make the app version and the device ID copyable in the Settings screen. (#1389) nightly/1.2.1.304 2023-07-25 17:31:42 +00:00
Stefan Ceriu
9f4479b57a Fix problem with disclosure groups randomly not disclosing by replacing with custom component
- 99% of the code is the same as we were already massively customising it
2023-07-25 18:46:14 +03:00