Skip to content

Feat/android fixes#6

Merged
tmihalicka merged 4 commits intomainfrom
feat/android-fixes
Jan 11, 2026
Merged

Feat/android fixes#6
tmihalicka merged 4 commits intomainfrom
feat/android-fixes

Conversation

@tmihalicka
Copy link
Member

No description provided.

tmihalicka and others added 4 commits January 11, 2026 14:01
- Add Detekt for static code analysis with Google-style configuration
- Add ktlint for Kotlin code formatting (Android style)
- Configure Android Lint with baseline for existing issues
- Add .editorconfig for consistent code style
- Auto-format codebase with ktlint
- Generated baselines for gradual improvement
- Fix ktlint formatting issues (trailing commas, line length, braces)
- Fix detekt issues (unused properties, parameters, imports, braces)
- Remove unused code (formatTime function, FRAME_DISPLAY_INTERVAL_MS)
- Use specific IOException instead of generic Exception in SSEService
- Add @Suppress annotations for required but unused Compose parameters
- Adjust detekt thresholds for Compose patterns (complexity, params)
- Remove lint-baseline.xml and detekt baseline.xml
- Add lint.xml for NewApi suppression in generated UniFFI code
- Configure .editorconfig to disable conflicting ktlint rules

All checks now pass: ktlint, detekt, Android Lint

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add Clean Architecture foundation for the Android app:

Core:
- AppResult<T> sealed class for error handling
- AppError sealed class hierarchy for typed errors
- DispatcherProvider interface for testable coroutines

Domain Layer:
- Repository interfaces: ConversationRepository, PadRepository, SettingsRepository
- Service interfaces: CryptoService, RelayService, RealtimeService
- Use cases: BurnConversationUseCase, RegisterConversationUseCase, CheckBurnStatusUseCase

Data Layer:
- Repository implementations wrapping existing services
- Service implementations wrapping existing core services

DI:
- DataModule, DomainModule, RepositoryModule for Hilt bindings

UI Components:
- Extracted ColorButton and MnemonicWord to common components
- Extracted CeremonyStatusContent and PadSizeSelection components

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@tmihalicka tmihalicka merged commit 8f6d87d into main Jan 11, 2026
3 of 4 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