Commit Graph

904 Commits

Author SHA1 Message Date
Doug
09cccc6754 Fix missing user agent during login and the first session. (#1181) 2023-06-27 14:41:57 +00:00
David Langley
7e4afbaae6 Fix reaction hit area (#1178)
* Add workaround to stop the message long press steal touches from the reaction button

* put back newline
2023-06-27 13:02:23 +00:00
Mauro
ff8728b86c Placeholders added in push notifications (#1176)
* placeholders added in push notifications

* this code is a bit easier to read

* code improvement
2023-06-27 11:44:19 +00:00
Doug
66e94ed922 Update iPhone pseudo-language snapshots/ (#1167) 2023-06-27 10:19:55 +01:00
Element CI
41d4b172ad Prepare next release 2023-06-26 11:05:00 -07:00
Doug
b8ec1096ba Handle waiting list error. (#1165) 2023-06-26 18:26:20 +01:00
Stefan Ceriu
19e23a006a Bump the RustSDK to v1.0.87-alpha 2023-06-26 20:25:55 +03:00
aringenbach
ec4a916951 Rename sendReaction as toggleReaction 2023-06-26 20:25:55 +03:00
Johannes Marbach
092e4db1a2 Render emote notifications like in the timeline (#1152)
Fixes: #1117
2023-06-26 16:33:46 +00:00
Stefan Ceriu
1b01001629 Bump the RustSDK to v1.0.86-alpha 2023-06-26 16:30:24 +03:00
Stefan Ceriu
7b11bef8b0 Temporarily remove the location usage description 2023-06-26 16:23:44 +03:00
Mauro
e215f8bc9e SDK bump to 1.0.85-alpha and disable push rules filtering (#1162)
* sdk bump and disable push rules filtering

* changelog
2023-06-26 16:22:55 +03:00
Mauro
fe97ea3093 Handling cancelled as a sendingFailed case (#1161)
* handling cancelled as a sendingFailed case

* changelog
2023-06-26 10:33:15 +00:00
Velin92
20b56d5800 Translations update 2023-06-26 13:13:27 +03:00
Stefan Ceriu
4c45d8722c Reuse previously build room summaries for diffs that contain invalidations 2023-06-26 13:02:17 +03:00
David Langley
54a7e7acf0 Reaction highlights (#1145)
* Highlight own reactions

- Highlight own reactions on timeline and improve style.
- Highlight reactions on message bottom sheet only when it our own.

* Improve overlay background colours

* pin to new sdk version

* Remove the red used for debug.

* Fix padding, overlap and only display count if > 1.

- Fix reaction padding and overlap of reaction and bubble.
- Only display count if greater than 1.
- Return EmptyView for TimelineDeliveryStatus.cancelled.

* Fix colors as per design recommendations.

* Add Snapshot tests for reactions and documentation.

- Add UITests for the timeline including reactions.
- Add the reference snapshots.
- Add documentation on how to run snapshot tests and update the reference snapshots.

* Fix Package.resolved
2023-06-25 13:24:48 +01:00
Doug
3ccd8aab6a Fix asset folder structure. 2023-06-24 20:11:55 +01:00
Stefan Ceriu
2b660d48a7 Fix clientProxy isSyncing not taking into consideration the encryptionSyncLoop feature flag 2023-06-24 20:36:03 +03:00
Doug
cf410fd7e0 App polish part 5 (#1149)
- Set launch/splash screens to default background colour.
- Replace launch screen storyboard with info plist keys.
- Remove useless layout components in bubble styler.
- Fix lint error.
- Rename all assets.
- Update design of Analytics Prompt.
2023-06-23 17:10:37 +01:00
Alfonso Grillo
8a83e79e5f Update Matrix SDK to v1.0.84-alpha (#1147)
* Fix build errors

* Add sendLocation API

* Amend cancelled behavior
2023-06-23 15:14:38 +00:00
Mauro
7b46e86098 updated ui tests and deleted unused ones (#1143)
* updated ui tests and deleted unused ones

* fix keyboard missing on iPad

* fix keyboard missing

* code improvement

* improvement for user session screen

* readded some removed files
2023-06-23 13:18:44 +00:00
Michael Kaye
aa748448a1 Stop asserting integration test run time & move to performance testing runner. (#1132)
* Stop asserting integration test run time.
* Move integration testing to the perf runner.
2023-06-23 13:44:33 +01:00
Alfonso Grillo
e7d11b8311 Render location events in the timeline (#1136)
* Start location integration in the timeline

* Add warning

* Add LocationRoomTimelineView

* Add GeoURI

* Refine LocationRoomTimelineView

* Refine LocationRoomTimelineView

* Add LocationRoomTimelineView previews

* Cleanup code

* Mock reply

* Add FF for location events

* Update project file

* Fix MapLibreStaticMapView placeholder

* Add MapTilerAttribution

* Add LocationPinView

* Fix layout

* Start reply rendering

* Refactor ReplyView.Icon

* Add localisations

* Fix reactions

* Amend GeoURI regex

* Add log

* Fix tests

* Attribution placement refactor

* Cleanup

* Replace NSRegularExpression with a regex

* Cleanup

* Update unit tests

* isMediaType -> shouldFillBubble
2023-06-23 12:49:35 +02:00
Doug
8e92d1121a App Polish number 4 (#1142)
* Add dedicated placeholder screen instead of using the splash screen.

* Reorder message actions.
2023-06-23 11:01:09 +01:00
Mauro
c77200c8f0 Keyboard is kept dismissed when dismissing the actions or the attachments menu (#1141)
* keyboard is kept dismissed

* no need for dispatch queue
2023-06-23 09:39:43 +00:00
Mauro
dba4060423 Two sync loop experimental solution to decrypt push notifications (#1082)
* Experimental two sync loop solution

* better logging

* improved the code and handled invite notifications display better

* improved invite notifications

* new exerimental branch

* new sync loop

* code updated

* code improvements

* code improvements

* fix typo

* code improvements

* removed some unused code and added a respawn

* fixing some NSE issues

* code improvements

* new version of the branch

* more logging

* running the nse process ONLY IF necessary

* finally works! made also the feature flag

* also the encryption value of the room list api will depend on the flag now

* changelog

* code improvements

* code improvement

* updated proj

* fixing some compilation error after the rebase

* opt-in for the encryption sync

* fix
2023-06-22 17:23:33 +00:00
Stefan Ceriu
241df9c157 Room list service (#1138)
* Adopt the new RoomListService

* Use client.roomListWithEncryption

* Store the roomList so that it doesn't get dropped and create problems on the rust side

* Use roomListService instead of old roomList client method

* Added back documentation removed by mistake

* Tweaks following code review, SDK bump
2023-06-22 19:59:32 +03:00
Mauro
28497a39ce sdk bump, last one for today I swear (#1134) 2023-06-22 14:51:42 +00:00
Doug
d865c3bc8a App polish part 3 (#1135)
- Add an animation to long press on messages.
- Make emojis bigger on the reactions picker screen.
- Remove quote menu action.
- Fix emoji picker handle overlapping focused search field.
- Update launch, splash and onboarding screens.
- Use elevation tokens in Forms.
- Move the cancel button on the Start Chat flow.
2023-06-22 14:37:47 +01:00
Stefan Ceriu
030b1b0bfa Various tweaks (#1129)
* Fixes #1121 - Hide the loading indicator after the logout task finishes

* Manually restart the sync only when entering the `error` state

* Use stopSync instead of the roomListService directly on client deinit

* Replace WeakClientProxyWrapper with callback based delegate

* Fix homescreen user avatar not automatically updating

* Replace default Build SDK profile with reldbg, which is fast but also doesn't crash

* Always show the loading indicator when the room list is not in a `running` state

* Implement delayed user indicator presentations through the normal API

* Fix the unit tests

* Replace UserIndicatorController delayedIndicators dictionary with a plain set
2023-06-22 15:04:20 +03:00
Mauro
f64bd4be23 SDK Bump to 1.0.80 and push notifications filtering (#1131)
* filtering nil notifications

* updated the sdk
2023-06-22 11:24:37 +00:00
Stefan Ceriu
6232349231 Add support for media uploading progress
- replace the ProgressTracker with a combination of currentValueSubjects and currentValuePublishers
2023-06-22 13:37:13 +03:00
Stefan Ceriu
cd5e24f527 Prevent determinate progress views from showing up as indeterminate ones for a split second 2023-06-22 13:37:13 +03:00
Stefan Ceriu
d7ef7c88dd Fixes #1123 - Cached LFS checkout 2023-06-22 07:52:18 +03:00
Stefan Ceriu
c239ed0f8c Bump the RustSDK to v1.0.79-alpha 2023-06-21 18:45:26 +02:00
Nicolas Mauri
135063ea85 Add posthog events (#1097) 2023-06-21 18:00:33 +02:00
Stefan Ceriu
839fec5e2c Fixes #978 - Message forwarding support
* Add support for message forwarding

* Move the TimelineProvider within the RoomProxy to avoid it going out of sync and have it automatically register for timeline updates on init

* Implement single selection form button style for message forwarding

* Add searching and filter out the source room from the list

* Fixed emoji screen initial search bar height

* Add view models tests

* Add changelog

* Update strings

* Tweaks following code review
2023-06-21 12:10:14 +03:00
Stefan Ceriu
2bee5ab95d Fixes #1102 - Crashes when opening the invites screen 2023-06-21 09:04:41 +03:00
Doug
8052441bd7 App polish part 2 (#1118)
- Fix sheet backgrounds in dark mode.
- Fix background colours for reaction buttons.
- Reply view layout.
- Update separator colours.
- Don't show sender name/avatar in DMs.
- Fix inconsistent line heights with formatted body text.
- Use plain text for reply
- Increase tappable size of collapsed state changes button.
- Blockquote layout and text colour.
- Tap to expand the topic in room details.
- Change the topic and security font size in room details.
- Add cancel button when inviting someone to an existing room.
- Reword Add Friends to Add People in start chat screen.
- Update compound.
2023-06-20 17:31:40 +00:00
Flescio
abd8f1078d Static map component (#1115)
* init of static map views

* add placeholder and reload images
2023-06-20 17:55:01 +02:00
Stefan Ceriu
ca5dfbe7f0 Various UI tweaks (#1112)
* Tweak invites button frame and padding

* Implement persistent selections on the room list

* Stop showing rooms when focusing the room list search field with an empty query

* Tweaks after code review

* Improve invite button UI

* Fix unit tests
2023-06-20 12:20:26 +03:00
Stefan Ceriu
20cf97bcf1 Bump the RustSDK to v1.0.78-alpha 2023-06-19 19:01:22 +03:00
Stefan Ceriu
e59e5ee2c9 Add back custom identifiers for invalidated room, avoid duplicates and gaps on the room list 2023-06-19 17:51:40 +03:00
Johannes Marbach
96bfd780de Add analytics tracking for room creation (#1100) 2023-06-19 13:35:58 +01:00
Stefan Ceriu
50fdbc307e Retract all user indicators when tearing down the user session 2023-06-19 13:38:49 +03:00
Stefan Ceriu
48ae86fe73 #1108 - Prevent invites from stealing away the roomList's state listener 2023-06-19 13:38:49 +03:00
Mauro
b14b78da3d Invitation Notification design improvements and navigation (#1091)
* invitation notification

* handling navigation to the invite view

* improved invite notifications

# Conflicts:
#	NSE/Sources/NotificationServiceExtension.swift

* improved the design

* improved the navigation handling on iPad vs iPhone

* comment

* code improvement

* better doc
2023-06-19 08:03:32 +00:00
Doug
8c6e082a0e App Polish (#1098)
* App polish

- Skeleton avatar colour on app switching.
- Bug report icon and string.
- Semi-bold font on room list timestamps.
- Room attachments button spacing and alignment.
- Replace link tint with semi-bold font in AnalyticsSettingsScreen.
- Semi-bold font on Invites button.
- Add padding to media attachment sheet.
- Message composer header layout tweaks.
- Remove indicator after changing homeserver with an MXID.
- Change copy permalink string.
- Formatting of link in Analytics Prompt.
- Remove indicator after changing homeserver with an MXID.
- Change copy permalink string.
- Formatting of link in Analytics Prompt.
- Only semi-bold the room timestamp when unread.
- Tweak the colour of the date separator.
- Add activity indicator to toast style user indicator.
2023-06-16 16:41:25 +00:00
Stefan Ceriu
2dd58352ec Bump the RustSDK to v1.0.77-alpha 2023-06-16 17:41:12 +03:00
Alfonso Grillo
2518d5e202 Fix RoomProxy.isEncryptedOneToOneRoom (#1094) 2023-06-16 16:35:22 +02:00