Mauro
56eec826df
Fix A11y tests ( #5104 )
...
* replace NavigationStack with ElementNavigationStack to allow the content to be rendered without a NavigationStack in a11y tests
* fix a11y tests
* update xcodeproject
* swiftformat fix
* use iOS 26.1 for CI
* use a wrapper to solve the issue for a11y tests
* ElementNavigationStack only uses the trick in DEBUG mode, and added a swiftlint rule to prevent the usage of NavigationStack
2026-02-13 16:45:58 +01:00
Mauro
6160c44d67
Update copyright holding and dates ( #4640 )
...
* Update copyright holding and dates
* compound IDE Macros updated
* update copyright
* update copyrights done
* update templates and README
2025-10-21 14:34:56 +02:00
Doug
811f02962d
Use the Emoji/Map/Poll view models. ( #4458 )
...
* Toggle emojis in the EmojiPickerScreenViewModel.
* Send locations in the StaticLocationScreen.
* Send polls in the PollFormScreen.
2025-09-03 16:52:28 +01:00
Doug
84ff9ee2e2
Adopt StateStoreViewModelV2 in more screens. ( #4275 )
...
* Use StateStoreViewModelV2 in AnalyticsPromptScreen.
* Use StateStoreViewModelV2 in UserProfileScreen.
* Use StateStoreViewModelV2 in MediaUploadPreviewScreen.
* Use StateStoreViewModelV2 in the Roles & Permissions screens.
* Add the asyncStream variant of deferFailure.
* Use StateStoreViewModelV2 in BlockedUsersScreen.
* Use StateStoreViewModelV2 in ManageRoomMemberSheet.
* Use StateStoreViewModelV2 in ResolveVerifiedUserSendFailureScreen.
* Use StateStoreViewModelV2 in ReportContentScreen.
* Use StateStoreViewModelV2 in ReportRoomScreen.
* Use StateStoreViewModelV2 in StaticLocationScreen.
* Use StateStoreViewModelV2 in EmojiPickerScreen.
* Use StateStoreViewModelV2 in PollFormScreen.
* Use StateStoreViewModelV2 in DeclineAndBlockScreen.
* Use StateStoreViewModelV2 in RoomDetailsScreen.
* Fix a random compilation error that just popped up 🤷♂️
* Fix expectation message.
2025-07-02 15:13:42 +01:00
Mauro Romito
4f1c10b555
improved the accessibility labels for the view
...
also added copies for the section headers, and fixes an issue where the move action voice over was not reading the option
2025-06-16 11:31:17 +02:00
Doug
70fde932a4
Adopt the new start chat button design. ( #4013 )
...
* Update compound and handle plain to tertiary/textLink button style updates.
* Update the start chat button to use the right icon/style.
* Update preview snapshots.
* Fix remaining snapshots.
2025-04-11 17:09:57 +01:00
manuroe
c29f4cc9b4
Dual licensing: AGPL + Element Commercial ( #3657 )
...
* New LICENSE-COMMERCIAL file
* Apply dual licenses: AGPL + Element Commercial to file headers
* Update README with dual licensing
2025-01-06 11:27:37 +01:00
Mauro
17ef4093d5
remove iOS 16 support ( #3443 )
...
* remove iOS 16 support
* remove iOS 16 support
* test updates
* added more delay
* revert
* adding waiting time on the CI
2024-10-24 17:21:28 +02:00
Stefan Ceriu
89eae00479
Switch license to AGPL ( #3237 )
...
* Switch license file to AGPL
* Update file copyright headers
* Update the default project file header
2024-09-06 16:34:30 +03:00
Stefan Ceriu
61d0b8fdbb
Fixes #2360 - Add support for manually marking rooms as unread ( #2408 )
...
* Fixes #2360 - Add support for manually marking rooms as unread
* Add analytics for marking rooms as (un)read
* Remove unnecessary analytics abstraction levels
* Fix breaking API changes following SDK bump
* Add changelog
* Handle PR comments
* Fix unit tests
2024-02-05 18:06:50 +02:00
Stefan Ceriu
d23ab7b921
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
Mauro
32dd0c7969
Poll options can be multiline during creation ( #2274 )
2023-12-20 14:22:57 +01:00
Doug
278cf06f44
Fix UI tests and Release builds. ( #2248 )
...
* Fix PollFormScreen UI tests.
* Fix compilation error on release builds.
2023-12-14 15:09:29 +00:00
Mauro
79447b1f25
Periphery to detect dead code ( #2227 )
2023-12-12 10:17:15 +00:00
Mauro
fc3ab429f9
Poll title is displayed multiline when creating a poll ( #2225 )
2023-12-11 18:31:21 +00:00
Doug
69204bf824
Use ListRow on PollFormScreen. ( #2183 )
2023-11-29 09:57:35 +00:00
Alfonso Grillo
2e4b321ef2
Edit poll UX ( #2151 )
...
* Add edit poll on room proxy
* Add CreatePollMode
* Add “edit poll” presentation flow
* Add delete poll section
* Inject editing poll
* Add submit action
* Refactor validation logic
* Add edit/delete actions
* Fix bubble timestamp for polls
* Update localisations
* Refactor CreatePoll -> PollForm
* Refactor tests
* Update rust sdk to 0.0.5-november23
* Update confirmation alerts
* Add edit support in TimelineItem menu
* Refactor a11y id
* Cleanup
* Fix failing tests
* Add tests
* Refine isEditable workaround
* Refactor timestamp in TimelineItemBubbledStylerView
2023-11-23 11:19:15 +00:00
Doug
052db0d1f0
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
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
Alfonso Grillo
423ff3d2e0
Voice message loader & error handling when sending ( #1945 )
...
* Add loader & error handling
* Refactor PlainButtonStyle() -> .plain
2023-10-24 13:20:16 +00:00
Mauro
1c23afba98
supported versions ( #1848 )
2023-10-03 10:10:38 +02:00
Doug
d4b09141fe
Add remaining iOS 17 introspections. ( #1806 )
...
* Update compound.
* Update Ruby gems.
* Skip smudging in Fastlane.
* Link Git LFS for Xcode in setup-project.
2023-09-29 17:29:27 +01:00
Doug
60cf85b00f
Update iconography visible in launch video ( #1762 )
2023-09-21 12:38:09 +01:00
Mauro
3ccadba584
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
Alfonso Grillo
cb5173c4a3
Add polls analytics ( #1691 )
...
* Refactor location events
* Add poll analytics
2023-09-13 09:28:44 +02:00
Alfonso Grillo
0381fe3ce5
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
Alfonso Grillo
fccabd6470
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