mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Reaction highlights (#1145)
* Highlight own reactions - Highlight own reactions on timeline and improve style. - Highlight reactions on message bottom sheet only when it our own. * Improve overlay background colours * pin to new sdk version * Remove the red used for debug. * Fix padding, overlap and only display count if > 1. - Fix reaction padding and overlap of reaction and bubble. - Only display count if greater than 1. - Return EmptyView for TimelineDeliveryStatus.cancelled. * Fix colors as per design recommendations. * Add Snapshot tests for reactions and documentation. - Add UITests for the timeline including reactions. - Add the reference snapshots. - Add documentation on how to run snapshot tests and update the reference snapshots. * Fix Package.resolved
This commit is contained in:
@@ -57,6 +57,14 @@ Git LFS is used to store UI test snapshots. `swift run tools setup-project` will
|
||||
git lfs install
|
||||
```
|
||||
|
||||
### Snapshot Tests
|
||||
|
||||
If you make changes to the UI you may cause existing UI Snapshot tests to fail. You can run the snapshot tests using `UITests` target. To update the reference snapshots, delete them from `element-x-ios/UITests/Sources/__Snapshots__/Application` and run the tests again.
|
||||
These are the devices we store snapshots for that you will need to run against:
|
||||
- iPhone 14
|
||||
- iPad (9th generation)
|
||||
|
||||
|
||||
### Githooks
|
||||
|
||||
The project uses its own shared githooks stored in the .githooks folder, you will need to configure git to use such folder, this is already done if you have run the setup tool with `swift run tools setup-project` otherwise you would need to run:
|
||||
|
||||
Reference in New Issue
Block a user