Mauro
2d486ece33
Use iOS 26 Observation for Unit and Preview tests. ( #5797 )
...
* use observation in unit and preview tests instead of the async stream
* use a parsing approach that is independent of the sourcery annotation
* Fix observation deferred fulfillments not receiving the initial value
Observation's observe only emits transitions, not the value present at subscription time. Drop the leading initial value from the affected transitionValues sequences and assert it directly with #expect instead.
* improved docs
2026-06-30 14:01:08 +02:00
Stefan Ceriu
df7914d052
Fix template screen ElementNavigationStack errors
2026-03-31 18:21:14 +03:00
Doug
d130dffaf3
Remove eraseToStream now that any AsyncSequence is available to us. ( #4836 )
...
* Remove `eraseToStream` now that `any AsyncSequence` is available to us.
* Remove the now unnecessary backport of Mutex.
* Silence a couple more deprecation warnings.
2025-12-10 18:33:15 +00:00
Mauro
f7dd9cdcf8
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
f59a93d1a9
Initial setup for the SpaceListScreen. ( #4380 )
2025-08-05 11:06:26 +01:00
Doug
61a427b8e5
Update the template screen to use the new(ish) Observation framework. ( #4077 )
...
* Update the template screen to use the new(ish) Observation framework.
* Add a variant of deferFulfillment that supports observables.
* Update snapshot fulfilment to work with either a publisher or a stream.
2025-04-30 16:49:23 +01:00
manuroe
3950cac085
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
7d373c07a3
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
664e87fe87
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
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
Doug
c64fb44c96
Use Compound ListRow instead of Compound form styles. ( #1484 )
...
* Adopt ListRow Component.
* Update snapshots.
To check in future PR:
- Pseudo Bug Report Attach Screenshot label
- Bug Report screenshot padding (Use ListRow .custom?)
- De-bold Analytics & Notification Settings footer links
- Inline picker alignment perhaps?
* Changelog
* Update Compound.
* Use the label on the login screen.
2023-08-16 16:08:30 +01:00
Stefan Ceriu
6e5854abf9
Simplify the screen templates
2023-08-02 14:15:35 +03:00
Doug
de0213abb2
Adopt Compound Colours ( #1086 )
...
* Delete deprecated font tokens.
* Migrate from primaryContent to textPrimary/iconPrimary.
* Migrate from links to textLinkExternal.
* Migrate from secondaryContent to textSecondary/iconSecondary.
* Migrate from accent to textActionPrimary.
- Some uses changed to textPrimary or iconPrimary as necessary.
- Some manual tints removed now that that Sentry is fixed.
* Migrate alert to textCriticalPrimary/iconCriticalPrimary.
* Migrate from brand to textActionAccent/iconAccentTertiary.
* Migrate from background to bgCanvasDefault or text/iconOnSolidPrimary
* Migrate system to bgSubtleSecondary.
* Remove ElementUIColors and obsolete migrated colours.
* Migrate tertiaryContent/quaternaryContent/quinaryContent to Compound.
* Migrate bubblesYou/bubblesNotYou to use Compound.
* Update Compound.
2023-06-16 10:49:13 +01:00
Doug
5bb2ceedf4
Compound Fonts ( #834 )
...
* Use CompoundFonts in DesignKit (deprecate ElementFonts).
* Use compound fonts everywhere.
* Update Authentication snapshots.
* Update RoomMembersListScreen snapshots.
Delete unused snapshots.
* Fix tests.
2023-04-25 16:42:06 +01:00
Doug
50f674a111
Update template screen naming. ( #824 )
...
Update the script too.
2023-04-24 15:03:46 +01:00
Doug
1a81768c62
Fix accent colour not being applied to Alerts etc. ( #701 )
2023-03-14 13:38:36 +00:00
Stefan Ceriu
9589c689c3
Remove unnecessary marks, they bring little value
2022-11-28 12:46:06 +02:00
Doug
252b52afbf
DesignKit: Update fonts to match Figma.
2022-09-15 09:21:56 +01:00
ismailgulek
2cb6dc1cd9
Screenshot tests ( #130 )
...
* #9 Add snapshot testing library
* #9 Create script to boot test simulators
* #9 Create the UI test plan
* #9 Create shared schemes for test targets
* #9 Disable split view for UI tests
* #9 Fix fastlane dependencies
* #9 Add snapshot testing to the application
* #9 assert screenshots
* #9 fix swipe gestures on iPad
* #9 Fix accessing items in session verification screen
* #9 Workaround for flaky unit test
* #9 Specify scheme for alpha build
* #9 Add reference screenshots
* Update python script path and check assets for png check
* Update script path
* Use static timezone for simulator time
* Fix build after SwiftFormat
* Add changelog
* Upload failed screenshots artifact
* Always upload artifacts
* Update boot simulator script
* Update simulator overridden time
* Install pytz before tests
* Get time from Ruby script
* Disable SwiftUI animation when running UI tests
* Update screenshots after animation setting
* Include reference images in the artifact
* Update matching precision
* Update image matching precision & revert artifact content
* Include Xcode result in the artifact
* Update test output directory
* Disable gradient on splash screen for tests
* Tap next button explicitly
* Wait a bit before checking alert
* Wait 1 second
* Run SwiftFormat on project
* Ignore temporary screenshots
* Fix most of the PR remarks
* Fix conflicts
* Bump Python version to 3
* Update reference screenshots for authentication screens
* Update SwiftFormat
* Fix flakey session verification test.
* Update scheme.
Co-authored-by: Doug <douglase@element.io >
2022-08-11 15:02:47 +03:00
Doug
4349b8fc03
#150 : Use standard file headers everywhere.
...
* Add default header in IDETemplateMacros.plist.
* Use the standard header everywhere.
2022-08-11 08:54:24 +01:00
Doug
25d7ba55ad
Enable blank line rules. ( #132 )
2022-07-06 16:01:50 +01:00
Doug
02eb4b35e2
Add SwiftFormat to the project. ( #129 )
...
* Run swiftformat for whitespace.
* Run swiftformat with some rules.
2022-07-06 14:49:05 +01:00
Doug
266ca656fc
Add Screen suffix to all screens. ( #125 )
2022-06-30 16:48:46 +01:00
ismailgulek
fa0721b160
Rageshake Service ( #70 )
2022-06-06 12:38:07 +03:00
Stefan Ceriu
fd23649f95
Include templates in the swiftlint search path. Fixed warnings.
2022-05-12 14:06:58 +03:00
Stefan Ceriu
2f6015b97b
Add template to xcodegen, fix build and tests
2022-05-12 14:06:58 +03:00
Stefan Ceriu
d3c8b65181
Added back simple template
2022-05-12 14:06:58 +03:00