You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compose-stability-analyzer-idea/src/main/kotlin/com/skydoves/compose/stability/idea/StabilityLineMarkerProvider.kt
+76-14Lines changed: 76 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ public class StabilityLineMarkerProvider : LineMarkerProvider {
76
76
returnnull
77
77
}
78
78
79
-
val icon = getIcon(analysis.isSkippable, analysis.isRestartable)
79
+
val icon = getIcon(analysis)
80
80
val tooltip = buildTooltip(analysis)
81
81
82
82
returnLineMarkerInfo(
@@ -92,11 +92,31 @@ public class StabilityLineMarkerProvider : LineMarkerProvider {
92
92
93
93
/**
94
94
* Gets the appropriate icon based on stability status.
95
+
*
96
+
* Colors:
97
+
* - Green (stable): All parameters are stable, composable is skippable
98
+
* - Yellow (runtime): All non-stable parameters are RUNTIME (stability decided at runtime)
99
+
* - Red (unstable): Has at least one UNSTABLE parameter
Copy file name to clipboardExpand all lines: compose-stability-analyzer-idea/src/main/kotlin/com/skydoves/compose/stability/idea/settings/StabilitySettingsConfigurable.kt
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -129,7 +129,10 @@ public class StabilitySettingsConfigurable(
129
129
row("Runtime color:") {
130
130
runtimeGutterColorPanel =ColorPanel()
131
131
cell(runtimeGutterColorPanel)
132
-
.comment("Color for runtime-determined stability (currently not used)")
132
+
.comment(
133
+
"Color for composables with only runtime parameters. "+
134
+
"Stability is determined at runtime and may vary between library versions.",
0 commit comments