conference-app-2023
conference-app-2023 copied to clipboard
fix(deps): update showkase to v1.0.0-kotlin1.5.30-1
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
com.airbnb.android:showkase-processor | 1.0.0-beta17 -> 1.0.0-kotlin1.5.30-1 |
||||
com.airbnb.android:showkase | 1.0.0-beta17 -> 1.0.0-kotlin1.5.30-1 |
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
airbnb/Showkase (com.airbnb.android:showkase-processor)
v1.0.0-beta18
- Added support for custom preview annotations (https://github.com/airbnb/Showkase/pull/303).
You can now create another annotation class that's annotated with @Preview
and Showkase will ensure that the @Preview
properties are applied whenever you use the custom annotation. Here's an example
@​Preview(name = "Custom Preview One First", group = "Custom Previews")
@​Preview(name = "Custom Preview One Second", group = "Custom Previews")
annotation class MyCustomPreview
// This custom annotation can now be used to represent previews
@​MyCustomPreview
@​Composable
fun CustomAnnotationPreview() {
}
This was contributed by @oas004 and required a lot of diligence 👏🏻
-
Experimental Added a new artifact
showkase-screenshot-testing-paparazzi
that provides a mechanism to automate screenshot testing for your codebase using Showkase + Paparazzi (https://github.com/airbnb/Showkase/pull/294).
Assuming that you were already using Showkase, you just need 3 lines of code in the test
sourceset of your root module to automatically screenshot test all your previews in the default configuration.
@​ShowkaseScreenshot(rootShowkaseClass = YourShowkaseRootModuleClass::class)
abstract class MyPaparazziShowkaseScreenshotTest: PaparazziShowkaseScreenshotTest {
companion object: PaparazziShowkaseScreenshotTest.CompanionObject
}
In our own usage, we've found issues with using Paparazzi when the codebase has a large number of screenshot and haven't quite figured out what's causing it (https://github.com/cashapp/paparazzi/issues/630). As a result, try at your own risk. Having said that, we are really keen on resolving the linked issue and deploying this. If you have any insights about this issue, please reach out!
- Other misc documentation updates and fixes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
Hi @renovate[bot]! Codes seem to be unformatted. To resolve this issue, please run ./gradlew spotlessKotlinApply
and fix the results of ./gradlew lintDebug.. Thank you for your contribution.