Commit 19dbe82
Ahmed Mohamed
v2.0.0-b1: clean architecture refactor, 5-tab nav, expanded power-user surface
Architecture spine: core/dispatchers (DispatcherProvider) + core/result
(Outcome + AppError) + Konsist suite enforcing layer purity (domain
Android-free, no Dispatchers outside core/, repository contract).
Four UseCases (Install / Synthesize / RefreshCatalog / RecommendTier).
DeviceTierEstimator and UpdateChannel moved into their proper layers.
Navigation: NavigationBar with five tabs (Library / Browse / Studio /
Activity / Settings) replaces single-stack Library entry. Each tab keeps
its own back stack.
New surfaces:
- Activity tab: Downloads, Extractions, Live Generations (RTF telemetry
via SynthesisTelemetryRepository), Request log, Cache stats.
- Studio tab: entry point for the Playground knobs + voice profiles +
WAV export + SSML preprocessor (subset: prosody, break, say-as).
- Speak Selection: ACTION_PROCESS_TEXT activity for system-wide TTS.
- HayaiTtsNudge: foreground "speaking" notification with Stop action.
- UpdateCheckWorker: 12h periodic GitHub Releases poll.
- AltRuntime: pluggable seam for non-sherpa families.
- SherpaTtsRuntime.synthesizeBlend: Kokoro multi-speaker mixing.
Catalog: tools/catalog/build_catalog.py infers Piper voice gender from a
hand-curated table; Speaker carries genderConfidence (declared / inferred /
unknown) so Browse filters have real data.
Filters: domain-side BrowseFilters with seven dimensions (gender,
languages, families, tiers, licenses, sample-rate buckets, size buckets)
plus multi-speaker, available-only, requireKnownGender toggles. Loosen()
helper for the "no results" CTA.
Database: Room v3 -> v4. Three new tables: voice_profiles, pronunciations,
app_routes. MIGRATION_3_4 hand-written, empty on first run.
Library: family-tinted accent border on cards. Drag reorder no longer
collapses on a single fast frame. Dead 4th FAB button, hit-test bleed,
20-bar waveform mismatch, orphaned Help route, dead AnimatedVisibility,
JVM 17/21 toolchain skew all fixed.
Docs: CLAUDE.md (build + conventions) + docs/ARCHITECTURE.md (12-section
contract: layers, boundaries, DI, threading, errors, naming, testing,
forbidden patterns, finished migration table).
Tests: OutcomeTest (5 cases), BrowseFiltersTest (6 cases), Konsist
ArchitectureTest (7 rules). All green on testDebugUnitTest.
Version: 1.2.0-b1 -> 2.0.0-b1 (versionCode 200).1 parent 642adad commit 19dbe82
66 files changed
Lines changed: 3315 additions & 236 deletions
File tree
- app
- schemas/dev.ahmedmohamed.hayaitts.data.db.HayaiTtsDatabase
- src
- main
- java/dev/ahmedmohamed/hayaitts
- app
- di
- core
- dispatchers
- result
- data
- catalog
- db
- dao
- entities
- device
- download
- preview
- runtimes
- settings
- ssml
- storage
- telemetry
- tts
- update
- domain
- model
- repo
- usecase
- tts
- ui
- activity
- browse
- components
- custom
- detail
- library
- onboarding
- settings
- speakselection
- studio
- theme
- update
- res/values
- test/java/dev/ahmedmohamed/hayaitts
- core
- konsist
- result
- domain/model
- docs
- gradle
- tools/catalog
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
| 112 | + | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
| |||
0 commit comments