works
This commit is contained in:
40
CLAUDE.md
Normal file
40
CLAUDE.md
Normal file
@@ -0,0 +1,40 @@
|
||||
# CLAUDE.md
|
||||
|
||||
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
||||
|
||||
## Project Overview
|
||||
|
||||
Fluffytrix is an Android Matrix chat client with a Discord-like UI. Built with Kotlin, targeting Android 14+ (minSdk 34, targetSdk 36, compileSdk 36).
|
||||
|
||||
## Build Commands
|
||||
|
||||
```bash
|
||||
./gradlew assembleDebug # Build debug APK
|
||||
./gradlew assembleRelease # Build release APK
|
||||
./gradlew test # Run unit tests
|
||||
./gradlew connectedAndroidTest # Run instrumented tests
|
||||
./gradlew app:testDebugUnitTest # Run unit tests for debug variant only
|
||||
```
|
||||
|
||||
## Architecture
|
||||
|
||||
- **Package**: `com.example.fluffytrix`
|
||||
- **Build system**: Gradle with Kotlin DSL, version catalog at `gradle/libs.versions.toml`
|
||||
- **AGP**: 9.0.1
|
||||
- **Java compatibility**: 11 (configured in `app/build.gradle.kts`)
|
||||
- Single module (`:app`)
|
||||
|
||||
## Key Files
|
||||
|
||||
- `gradle/libs.versions.toml` — all dependency versions and library declarations
|
||||
- `app/build.gradle.kts` — app module build config
|
||||
- `app/src/main/java/com/example/fluffytrix/` — Kotlin sources
|
||||
- `app/src/main/res/` — Android resources (layouts, themes, drawables)
|
||||
|
||||
## Design Intent
|
||||
|
||||
- Discord-like layout: space sidebar → channel list → message area → member list
|
||||
- Static channel ordering (never auto-sort by recency)
|
||||
- Material You (Material 3 dynamic colors) theming
|
||||
- Trixnity SDK for Matrix protocol
|
||||
- Jetpack Compose for UI
|
||||
Reference in New Issue
Block a user