Commit 58a1a9c
committed
feat: Implement adaptive Settings layout and cross-platform database backup
- Implement an adaptive master-detail layout for Settings using `ListDetailPaneScaffold` to support responsive phone and tablet layouts.
- Reorganize Settings into category-based navigation (Theme, Security, Backup, Info) with dedicated master (`SettingsMasterScreen`) and detail (`SettingsDetailScreen`) components.
- Introduce cross-platform database backup (import/export) support with platform-specific file pickers for Android, iOS, JVM, and wasmJs.
- Create new `feature:backup` modules (`domain` and `ui`) to encapsulate backup logic and platform-agnostic file transfer using Okio.
- Restructure Settings state management by adding `SettingsCategoriesViewModel` and updating `SettingsViewModel` to handle category-specific actions and backup operations.
- Introduce `AdaptiveInteractor` support for synchronizing settings category selection across adaptive panes.
- Move file explorer data logic from `core:data:file-explorer` to `feature:file-explorer:data`.
- Add comprehensive UI test coverage for the backup feature and expand adaptive settings tests.
- Upgrade Kotlin to `2.3.10` and update related dependencies (Paging, Compose, etc.) and build configurations.
- Optimize iOS build tooling by disabling release framework tasks in the `ui:test` module during development.
- Update `CHANGELOG.md` to reflect version `8.5.2` changes.1 parent 5ca1eaa commit 58a1a9c
99 files changed
Lines changed: 2051 additions & 513 deletions
File tree
- .github/workflows
- app
- android
- src/androidTest/java/com/softartdev/notedelight/ui
- desktop
- src/jvmTest/kotlin/com/softartdev/notedelight/ui
- ios-kit
- iosApp
- iosApp.xcodeproj
- iosApp.xcworkspace/xcuserdata/artur.xcuserdatad
- iosApp
- web
- build-logic/convention/src/main/kotlin/com/softartdev/notedelight
- core
- domain
- src/commonMain/kotlin/com/softartdev/notedelight
- model
- usecase/crypt
- presentation
- src
- androidHostTest/kotlin/com/softartdev/notedelight/presentation
- adaptive
- settings
- commonMain/kotlin/com/softartdev/notedelight
- interactor
- presentation/settings
- docs
- feature
- backup
- domain
- src
- commonMain/kotlin/com/softartdev/notedelight
- repository
- usecase/settings
- nonWasmMain/kotlin/com/softartdev/notedelight/repository
- wasmJsMain/kotlin/com/softartdev/notedelight/repository
- ui
- src
- androidMain/kotlin/com/softartdev/notedelight/ui/settings/detail
- commonMain/kotlin/com/softartdev/notedelight/ui/settings/detail
- iosMain/kotlin/com/softartdev/notedelight/ui/settings/detail
- jvmMain/kotlin/com/softartdev/notedelight/ui/settings/detail
- wasmJsMain/kotlin/com/softartdev/notedelight/ui/settings/detail
- file-explorer/data
- src
- androidMain/kotlin/com/softartdev/notedelight/repository
- commonMain/kotlin/com/softartdev/notedelight/repository
- commonTest/kotlin/com/softartdev/notedelight/repository
- iosMain/kotlin/com/softartdev/notedelight/repository
- jvmMain/kotlin/com/softartdev/notedelight/repository
- wasmJsMain/kotlin/com/softartdev/notedelight/repository
- gradle
- thirdparty
- androidx/paging/compose
- app/cash/sqldelight/paging3/src/commonMain/kotlin/app/cash/sqldelight/paging3
- ui
- test-jvm
- test
- src
- androidMain/kotlin/com/softartdev/notedelight
- commonMain/kotlin/com/softartdev/notedelight
- di
- ui
- cases
- screen
- settings/detail
- iosMain/kotlin/com/softartdev/notedelight
- jvmMain/kotlin/com/softartdev/notedelight
- wasmJsMain/kotlin/com/softartdev/notedelight
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 | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
8 | 26 | | |
9 | 27 | | |
10 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
228 | 229 | | |
229 | 230 | | |
230 | 231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
111 | | - | |
| 113 | + | |
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
60 | 70 | | |
61 | 71 | | |
62 | 72 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | | - | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
0 commit comments