Skip to content

Conversation

@MihaiCristianCondrea
Copy link
Owner

Motivation

  • Ensure WhatsApp details UI reflects the immediate results of a cleaning operation by resetting the details flow, showing a loading state, and re-scanning so users see whether data remains or is gone.
  • Bump the Android versionCode to keep app versioning consistent with the release plan.

Description

  • When a cleaning event is observed and currentType is set, replace the previous reload behavior with a new resetAndReloadFiles() routine that clears files/suggested, sets the ScreenState to loading (ScreenState.IsLoading()), and triggers loadFiles(type, 0) to re-scan.
  • Added the private helper resetAndReloadFiles() in DetailsViewModel to encapsulate the reset + reload flow.
  • Updated app/build.gradle.kts to change versionCode from 276 to 277.

Testing

  • Ran ./gradlew test, which failed due to missing Android SDK configuration (SDK location not found; add ANDROID_HOME or sdk.dir in local.properties).
  • No other automated tests were executed in this environment due to the SDK configuration error.

Codex Task

@MihaiCristianCondrea MihaiCristianCondrea merged commit 626333f into master Jan 26, 2026
1 check passed
@MihaiCristianCondrea MihaiCristianCondrea deleted the codex/implement-data-cleanup-flow branch January 26, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants