Commit e5fe99c
committed
WIP: complete modular architecture refactor
- Reorganize entire codebase into feature-based modular architecture
- Move presentation components to feature modules (home, settings, statistics)
- Separate core functionality into dedicated modules (data, database, network, domain, model, ui, designsystem, datastore)
- Restructure navigation with renamed SofiaTrackerNavHost and updated routing
- Update all import statements across modules to reflect new package structure
- Configure build dependencies and module relationships for clean architecture
- Move Hilt modules to appropriate core modules (database, network, data)
- Update all ViewModels, repositories, and use cases with new namespacing
- Refactor UI components and screens to use modular design system
This represents a major architectural improvement for better separation of concerns,
testability, and maintainability following Android's recommended app architecture patterns.1 parent c69becd commit e5fe99c
69 files changed
Lines changed: 417 additions & 348 deletions
File tree
- app
- src/main/java/com/dpconde/sofiatracker
- domain/usecase
- core
- database
- src/main/java/com/dpconde/sofiatracker/core/database
- dao
- di
- entity
- migrations
- datastore
- data
- src/main/java/com/dpconde/sofiatracker/core/data
- di
- repository
- sync
- work
- designsystem
- domain
- src/main/java/com/dpconde/sofiatracker/core/domain
- model/src/main/java/com/dpconde/sofiatracker/core/model
- network
- src/main/java/com/dpconde/sofiatracker/core/network
- di
- firebase
- model
- utils
- ui
- src/main/java/com/dpconde/sofiatracker/core/ui/components
- feature
- home
- src/main/java/com/dpconde/sofiatracker/feature/home
- addevent
- settings
- src/main/java/com/dpconde/sofiatracker/feature/settings
- statistics
- src/main/java/com/dpconde/sofiatracker/feature/statistics
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 | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 47 | | |
53 | 48 | | |
54 | | - | |
55 | | - | |
| 49 | + | |
| 50 | + | |
56 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 66 | + | |
72 | 67 | | |
73 | 68 | | |
74 | 69 | | |
75 | 70 | | |
76 | 71 | | |
77 | | - | |
| 72 | + | |
78 | 73 | | |
79 | 74 | | |
80 | 75 | | |
| |||
92 | 87 | | |
93 | 88 | | |
94 | 89 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | 90 | | |
99 | 91 | | |
100 | 92 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
15 | | - | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
| |||
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
27 | | - | |
28 | | - | |
| 24 | + | |
| 25 | + | |
29 | 26 | | |
30 | 27 | | |
31 | | - | |
| 28 | + | |
32 | 29 | | |
33 | 30 | | |
34 | 31 | | |
| |||
Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 0 additions & 13 deletions
This file was deleted.
0 commit comments