Stefan Ceriu
a0d8a23b6f
Secure backup fixes ( #2037 )
...
* Fix logout alert title and message
* Disable auto correction and capitalization on the recovery confirmation screen
* Allow scrolling in the key verification screen for when the key needs to be confirmed and the keyboard is up.
* Address PR comments
2023-11-07 09:23:15 +02:00
Alfonso Grillo
00994dc3d7
Add deferred spinner for voice messages ( #2018 )
...
* Add delayedLoaderPlaybackState
* Add more tests
* Fix Xcode 14 build error
* Refactor delayedLoaderPlaybackState -> playerButtonPlaybackState
* Fix runtime issue
2023-11-03 10:39:22 +00:00
Doug
86621eb2d0
Debounce PIN entry to show the last digit before submitting. ( #2017 )
2023-11-03 07:31:01 +00:00
Alfonso Grillo
b97dba43d8
Voice message UI polish (part 2) ( #1995 )
...
* Update compund
* Fix create poll screen bin button style
* Fix timeline menu description for voice messages
* Fix bin button in ComposerToolbar
* Add VoiceMessageButtonStyle
* Update compound & fix breaking changes
* Fix voice message bin size
* Refactor VoiceMessageRecordingButton
* Fix preview tests
2023-11-01 10:03:35 +01:00
Doug
93dddda0b2
Add missing gradient to lock screen placeholder. ( #1991 )
2023-10-31 13:25:18 +00:00
Doug
0d7c801093
Update Compound with new Pill colours. ( #1989 )
2023-10-31 10:47:06 +00:00
Doug
cbb9c270f9
Enable the App Lock feature. ( #1990 )
2023-10-31 08:55:30 +00:00
Doug
bdaa3925a7
Enable Element Call FF by default. ( #1983 )
...
- Aligns with the same change on Android.
- Remove the now unused FF for mention pills.
2023-10-30 17:04:01 +00:00
Stefan Ceriu
519cd938b7
Key backup Rust API adoption ( #1952 )
...
* Adopt Rust side secure backup APIs (incomplete, based on poljar/backup-pr)
* Implement the home screen recovery key confirmation banner.
* Update with the latest Rust changes.
The loading button for .unknown was incorrect. It should be treated as disabled.
---------
Co-authored-by: Doug <douglase@element.io >
2023-10-27 20:16:51 +01:00
Nicolas Mauri
2f7382fbf0
Fix: Keep the progress indicator visible after pausing or scrubbing a voice message. ( #1969 )
2023-10-27 15:24:22 +00:00
Mauro
c15e0a636b
Resizable Composer With Completion Suggestion View ( #1971 )
...
* resizable composer with suggestions view
* FF cleanup
* removing the view when the vertical size is compact
* merge conflict fix
* done
* solving a conflict
* Update ElementX/Sources/Screens/ComposerToolbar/View/CompletionSuggestionView.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com >
* pr suggestion
---------
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com >
2023-10-27 13:54:30 +00:00
Doug
e4225e9db0
Handle invalid PIN input in the settings flow. ( #1972 )
2023-10-27 14:08:06 +01:00
Alfonso Grillo
3ec2a88ae9
Remove feature flag for voice messages ( #1964 )
...
* Delete voice messages feature flag
* Fix preview tests
* Update snapshots
2023-10-27 13:45:15 +02:00
Alfonso Grillo
e18e915c5a
Refactor voice messages touch interaction ( #1970 )
...
* Remove enable/disable long press actions
* Working poc
* Refactor interaction in VoiceMessageRoomPlaybackView
* Cleanup DateFormatter
* Fix VoiceMessagePreviewComposer
* Cleanup
* Delete WaveformViewDragState
* Refactor WaveformCursorView
* Cleanup
* Add WaveformInteractionModifier
* Add selection hapitc feedback
* Fix ComposerToolbar ZStack alignment
* Refine cursor size
* Remove haptic feedback
* Fix preview test
* Delete longPressDisabledItemID
* Remove progress animation
* Project file
2023-10-27 10:08:30 +00:00
Doug
5bb85257e2
Add support for Face ID/Touch ID to app lock. ( #1966 )
...
* Fix biometrics with low grace period and backgrounding before unlocked.
* Trigger permissions alert when enabling Face ID.
2023-10-27 09:09:12 +00:00
Mauro
36cf0a0442
Converting detected plain text mentions into permalinks ( #1963 )
...
* it works but a test fail because URL(string) fails
* done!
* let
2023-10-27 09:31:01 +02:00
Mauro
c0e398e20e
Removed Pill Avatar + @room is not displayed among suggestions for DM ( #1968 )
...
* removed pill avatar
* completion suggestion service shows @room as first and only if not a DM
* code improvement
2023-10-27 09:29:20 +02:00
Alfonso Grillo
d79a0d42b5
Voice messages UI polish ( #1959 )
...
* Add VoiceMessageButton
* Add VoiceMessageRecordBadge
* Make composer transition faster
* Use VoiceMessageButton
* Adjust recording badge
* Update localisation key
* Remove animation in VoiceMessageButton
* Fix preview tests
* Cleanup
* Update preview tests
2023-10-26 09:05:42 +00:00
Nicolas Mauri
2543a98bbd
Fix: Voice recording tooltip location ( #1961 )
...
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com >
2023-10-25 19:30:41 +00:00
Mauro
cbb68d2ae9
Check Application state before sending RR ( #1960 )
...
* check the state
* better handling
* protocol to mock the application state
* test improvement
2023-10-25 19:16:37 +02:00
Nicolas Mauri
9cfe65cb03
Remove the border around the voice message composer ( #1962 )
2023-10-25 17:07:59 +00:00
Mauro
8754cee368
Replies now display mentions with @displayname ( #1957 )
...
* reply with mentions
* fixed a bug and wrote a test for it
* error message
2023-10-25 18:39:18 +02:00
Nicolas Mauri
4ae4f35e0c
Fix: do not hide keyboard when recording a voice message ( #1958 )
2023-10-25 15:39:57 +00:00
Doug
8ac2829cd0
Initial implementation for AppLockSetupFlowCoordinator. ( #1949 )
...
Rename AppLockSettingsScreen to AppLockSetupSettingsScreen.
Implement forced logout and persist PIN entry attempts.
2023-10-25 11:03:37 +00:00
Nicolas Mauri
0b5d03ffb0
Add a progress indicator to voice message preview ( #1956 )
2023-10-25 10:27:00 +00:00
Mauro
9ed8cdd908
Suggestions view design improvements ( #1955 )
...
* snapshot tests
* making the padding of the composer internal
* setting the max width using the line fragment
* setting the max width using the line fragment
* Update ElementX/Sources/Screens/ComposerToolbar/View/CompletionSuggestionView.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com >
* updated tests and pr suggestions
* better stencil
---------
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com >
2023-10-24 19:09:36 +02:00
Nicolas Mauri
ec78d43acd
Fix playback and recording of voice messages ( #1948 )
2023-10-24 16:49:42 +00:00
Stefan Ceriu
2f5ffd43f8
Key backup returns ( #1951 )
...
* Converge on UserSessionFlowCoordinator logout confirmation
* Add logout confirmation screen strings to untranslated.
* Fix chat backup learn more URl fragment.
* Implement logout flows that check recovery and key backup for the last session
* Move logout confirmation screen strings to localazy
* Change encrypted timeline item copy to "Waiting for decryption key"
* Use different encrypted history banner based on key backup states
* Introduce a SettingsFlowCoordinator and implement navigation directly to the secure backup screen from the logout flows.
* Fix **mocked** secure backup controller flows
* Simplify encrypted history banner logic
* Address PR comments
2023-10-24 18:38:41 +03:00
Alfonso Grillo
082df683ee
Update permission alerts ( #1953 )
...
* Update system alerts
* Update localisations
* Update localizations
2023-10-24 14:57:27 +00:00
Mauro
9299bfde13
Fix Suggestion Pattern when text is empty ( #1943 )
...
* fix + debounce improvement
* comment
* improved existing function to be more generic
2023-10-23 17:52:10 +02:00
Nicolas Mauri
54be55e4af
Allow to record a voice message ( #1926 )
2023-10-23 15:47:36 +00:00
Doug
8b72c8ff32
Add AppLockSetupBiometricsScreen. ( #1942 )
2023-10-23 16:18:25 +01:00
Mauro
a1146b75d5
new pill view color and size ( #1933 )
2023-10-23 16:55:04 +02:00
Alfonso Grillo
0bd6bbbef4
Fix EstimatedWaveform amplitudes ( #1939 )
...
* Fix range
* Add data range & cleanup
* Fix preview tests
2023-10-23 14:42:56 +00:00
Doug
d3c8af5a87
Add AppLockSetupPINScreen. ( #1930 )
2023-10-23 09:07:13 +00:00
Doug
b6ba38cb19
Implement AppLockScreen as per the designs. ( #1925 )
...
Fix a bug in the unlock flow
2023-10-20 17:35:57 +01:00
Mauro
04cce54c40
Send Intentional Mentions ( #1929 )
...
* updated sdks
* fix waveform
* implementation completed
* intentional mentions test
* removed unused var
* suggestion
2023-10-20 16:51:25 +03:00
Stefan Ceriu
1fe4244fe0
#1899 , #1900 , #1901 - Implement chat backup setting screens
2023-10-19 15:34:10 +03:00
Doug
abb824a951
Add App Lock settings screen ( #1917 )
2023-10-19 12:26:34 +01:00
Doug
92b19813f7
Initial service implementation for using a PIN code. ( #1912 )
...
* Initial service implementation for using a PIN code.
* Tweak Danger for commit size
600-800 lines is perfectly normal for our PRs, up it to 1000.
2023-10-19 10:42:12 +01:00
Stefan Ceriu
af3d7f66d7
Implement support for ElementCall through Rust side widgets ( #1906 )
...
* Implement support for ElementCall through Rust side widgets
* Add Element Call feature flag
* Fix the unit tests
* Address PR comments
2023-10-17 12:41:56 +03:00
Mauro
1a08f9cac0
always call tear down ( #1909 )
2023-10-16 17:28:06 +02:00
Nicolas Mauri
64f5122d32
Add UI to record a voice message from the composer toolbar ( #1892 )
2023-10-16 15:18:51 +00:00
Nicolas Mauri
b191f80dea
Prevent multiple conversion of the same voice message audio file. ( #1887 )
2023-10-13 09:48:11 +00:00
Mauro
ac89f506c9
@room in user suggestions ( #1880 )
...
* for now I am using a local RTE solution, need to fix one test
* fixed a test
* new rte version
* pr suggestions
* @room added to the suggestions
* removed empty space
* revert
* code improvement
* project updated
* package
2023-10-12 16:15:47 +00:00
Doug
c5db3d5910
Remove DesignKit package ( #1886 )
...
- Move button styles to Compound
- Rename text style to AuthenticationTextStyle as its only in the auth flow.
- Add the brand colour locally for now until its included in Compound.
* Update snapshots.
---------
Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com >
2023-10-12 15:45:27 +01:00
Stefan Ceriu
801799ad5e
Fix unit tests following botched SDK bump
2023-10-12 11:46:32 +03:00
Mauro
8497768979
Render pills in RTE ( #1874 )
...
* for now this can only work locally
* works
* added a test
* updated RTE
* revert package
* pr suggestion
* reverting package versions
* better naming
2023-10-11 16:40:52 +02:00
Stefan Ceriu
8069d36249
Various optimisations ( #1878 )
...
* Cache TimelineBubbleLayout subview sizes
* Cache MessageText sizes, avoid extra updates
* Only use the `CollapsibleReactionLayout` if there's more than 5 reactions on a particular message
* Upgrade Sentry to 8.13.0, disable various options as they're not useful and impact performance
* Address PR comments, fix unit tests
2023-10-11 16:21:45 +03:00
Doug
81331aa9b2
Initial setup ready for PIN/Biometric app lock. ( #1876 )
...
* Add AppLockCoordinator and WindowManager.
2023-10-11 12:59:47 +00:00