Skip to content

ci: add GitHub Actions workflow for build, test, and lint - #1

Merged
EarMaster merged 14 commits into
mainfrom
develop
Mar 31, 2026
Merged

EarMaster merged 14 commits into
mainfrom
develop

Conversation

@EarMaster

Copy link
Copy Markdown
Owner

No description provided.

EarMaster and others added 14 commits March 23, 2026 14:36
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
CI runners have no local Gradle install; the wrapper is required
for ./gradlew to work. Also replaces the deprecated kotlinOptions
block with kotlin { jvmToolchain(17) }.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- TabTemplate for multi-profile switching (CarApi >= 6, 2–4 profiles)
- Trend arrow as bitmap in row image slot; delta shown below value
- Configurable auto-refresh interval via Settings (30s–5min)
- Configurable tab icon per profile with picker in settings
- Fix: app not appearing in Android Auto (missing automotive meta-data)
- Fix: ActionStrip crash (exceeded max 1 titled action)
- Fix: unit labels uppercase → mg/dL / mmol/L
- Fix: Java 17 toolchain for Kotlin 2.0.21 compatibility
- Add app launcher icon, TESTING.md DHU setup guide

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…d unit fix

- Render 3-hour glucose history bitmap via Pane.setImage() with target
  range band, dotted grid lines, drop-pin value labels at 20-min marks,
  and half-hour time labels
- Show reading age and received timestamp as a second row in Car UI
- Expand ProfileIcon enum with male/female/age variants (man, woman,
  boy, girl, baby, elderly_man, elderly_woman)
- Display profile icon in Settings overview list
- Fix glucose unit label (mg/dL / mmol/L instead of MG/DL / MMOL/L)
- Replace fixed 4-per-row icon picker with FlowRow for dynamic wrapping
- Add German translations for all new strings

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…scaling

Add StatusDto/SettingsDto/ThresholdsDto DTOs and getStatus() API endpoint
to fetch bgTargetBottom/bgTargetTop from /api/v1/status.json. Repository
exposes getTargetRange(); GlucoseScreen fetches it on refresh and uses it
for the target band and dynamic Y-axis (data + range + 25% padding).
Also moves time labels to graph bottom and adds edge margin to grid lines.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add ic_launcher_monochrome.xml for Android 13+ themed icon support and
register it as the <monochrome> layer in ic_launcher.xml. Change the
adaptive icon background from #F4EFE4 to #302919.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…staged files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add per-profile glucose alert notifications using Nightscout's bgHigh/
bgLow thresholds. Alerts fire via Android notifications (15-min cooldown)
for current and predicted (15-min linear extrapolation) high/low events.
POST_NOTIFICATIONS permission added for Android 13+.

Settings screen redesigned: profile cards show alerts toggle in place of
edit/delete buttons; tap to edit, long-press to drag-reorder. Profile
edit screen restructured with save icon in top bar, test connection
directly below token, alerts toggle after connection fields, and delete
button at the bottom of the form.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…outRepository

Expands coverage from 3 to 43 tests across data layer. Also fixes
missing German translations for alert strings (lint errors).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Moves all source files and tests from com.autosugar to de.autosugar to
match the .de TLD convention. Updates namespace and applicationId in
build.gradle.kts, adds release signing config, and adds two new string
resources (label_app_version, error_invalid_url).

BREAKING CHANGE: applicationId changed from com.autosugar to de.autosugar

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds a release.yml workflow that tags, builds a signed release APK, and
uploads it to Google Play. Adds a /release slash command for bumping the
version and updating the changelog. Also updates the /commit command with
frontmatter metadata.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Set up GitHub Pages (Jekyll/minima) with home page, privacy policy,
and custom domain (autosugar.de). Rewrite README with screenshots,
Play Store badge, and improved Getting Started guide. Update ADR-0001
to reflect Play Store as primary distribution channel.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@EarMaster
EarMaster merged commit 38f9abc into main Mar 31, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant