Skip to content

Reapply dev changes after CI fixes#2

Closed
arudaev wants to merge 12 commits into
mainfrom
dev
Closed

Reapply dev changes after CI fixes#2
arudaev wants to merge 12 commits into
mainfrom
dev

Conversation

@arudaev
Copy link
Copy Markdown
Owner

@arudaev arudaev commented Apr 25, 2026

Reopens the dev branch after the reset and includes fixes for the iOS compile failures that broke the Appetize preview on the previous merge attempt.\n\nValidation so far:\n- Android local: assembleDebug test lint\n- Appetize workflow on dev: Android Preview and iOS Preview passed

arudaev added 12 commits April 14, 2026 15:44
OkHttp's body-level interceptor dumps every request and response payload
to Logcat regardless of build variant.  While THabella only serves public
room schedules, logging all traffic in production wastes CPU and battery
and sets a bad precedent for future work.

Gated on BuildConfig.DEBUG.  Also enabled the buildConfig AGP feature so
the constant is actually generated.
Centralise date-format patterns into AppDateFormats (data layer) and
UiDateFormats (UI layer), eliminating 7 duplicate formatter declarations
across PeriodMapper, LocalMappers, RoomRepositoryImpl, HomeScreen,
RoomDetailScreen, RoomListScreen, and ScheduleCard.

Extract the German umlaut normalisation pipeline into a shared
String.normalizeForMatching() extension (GermanStringNormalization.kt)
so RoomPriorityPolicy and RoomPresentationFormatter share one
implementation. Move the six taxonomy @serializable models out of the
600-line formatter into RoomTaxonomy.kt.

Add isMainCampus flags to 9 taxonomy buildings and a JSON Schema for
the taxonomy file. Two bidirectional tests guard the policy's hardcoded
building set against the taxonomy. iOS RoomRepository cache TTLs
extracted to named constants.

New tests: RoomRepositoryImpl cache and fallback paths (9 cases),
date-parsing boundary and error inputs (5 cases), auto-refresh loop
fires and cancels for Home and RoomList ViewModels, iOS HomeViewModel
suite (5 cases).

CI parameterises Java version and simulator name into env vars and
wraps all build/test steps with retry logic.
@arudaev arudaev marked this pull request as ready for review April 25, 2026 19:29
@arudaev arudaev closed this Apr 25, 2026
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