task(0a00ccbd-6f98-4730-adf2-6f1e864823de): Mount M2 project workbench home and modernize M1 layouts
- FeatureMount: HOME tab now mounts ProjectWorkspaceFragment; delete placeholder HomeFragment - app/build.gradle.kts + libs.versions.toml: add androidx recyclerview and swiperefreshlayout for project list and pull-to-refresh - NetworkModule: register ProjectApi (M2 2.5.1.1 GetProjectList) via provideProjectApi - SessionRepository: add SessionState.Restoring as initial state so cold start renders neutral loading instead of prompting login - MineFragment/layout: consumer-grade flow with horizontal identity card (whole card acts as login CTA when signed out), config warning card, grouped settings rows; drop back button and manual refresh entry - MineViewModel: remove manual refresh(); session restore is now automatic on cold start - LoginFragment/layout: MaterialToolbar back, segmented MaterialButtonToggleGroup for account/SMS mode, TextInputLayout floating-label inputs, linear progress below button - ConfigFragment/ChangePasswordFragment layouts: unify back navigation to Toolbar, switch plain EditTexts to TextInputLayout, replace ProgressBar with LinearProgressIndicator - strings.xml: add M2 home workbench copy and mine/login labels; remove unused action_back, mine_login, mine_refresh, mine_config_ready, mine_logout_confirm
This commit is contained in:
@@ -31,6 +31,8 @@ activity = "1.9.3"
|
||||
fragment = "1.8.5"
|
||||
navigation = "2.8.4"
|
||||
material = "1.12.0"
|
||||
recyclerview = "1.3.2"
|
||||
swiperefreshlayout = "1.1.0"
|
||||
splashscreen = "1.0.1"
|
||||
|
||||
# 测试
|
||||
@@ -67,6 +69,10 @@ androidx-security-crypto = { group = "androidx.security", name = "security-crypt
|
||||
# Material
|
||||
google-material = { group = "com.google.android.material", name = "material", version.ref = "material" }
|
||||
|
||||
# 列表与下拉刷新(M2 首页项目切换弹层 / 下拉刷新)
|
||||
androidx-recyclerview = { group = "androidx.recyclerview", name = "recyclerview", version.ref = "recyclerview" }
|
||||
androidx-swiperefreshlayout = { group = "androidx.swiperefreshlayout", name = "swiperefreshlayout", version.ref = "swiperefreshlayout" }
|
||||
|
||||
# Hilt
|
||||
hilt-android = { group = "com.google.dagger", name = "hilt-android", version.ref = "hilt" }
|
||||
hilt-compiler = { group = "com.google.dagger", name = "hilt-android-compiler", version.ref = "hilt" }
|
||||
|
||||
Reference in New Issue
Block a user