Skip to content

Commit

Permalink
update snapshot image & change account (#838)
Browse files Browse the repository at this point in the history
* update by ./gradlew :ui:recordRoborazziDebug

* change name to duckie

* update by ./gradlew :ui:recordRoborazziRelease
  • Loading branch information
ricky-o-k authored Sep 25, 2023
1 parent 5ddf873 commit 551dc45
Show file tree
Hide file tree
Showing 46 changed files with 209 additions and 55 deletions.
8 changes: 4 additions & 4 deletions build-logic/src/main/kotlin/QuackMavenPublishingPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ private fun MavenPom.configureMavenPom(artifactId: String) {
}
developers {
developer {
id.set("jisungbin")
name.set("Ji Sungbin")
url.set("https://sungb.in")
email.set("[email protected]")
id.set("duckie")
name.set("io.github.duckie-team")
url.set("https://blog.duckie.team/")
email.set("[email protected]")
}
}
scm {
Expand Down
36 changes: 18 additions & 18 deletions ui/report/compose-metrics/ui_debugUnitTest-module.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"skippableComposables": 8,
"restartableComposables": 8,
"skippableComposables": 150,
"restartableComposables": 151,
"readonlyComposables": 0,
"totalComposables": 8,
"restartGroups": 8,
"totalGroups": 8,
"staticArguments": 14,
"totalComposables": 151,
"restartGroups": 151,
"totalGroups": 151,
"staticArguments": 482,
"certainArguments": 0,
"knownStableArguments": 64,
"knownStableArguments": 1852,
"knownUnstableArguments": 0,
"unknownStableArguments": 0,
"totalArguments": 64,
"totalArguments": 1852,
"markedStableClasses": 0,
"inferredStableClasses": 0,
"inferredUnstableClasses": 0,
"inferredUncertainClasses": 1,
"effectivelyStableClasses": 0,
"totalClasses": 1,
"memoizedLambdas": 12,
"singletonLambdas": 4,
"singletonComposableLambdas": 8,
"composableLambdas": 8,
"totalLambdas": 12
"inferredStableClasses": 2,
"inferredUnstableClasses": 1,
"inferredUncertainClasses": 12,
"effectivelyStableClasses": 2,
"totalClasses": 15,
"memoizedLambdas": 238,
"singletonLambdas": 84,
"singletonComposableLambdas": 112,
"composableLambdas": 150,
"totalLambdas": 244
}
36 changes: 18 additions & 18 deletions ui/report/compose-metrics/ui_release-module.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"skippableComposables": 8,
"restartableComposables": 14,
"skippableComposables": 10,
"restartableComposables": 18,
"readonlyComposables": 1,
"totalComposables": 53,
"restartGroups": 14,
"totalGroups": 67,
"staticArguments": 55,
"certainArguments": 273,
"knownStableArguments": 624,
"knownUnstableArguments": 32,
"totalComposables": 59,
"restartGroups": 18,
"totalGroups": 73,
"staticArguments": 60,
"certainArguments": 318,
"knownStableArguments": 735,
"knownUnstableArguments": 35,
"unknownStableArguments": 0,
"totalArguments": 656,
"markedStableClasses": 18,
"inferredStableClasses": 11,
"totalArguments": 770,
"markedStableClasses": 19,
"inferredStableClasses": 12,
"inferredUnstableClasses": 0,
"inferredUncertainClasses": 0,
"effectivelyStableClasses": 29,
"totalClasses": 29,
"memoizedLambdas": 23,
"singletonLambdas": 5,
"effectivelyStableClasses": 31,
"totalClasses": 31,
"memoizedLambdas": 31,
"singletonLambdas": 7,
"singletonComposableLambdas": 0,
"composableLambdas": 3,
"totalLambdas": 35
"composableLambdas": 4,
"totalLambdas": 45
}
30 changes: 15 additions & 15 deletions ui/report/compose-metrics/ui_releaseUnitTest-module.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"skippableComposables": 139,
"restartableComposables": 140,
"skippableComposables": 150,
"restartableComposables": 151,
"readonlyComposables": 0,
"totalComposables": 140,
"restartGroups": 140,
"totalGroups": 140,
"staticArguments": 460,
"totalComposables": 151,
"restartGroups": 151,
"totalGroups": 151,
"staticArguments": 482,
"certainArguments": 0,
"knownStableArguments": 1773,
"knownStableArguments": 1852,
"knownUnstableArguments": 0,
"unknownStableArguments": 0,
"totalArguments": 1773,
"totalArguments": 1852,
"markedStableClasses": 0,
"inferredStableClasses": 2,
"inferredUnstableClasses": 1,
"inferredUncertainClasses": 10,
"inferredUncertainClasses": 12,
"effectivelyStableClasses": 2,
"totalClasses": 13,
"memoizedLambdas": 221,
"singletonLambdas": 78,
"singletonComposableLambdas": 102,
"composableLambdas": 139,
"totalLambdas": 226
"totalClasses": 15,
"memoizedLambdas": 238,
"singletonLambdas": 84,
"singletonComposableLambdas": 112,
"composableLambdas": 150,
"totalLambdas": 244
}
56 changes: 56 additions & 0 deletions ui/report/compose-reports/ui_debugUnitTest-classes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,60 @@
runtime class ButtonSnapshot {
runtime val snapshotPath: SnapshotPathGeneratorRule
<runtime stability> = Runtime(SnapshotPathGeneratorRule)
}
runtime class ImageSnapshot {
runtime val snapshotPath: SnapshotPathGeneratorRule
<runtime stability> = Runtime(SnapshotPathGeneratorRule)
}
runtime class SwitchSnapshot {
runtime val snapshotPath: SnapshotPathGeneratorRule
<runtime stability> = Runtime(SnapshotPathGeneratorRule)
}
runtime class TabSnapshot {
runtime val snapshotPath: SnapshotPathGeneratorRule
<runtime stability> = Runtime(SnapshotPathGeneratorRule)
}
unstable class TagSnapshot {
unstable val testNameToSelectState: MutableMap<String, Boolean>
runtime val compose: AndroidComposeTestRule<ActivityScenarioRule<ComponentActivity>, ComponentActivity>
unstable val roborazzi: RoborazziRule
<runtime stability> = Unstable
}
runtime class TextAreaSnapshot {
runtime val snapshotPath: SnapshotPathGeneratorRule
<runtime stability> = Runtime(SnapshotPathGeneratorRule)
}
runtime class TextFieldSnapshot {
runtime val snapshotPath: SnapshotPathGeneratorRule
<runtime stability> = Runtime(SnapshotPathGeneratorRule)
}
runtime class TextSnapshot {
runtime val snapshotPath: SnapshotPathGeneratorRule
<runtime stability> = Runtime(SnapshotPathGeneratorRule)
}
runtime class ButtonTest {
runtime val compose: AndroidComposeTestRule<ActivityScenarioRule<ComponentActivity>, ComponentActivity>
<runtime stability> = Runtime(AndroidComposeTestRule)
}
runtime class TabTest {
runtime val compose: AndroidComposeTestRule<ActivityScenarioRule<ComponentActivity>, ComponentActivity>
<runtime stability> = Runtime(AndroidComposeTestRule)
}
runtime class TagTest {
runtime val compose: AndroidComposeTestRule<ActivityScenarioRule<ComponentActivity>, ComponentActivity>
<runtime stability> = Runtime(AndroidComposeTestRule)
}
runtime class TextFieldTest {
runtime val compose: AndroidComposeTestRule<ActivityScenarioRule<ComponentActivity>, ComponentActivity>
<runtime stability> = Runtime(AndroidComposeTestRule)
}
runtime class TextTest {
runtime val compose: AndroidComposeTestRule<ActivityScenarioRule<ComponentActivity>, ComponentActivity>
<runtime stability> = Runtime(AndroidComposeTestRule)
}
stable class HashCodeTest {
<runtime stability> = Stable
}
stable class NumberBuilderTest {
<runtime stability> = Stable
}
15 changes: 15 additions & 0 deletions ui/report/compose-reports/ui_release-classes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,21 @@ stable class QuackGrayscaleOutlinedTagDefaults {
stable var typography: QuackTypography
stable var unselectedTypography: QuackTypography
}
stable class TextAreaColors {
stable val backgroundColor: QuackColor
stable val contentColor: QuackColor
stable val placeholderColor: QuackColor
<runtime stability> = Stable
}
stable class QuackTextAreaDefaultStyle {
stable var radius: Dp
stable var minHeight: Dp
stable var colors: TextAreaColors
stable var border: QuackBorder
stable var contentPadding: QuackPadding
stable var placeholderTypography: QuackTypography
stable var typography: QuackTypography
}
stable class Success {
stable val label: String?
<runtime stability> = Stable
Expand Down
3 changes: 3 additions & 0 deletions ui/report/compose-reports/ui_release-composables.csv
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ team.duckie.quackquack.ui.QuackBaseTag,QuackBaseTag,1,1,1,0,0,0,0,0,1,2,
team.duckie.quackquack.ui.QuackText,QuackText,1,1,1,0,0,0,0,0,4,11,
team.duckie.quackquack.ui.ClickableText,ClickableText,1,1,1,0,0,0,0,0,1,4,
team.duckie.quackquack.ui.rememberSpanAnnotatedString,rememberSpanAnnotatedString,1,0,0,0,0,0,0,0,1,1,
team.duckie.quackquack.ui.QuackTextArea,QuackTextArea,1,0,0,0,0,0,0,0,1,7,
team.duckie.quackquack.ui.QuackTextArea,QuackTextArea,1,0,0,0,0,0,0,0,1,6,
team.duckie.quackquack.ui.QuackBaseTextArea,QuackBaseTextArea,1,1,1,0,0,0,0,0,1,19,
team.duckie.quackquack.ui.QuackDefaultTextField,QuackDefaultTextField,1,0,0,0,0,0,0,0,1,7,
team.duckie.quackquack.ui.QuackDefaultTextField,QuackDefaultTextField,1,0,0,0,0,0,0,0,1,10,
team.duckie.quackquack.ui.QuackFilledTextField,QuackFilledTextField,1,0,0,0,0,0,0,0,1,7,
Expand Down
72 changes: 72 additions & 0 deletions ui/report/compose-reports/ui_release-composables.txt
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,78 @@ fun rememberSpanAnnotatedString(
stable spanStyle: SpanStyle
unstable annotationTexts: List<String>
): AnnotatedString
scheme("[androidx.compose.ui.UiComposable]") fun QuackTextArea(
stable value: String
stable onValueChange: Function1<@[ParameterName(name = 'value')] String, Unit>
stable style: QuackTextAreaStyle? = @static Companion.Default
stable modifier: Modifier? = @static Companion
stable enabled: Boolean = @static true
stable readOnly: Boolean = @static false
stable placeholderText: String? = @static null
stable keyboardOptions: KeyboardOptions? = @static Companion.Default
stable keyboardActions: KeyboardActions? = @static Companion.Default
stable minLines: Int = @static 1
stable maxLines: Int = @static Companion.MAX_VALUE
stable visualTransformation: VisualTransformation? = @static Companion.None
stable onTextLayout: Function1<@[ParameterName(name = 'layoutResult')] TextLayoutResult, Unit>? = @static { it: TextLayoutResult ->

}

stable interactionSource: MutableInteractionSource? = @static remember({
MutableInteractionSource ( )
}
, $composer, 0)
)
scheme("[androidx.compose.ui.UiComposable]") fun QuackTextArea(
stable value: TextFieldValue
stable onValueChange: Function1<@[ParameterName(name = 'value')] TextFieldValue, Unit>
stable style: QuackTextAreaStyle? = @static Companion.Default
stable modifier: Modifier? = @static Companion
stable enabled: Boolean = @static true
stable readOnly: Boolean = @static false
stable placeholderText: String? = @static null
stable keyboardOptions: KeyboardOptions? = @static Companion.Default
stable keyboardActions: KeyboardActions? = @static Companion.Default
stable minLines: Int = @static 1
stable maxLines: Int = @static Companion.MAX_VALUE
stable visualTransformation: VisualTransformation? = @static Companion.None
stable onTextLayout: Function1<@[ParameterName(name = 'layoutResult')] TextLayoutResult, Unit>? = @static { it: TextLayoutResult ->

}

stable interactionSource: MutableInteractionSource? = @static remember({
MutableInteractionSource ( )
}
, $composer, 0)
)
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun QuackBaseTextArea(
stable value: TextFieldValue
stable onValueChange: Function1<@[ParameterName(name = 'value')] TextFieldValue, Unit>
stable modifier: Modifier
stable radius: Dp
stable minHeight: Dp
stable border: QuackBorder
stable enabled: Boolean
stable readOnly: Boolean
stable placeholderText: String?
stable keyboardOptions: KeyboardOptions
stable keyboardActions: KeyboardActions
stable minLines: Int
stable maxLines: Int
stable visualTransformation: VisualTransformation
stable onTextLayout: Function1<@[ParameterName(name = 'layoutResult')] TextLayoutResult, Unit>
stable interactionSource: MutableInteractionSource
stable backgroundColor: QuackColor
stable contentPadding: PaddingValues
stable typography: QuackTypography
stable placeholderTypography: QuackTypography
stable counterBaseColor: QuackColor?
stable counterHighlightColor: QuackColor?
stable counterTypography: QuackTypography?
stable counterBaseAndHighlightGap: Dp?
stable counterMaxLength: Int?
stable counterContentGap: Dp?
)
fun QuackDefaultTextField(
stable value: String
stable onValueChange: Function1<@[ParameterName(name = 'value')] String, Unit>
Expand Down
8 changes: 8 additions & 0 deletions ui/report/compose-reports/ui_releaseUnitTest-classes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
runtime class ButtonSnapshot {
runtime val snapshotPath: SnapshotPathGeneratorRule
<runtime stability> = Runtime(SnapshotPathGeneratorRule)
}
runtime class ImageSnapshot {
runtime val snapshotPath: SnapshotPathGeneratorRule
<runtime stability> = Runtime(SnapshotPathGeneratorRule)
Expand All @@ -16,6 +20,10 @@ unstable class TagSnapshot {
unstable val roborazzi: RoborazziRule
<runtime stability> = Unstable
}
runtime class TextAreaSnapshot {
runtime val snapshotPath: SnapshotPathGeneratorRule
<runtime stability> = Runtime(SnapshotPathGeneratorRule)
}
runtime class TextFieldSnapshot {
runtime val snapshotPath: SnapshotPathGeneratorRule
<runtime stability> = Runtime(SnapshotPathGeneratorRule)
Expand Down
Binary file modified ui/src/test/snapshots/button/Disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/button/Enabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/switch/Disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/switch/Enabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/tab/EmptyContent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/tab/FiveSameTabsAndIndexIsFour.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/tab/FiveSameTabsAndIndexIsTwo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/tab/FiveSameTabsAndIndexIsZero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/tab/ThreeDynamicTabsAndIndexIsTwo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/tab/ThreeDynamicTabsAndIndexIsZero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/tag/Filled_selected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/tag/Filled_unselected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/tag/GrayscaleFlat_selected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/tag/GrayscaleOutlined_selected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/tag/GrayscaleOutlined_unselected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/tag/Outlined_selected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/tag/Outlined_unselected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/text/QuackText_Quote.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/text/QuackText_span.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/textarea/MinHeightAppliedContent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/textarea/MinHeightAppliedPlaceholder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/textfield/QuackDefaultTextFields.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui/src/test/snapshots/textfield/QuackDefaultTextFields_icons.png
Binary file modified ui/src/test/snapshots/textfield/QuackFilledTextFields.png

0 comments on commit 551dc45

Please sign in to comment.