mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 08:15:02 +00:00
Add consign when AI adds new states for screenshot.
This commit is contained in:
@@ -37,7 +37,7 @@ PRs must meet these rules.
|
|||||||
|
|
||||||
- Create previews for **all main states** of a Composable.
|
- Create previews for **all main states** of a Composable.
|
||||||
- Use `@PreviewsDayNight` for consistency.
|
- Use `@PreviewsDayNight` for consistency.
|
||||||
- Use `PreviewParameterProvider` (e.g., `FooStatePreviewParam`) to provide states.
|
- Use `PreviewParameterProvider` (e.g., `FooStatePreviewParam`) to provide states. Always add new states to existing providers at the end of the sequence.
|
||||||
- Wrap previews in `ElementPreview { ... }`.
|
- Wrap previews in `ElementPreview { ... }`.
|
||||||
- When writing tests, never try to record the screenshots, the CI will do it.
|
- When writing tests, never try to record the screenshots, the CI will do it.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user