Update screenshots, changelog
All checks were successful
Build / build (push) Successful in 5m21s

This commit is contained in:
Tim Kluge 2025-06-04 23:15:10 +02:00
parent dae1369cd8
commit 8028226fac
10 changed files with 9 additions and 9 deletions

View File

@ -72,7 +72,7 @@ tasks.register("generateManifest") {
"latestVersionCode" to android.defaultConfig.versionCode,
"developer" to "github.com/timklge",
"description" to "Open-source extension that provides headwind direction, wind speed, forecast and other weather data fields.",
"releaseNotes" to "* Refactor unit conversions\n* Remove crashlytics\n" +
"releaseNotes" to "* Add forecast line graphs\n* Add wind direction and speed field\n* Refactor unit conversions\n* Remove crashlytics\n" +
"* Reduce refresh rate on K2, add refresh rate setting\n" +
"screenshotUrls" to listOf(
"$baseUrl/preview1.png",

View File

@ -118,7 +118,7 @@ class HeadwindDirectionDataType(
return flow {
while (true) {
val bearing = (0..360).random().toDouble()
val windSpeed = (0..20).random()
val windSpeed = (0..10).random()
emit(DirectionAndSpeed(
bearing,

View File

@ -81,8 +81,8 @@ class TailwindAndRideSpeedDataType(
while (true) {
val bearing = (0..360).random().toDouble()
val windSpeed = (0..20).random()
val rideSpeed = (10..40).random().toDouble()
val windSpeed = (0..10).random()
val rideSpeed = (5..10).random().toDouble()
val gustSpeed = windSpeed * ((10..40).random().toDouble() / 10)
val isImperial = profile.preferredUnit.distance == UserProfile.PreferredUnit.UnitType.IMPERIAL

View File

@ -65,8 +65,8 @@ class TailwindDataType(
while (true) {
val bearing = (0..360).random().toDouble()
val windSpeed = (0..20).random()
val rideSpeed = (10..40).random().toDouble()
val windSpeed = (0..10).random()
val rideSpeed = (5..10).random().toDouble()
val gustSpeed = windSpeed * ((10..40).random().toDouble() / 10)
val isImperial = profile.preferredUnit.distance == UserProfile.PreferredUnit.UnitType.IMPERIAL

View File

@ -88,7 +88,7 @@ class WeatherDataType(
emit(StreamData(
WeatherData(
Instant.now().epochSecond, 0.0,
20, 50.0, 3.0, 0.0, 1013.25, 980.0, 15.0, 30.0, 30.0,
20, 50.0, 3.0, 0.0, 1013.25, 980.0, 5.0, 30.0, 10.0,
WeatherInterpretation.getKnownWeatherCodes().random(), isForecast = false,
isNight = listOf(true, false).random()
), HeadwindSettings(), isVisible = true))

View File

@ -59,8 +59,8 @@ class WindDirectionAndSpeedDataType(
while (true) {
val bearing = (0..360).random().toDouble()
val windSpeed = (0..20).random()
val gustSpeed = windSpeed * ((10..40).random().toDouble() / 10)
val windSpeed = (0..10).random()
val gustSpeed = windSpeed * ((10..20).random().toDouble() / 10)
val isImperial = profile.preferredUnit.distance == UserProfile.PreferredUnit.UnitType.IMPERIAL
emit(StreamData(HeadingResponse.Value(bearing), bearing, windSpeed.toDouble(), HeadwindSettings(), gustSpeed = gustSpeed, isImperial = isImperial, isVisible = true))

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 44 KiB