194 Commits

Author SHA1 Message Date
Stefan Ceriu
680c6ef3aa Update user session test snapshots following room badge changes 2024-01-23 13:59:45 +02:00
Stefan Ceriu
31286c75fc
Fixes #734 - Add a "View logs" option to the report a problem screen
Move bug report and log viewer responsibility to a separate flow coordinator. Reuse it as a child coordinator in the authentication, userSessionFlow and settings flow coordinators.
2024-01-23 10:13:48 +02:00
Stefan Ceriu
0fe52fe54b Allow reporting a problem from the onboarding screen 2024-01-22 14:17:36 +02:00
Stefan Ceriu
90eb426832
UI test fixes (#2309)
* Fix settings screen screenshots

* Fix user session test snapshots

* Fix poll creation form UI test after moving to textViews instead of textFields

* Add missing room member details snapshot

* Update the home screen avatar snapshot as the badge is not shown anymore

* Dismiss the keyboard on the poll form when inserting a new line on a poll option
2024-01-08 16:02:29 +00:00
Stefan Ceriu
d338fd0e05 Fixes #2269 - Wrong text color on the server confirmation screen subtitle 2024-01-08 11:48:28 +02:00
Nicolas Mauri
72a84badcb
Polls history (#2244) 2023-12-18 15:38:39 +00:00
Stefan Ceriu
4ac0ad51d7 Attempt fixing the UI tests 2023-12-18 15:15:43 +02:00
Stefan Ceriu
a78dea392f
Fix UI tests for AppLock flow and Start Chat flow. Regenerate outdated screenshots (#2226) 2023-12-12 14:08:27 +00:00
Doug
c7531be44c
Add toggle not invite notifications. (#2207) 2023-12-06 09:53:10 +00:00
Doug
5586405c4f
Make the attachment menu an actual menu. (#2199)
There was a bug with the sheet/popover when overriding the colour scheme where the button renders in light mode when the app is in dark mode.
2023-12-05 11:14:16 +00:00
Doug
6905ac5f70
Use ListRow in InviteUsersScreen and MessageForwardingScreen. (#2196)
* Use ListRow in InviteUsersScreen and MessageForwardingScreen.

* Remove button styles and fix snapshots.
2023-12-04 14:47:43 +00:00
Doug
df89e43f89
Use ListRow on PollFormScreen. (#2183) 2023-11-29 09:57:35 +00:00
Alfonso Grillo
81373b0d98
Update polls icons (#2163)
* Add new polls icons

* Fix preview tests

* Update UI tests

* Add polls reply view test
2023-11-24 14:39:53 +00:00
Doug
f2391394a7
Cherry pick some missed Compound/layout changes that ended up in the Xcode 15 PR. (#2120)
Fix broken Settings screen snapshots.
2023-11-20 11:06:24 +00:00
Doug
f2b4525d91
Use Compound List in more screens. (#2099)
* Use Compound List in room member details, secure backup, notification settings.

* Use ListRow in CreateRoomScreen.

* Fix ListRow layout when isWaiting && !isSelected.
2023-11-17 17:07:27 +00:00
Doug
0831c898ef
Compound icons part III - Revenge of the SF Symbol (#2093)
* Use Compound in StartChat screen.

* Update location sharing icons.
2023-11-16 15:50:06 +00:00
Doug
4b3a373782
Use more Compound icons (part 2!) (#2082)
* Use Compound icons in ListRow.

* Add CompoundIcon(asset:) convenience initialiser.
2023-11-15 09:54:43 +00:00
Doug
2c1e61a1bc
Add SwiftLint rule to enforce stack spacing. (#2080)
Xcode 15 changes the default behaviour and given we're always working from designs, we shouldn't rely on it for our layout.
2023-11-14 12:38:38 +00:00
Doug
4257c20bc9
First round of icon updates. (#2076)
Update Compound too.
2023-11-13 16:44:29 +00:00
Doug
b5cc2cbf61
Fix a regression where the forced logout indicator was presented on the hidden overlay window. (#2063) 2023-11-10 17:21:02 +00:00
Doug
37d88e622c
Add UI tests for AppLockFlowCoordinator. (#2055)
* Add UITests for the App Lock flow.

* Add Notification Signal

Fix unwanted imports in UITests.
2023-11-10 15:38:54 +00:00
Doug
1102beb3dd
Add UI tests for mandatory PIN setup flow. (#2049) 2023-11-09 09:18:18 +00:00
Doug
07313926c9
Add UI tests for optional app lock setup. (#2046) 2023-11-08 15:33:40 +00:00
Doug
af3732541e
Enable the App Lock feature. (#1990) 2023-10-31 08:55:30 +00:00
Alfonso Grillo
acfc564490
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
Doug
c6e4dc2a37
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
Doug
5356a56a00
Add AppLockSetupPINScreen. (#1930) 2023-10-23 09:07:13 +00:00
Doug
15b5b44422
Update broken snapshots. (#1924) 2023-10-19 13:32:51 +01:00
Doug
ebd9f4c916
Add App Lock settings screen (#1917) 2023-10-19 12:26:34 +01:00
Doug
b6470c9651
Initial setup ready for PIN/Biometric app lock. (#1876)
* Add AppLockCoordinator and WindowManager.
2023-10-11 12:59:47 +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
Doug
4e6fe278db
Update iconography visible in launch video (#1762) 2023-09-21 12:38:09 +01: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
Doug
38107b7b2c
Update stale snapshots. (#1739) 2023-09-18 14:48:38 +01: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
Nicolas Mauri
a0d40b6f0c
Fix: hide call notification settings until calls are available (#1709) 2023-09-14 07:46:16 +00:00
Nicolas Mauri
8268ecc036
Remove notification settings feature flag (#1693) 2023-09-13 12:05:32 +00:00
Alfonso Grillo
dc5514bc0b
Accessibility UI fixes (#1685)
* Fix accessibiliity in room attachment picker

* Fix FormattingToolbar accessibility

* Cleanup

* Fix ui tests
2023-09-12 12:46:56 +02:00
Alfonso Grillo
f8c785ae51
Polish polls UX (#1684)
* Fix bar color

* Remove “final votes” string

* Add haptic feedback for polls

* Update compound package
2023-09-11 16:52:26 +02:00
Alfonso Grillo
bd4ee92124
Rich text editor "expanded mode" (#1656)
* Fix composer icon in dark mode

* Add RTE poc

* Amend cornerRadius

* Add snaps

* Fix composer top spacing

* Fix clipping

* Refine UX

* Fix animation

* Add constants + iPad hide bars logics

* Polish clamping

* Fix UT

* Cleanup

* Add grabber color

* Add UI tests

* Rename handle -> grabber

* Fix resize composer when RTE is off

* Fix project file
2023-09-11 07:54:37 +00:00
aringenbach
c9962a4459
Add RTE formatting buttons (#1614)
* Add RTE formatting buttons

* Update UUID as stored properties

* Disable autocorrection on URL fields

* Alert ids to let

* Add ComposerToolbar_Previews

* Cleanup

* Cleanup

* Refactor FormatItem colors

* Fix composer layout issue

* Fix ui tests

* Nest ComposerToolbar A11y ids under RoomScreen

* Add composer reply ui tests

* Add UTs

---------

Co-authored-by: Alfonso Grillo <alfogrillo@gmail.com>
2023-09-05 15:39:54 +00:00
Alfonso Grillo
9b313b814e
Polls refinements (#1608)
* Refine focus behavior

* Begin draft mode

* Add alert on poll form

* Add poll ended asset

* Add fallback text for ended poll event

* Cleanup

* Fix assets

* Remove poll feature flags

* Fix UI tests

* Fix ui tests

* Refine discard poll alert

* Remove unused import

* Rename hasDraftContent -> hasContent

* Restore createPoll-2 ref screenshots
2023-09-01 15:55:11 +02:00
Mauro
38d6ffb363
Avatars and Usernames color change (#1610)
* avatars and username color change

* force a replacement for the notification placeholders

* updated also the plain style

* Update project.yml

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

* changelog

* UI tests updated

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2023-09-01 09:28:28 +00:00
Alfonso Grillo
f0fad25d09
Vote on a poll and end a poll (#1597)
* Fix project file

* Add vote and end poll actions

* Handle redaction

* Fix local echo behavior

* Cleanup

* Fix UI tests

* Add localisation

* Cleanup

* Fix end poll action style
2023-08-31 12:04:25 +02:00
Alfonso Grillo
a2623dd254
Create poll UX (#1571)
* Add poll attachment button

* Add poll creation feature flag

* Setup navigation to CreatePollScreen

* Add create/cancel actions

* Add create poll screen ui skeleton

* Add bindings in CreatePollScreen

* Add logics in CreatePollScreen

* Cleanup code

* Fix option deletion crash

* Fix conflicts

* Add create poll logic

* Add localisations

* Fix test build errors

* Fix crash

* Add UTs

* Add accessibility IDs

* Add ui tests

* Add 240 char limit

* Fix addOption hide behavior

* Add maxNumberOfOptions

* Cleanup code

* Move delete workaround in the view model

* Use compound delete icon
2023-08-30 09:23:30 +00:00
aringenbach
e08d7b491e
Move send button out of composer's text field (#1588)
* Move send button out of composer's text field

* Update user session flow screenshots
2023-08-30 08:58:29 +00:00
Mauro
963841b8ce
Updated UserSessionFlow UI Tests (#1548) 2023-08-25 13:53:50 +03:00
Nicolas Mauri
e0f885c590
Alert the user about configuration mismatch in notification settings (#1543) 2023-08-23 14:01:10 +00:00
Doug
5e3a32157a
Enable OIDC support (#1541)
Notification content is bypassed for now.
2023-08-22 15:53:27 +01:00