Commit Graph

1034 Commits

Author SHA1 Message Date
Mauro b5ff6bb93e Fix for reversed placeholder on notifications on iOS 17 (#1785)
* fix

* invalidating cached images only for iOS 17

* removed paranthesis

* better code

* fix
2023-09-25 09:46:43 +02:00
Nicolas Mauri e9ce24fd9c Improved rendering of voice messages (#1782) 2023-09-22 16:53:17 +02:00
Alfonso Grillo bc1910e9bb Consider tests for animations (#1779) 2023-09-21 15:49:38 +00:00
Alfonso Grillo 37afc8c253 Add polls "creator view" (#1765)
* Add end button in PollRoomTimelineView

* Add creator logic

* Refine PollRoomTimelineView previews

* Add UI tests

* Update preview tests
2023-09-21 14:59:17 +00:00
Nicolas Mauri b8e5611c00 Add voice message rendering to the timeline (#1776) 2023-09-21 14:36:21 +00:00
Alfonso Grillo eba3e25373 Improve message edit with RTE (#1742)
* Improv edit for RTE

* Refine code block style in composer

* Update matrix-wysiwyg-composer-swift to 2.13.0

* Remove workaround

* Update ElementX/Sources/Services/Timeline/TimelineItems/Items/Messages/TextRoomTimelineItemContent.swift

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

* Refactor rawFormattedBody -> formattedBodyHTMLString

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2023-09-21 13:45:43 +00:00
Doug 4e6fe278db Update iconography visible in launch video (#1762) 2023-09-21 12:38:09 +01:00
Doug 057c33e680 Replace timeline animation delay with a check on the item count. (#1777) 2023-09-21 11:57:11 +01:00
Mauro 8b69308e05 Prefire compatibility with Xcode 15 (#1773)
* xcode ready solution

* now the previews won't fail but get generated

* delay in some screens that require a waiting state (the bloom does not work in previews)

* better code

* longer delay

removed and redone lfs

readded as lfs
2023-09-21 11:02:50 +02:00
Alfonso Grillo 7048a0e4ad Add polls' room summaries (#1770)
* Update sdk to 1.1.18 & add poll summary

* Fix localisation
2023-09-21 07:47:14 +00:00
Mauro 9d91cd4fc0 Preview Tests (#1768)
* preview testing

* removed some views that are not really testabl in UnitTests and improved other tests
2023-09-20 17:33:31 +02:00
Stefan Ceriu bba3fab31d Conform to UIAccessibility.isReduceMotionEnabled 2023-09-20 15:13:48 +03:00
Stefan Ceriu 29bcc5371a #1246 - Prevent timeline items from being computed on the main thread when instantiating the RoomTimelineController; speed up the room selection animation. 2023-09-20 15:12:35 +03:00
Stefan Ceriu 82981f33e9 Prevent mapping members on the main queue inside the room screen view model 2023-09-20 15:09:29 +03:00
Stefan Ceriu c2a1560b1d Avoid too much back and forth throuhg FFI by lazily fetching and storing member proxy properties 2023-09-20 15:09:29 +03:00
Mauro 341b177e23 Prefire basic implementation (#1743)
* prefire basic implementation

force the unit tests to run on iPhone 14

skipping plugin validation

archive artifacts

better workflow

removed the OS restriction

lfs

custom stencil

new test file

deleting

* git lfs

* lfs

* test

* customised the stencil to support our internal protocol

* for now we can remove the OS check from the stencil

* added a delay

* tests have been moved

* improvement

* recommit

* perceptual precision lowered

* updated snapshot testing and selected also iOS version

* added ios version control
2023-09-20 14:07:18 +02:00
Mauro Romito 94c6ad9e38 speeding up the bloom a bit 2023-09-19 17:52:49 +02:00
Stefan Ceriu f95331d3a6 Use a different scheme for Element Call in the form of io.element.call:/?url=some_url 2023-09-19 18:11:09 +03:00
Stefan Ceriu 501c3aed23 Disable reply actions for local echoes 2023-09-19 17:39:04 +03:00
Doug fe656450ef Change timeline animations to use .top (flipped). (#1751) 2023-09-19 15:13:44 +01:00
Stefan Ceriu dd0a36904c Media upload: be more resilient against system errors in fetching file size 2023-09-19 15:54:11 +03:00
Stefan Ceriu c67de040e5 Fix media upload for files that generate percent encoded URLs 2023-09-19 15:54:11 +03:00
Stefan Ceriu d3b21e745f Avoid too much back and forth throuhg FFI by lazily fetching and storing timeline item properties 2023-09-19 15:42:42 +03:00
ElementRobot 2354c25aab Translations update (#1741)
Co-authored-by: pixlwave <pixlwave@users.noreply.github.com>
2023-09-18 15:14:12 +00:00
Alfonso Grillo 8ca3500981 Composer and RTE polish (#1719)
* Move link button

* Always show indent buttons

* Fix code blocks and quote block styles

* Fix code blocks and quotes style

* Update composer attachment icon

* Fix send message icon

* Fix composer border

* Fix rte border

* Update RTE button assets

* Update close rte icon

* Refactor RTE and composer layout

* more padding fixes

* Update compound

* Update WysiwygComposer to 2.11.0

* Fix ui tests

* Fix composer bottom padding

* Update snapshot tests
2023-09-18 14:11:22 +00:00
Stefan Ceriu 2f22d474f4 Force matrix_sdk_ffi to always stay on the info log level. 2023-09-18 15:41:56 +03:00
Stefan Ceriu 475e6593df Bump the SDK, handle PR comments 2023-09-18 15:41:56 +03:00
Stefan Ceriu 48eb5c421d Adopt new members and sync indicator APIs 2023-09-18 15:41:56 +03:00
Stefan Ceriu 40735fba39 Adopt the new limited lists API 2023-09-18 15:41:56 +03:00
Stefan Ceriu 472ff53fe1 Remove debouncing from room list searches as everything is faster now 2023-09-18 15:41:56 +03:00
Stefan Ceriu be1543129a Cleanup home screen state handling after rust side fixes 2023-09-18 15:41:56 +03:00
Stefan Ceriu 5fac0f3d3b Prevent too much back and forth through the FFI layer when dealing with MediaSources 2023-09-18 15:05:44 +03:00
Mauro Romito f53e76b8a8 fix 2023-09-18 13:55:07 +02:00
Stefan Ceriu 8ec68280b9 Avoid publishing changes from a background thread, dispatch upload task handles on the main queue 2023-09-18 14:08:56 +03:00
Stefan Ceriu aff3b781ad Threaded layout fixes (#1730)
* Fixes #1727 - Layout issues caused by the new timelineMediaFrame

* Better handle small media thumbnails

* fixed an issue where sometimes the reply gets greedier than the content

---------

Co-authored-by: Mauro Romito <mauro.romito@element.io>
2023-09-18 13:12:35 +03:00
Doug fd6711bbc7 Update welcome screen assets. (#1723)
* Update snapshots.
2023-09-18 11:07:47 +01:00
Nicolas Mauri 03603d13e5 Update room notification settings mismatch screen (#1733) 2023-09-18 09:11:27 +00:00
Velin92 420b982b90 Translations update 2023-09-18 10:04:16 +02:00
Stefan Ceriu dd937cb86a Various small UI tweaks for the new user details edit screen 2023-09-15 17:29:24 +03:00
Stefan Ceriu fe711a9a40 Change user display name and avatar (#1718)
* Fixes #1715, #1716 - Add new user profile editing screen

* Bump SDK, adopt new `client.removeAvatar()` method

* Address PR review comments
2023-09-15 16:20:33 +03:00
Doug b3a0680d64 Update App Icon (#1720)
Remove original TestFlight icon and unused iconizer.sh script.
2023-09-15 12:34:01 +01:00
Mauro 7642508135 Thread Decorator (#1686)
* just added the isThreaded property to message based events

* done but I should add a bunch of tests for images and videos and locations

* handling for image and videos, but locations might need to be double checked

* code improvement

* better tests and removed code that is not used, we need to fix first the appearence of replies

* bubble style is solved, we now need plain style

* also added plain style

* better handling for bubble style

* rounded corner only for bubbles in location

* fix for wrong aspect ratio in replies

* all changes done

* better testing

* swift format

* changelog

* PR comments and rebase.

* Simplify corner radius on location timeline view.

---------

Co-authored-by: Doug <douglase@element.io>
2023-09-15 11:58:30 +01:00
Doug 64d5ba7a69 Enable OIDC token refresh in the NSE. (#1711)
Update the SDK and handle API changes.
2023-09-15 09:01:09 +00:00
Alfonso Grillo 058fe79f25 Move RTE feature flag to settings (#1703)
* Update matrix-wysiwyg-composer-swift to 2.10.1

* Delete MessageComposerTextField

* Always use rte composer

* Fix corner radius

* Cleanup
2023-09-14 13:10:42 +02:00
Mauro 24524a66c8 Fade in for the bloom (#1705)
* fade in for the bloom

* changelog
2023-09-14 11:06:48 +01:00
Stefan Ceriu a4e5e4f0ed Switch callbacks to combine (#1710)
* #750 - Convert the SoftLogoutScreen to combine

* #750 - Convert the UserSessionFlowCoordinator to Combine

* #750 - Convert the AnalyticsPromptScreen to Combine

* #750 - Convert the LoginScreen to Combine

* #750 - Convert the ServerSelectionScreen to Combine

* #750 - Convert the EmojiPickerScreen to Combine

* #750 - Convert the HomeScreen to Combine

* #750 - Convert the MediaUploadPreviewScreen to Combine

* #750 - Convert the OnboardingScreen to Combine

* Rename `Onboarding` to `OnboardingScreen`

* #750 - Convert the ReportContentScreen to Combine

* #750 - Convert the RoomDetailsSscreen to Combine

* #750 - Convert the RoomMemberDetailsScreen to Combine

* #750 - Convert the RoomMembersListScreen to Combine

* #750 - Convert the SessionVerificationScreen to Combine

* #750 - Convert the SettingsScreen to Combine

* #750 - Convert the AdvancedSettingsScreen to Combine

* #750 - Convert the DeveloperOptionsScreen to Combine

* Fix the unit tests

* Use .sink action and the same cancellables constructor everywhere

* Cleanup cancellables when setting up tests
2023-09-14 12:53:33 +03:00
Nicolas Mauri a0d40b6f0c Fix: hide call notification settings until calls are available (#1709) 2023-09-14 07:46:16 +00:00
Stefan Ceriu 761d508ae5 Fixes #1699 - Introduce a new advanced settings screen (#1700) 2023-09-14 08:37:42 +03:00
Nicolas Mauri 21856e994a Fix timestamp padding for .horizontal bubble layout style (#1704) 2023-09-13 17:00:07 +00:00
Stefan Ceriu 9fbf70282e Fixes #1342 - Remove custom last message for rooms that don't have one 2023-09-13 18:05:09 +03:00