feat: add Atlas native app UX overhaul

This commit is contained in:
zhukang
2026-03-10 17:09:35 +08:00
parent 0fabc6feec
commit 994e63f0b3
199 changed files with 38705 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# AtlasFeaturesStorage
## Responsibility
- Large folders, large files, and unused-item views
## Note
- The full storage module is deferred beyond the frozen MVP shell.
- This directory remains scaffolded so list-based storage work can resume without changing top-level layout.

View File

@@ -0,0 +1,42 @@
import AtlasDesignSystem
import AtlasDomain
import SwiftUI
public struct StorageFeatureView: View {
private let insights: [StorageInsight]
public init(insights: [StorageInsight] = AtlasScaffoldFixtures.storageInsights) {
self.insights = insights
}
public var body: some View {
AtlasScreen(
title: "Storage",
subtitle: "Reserved list-based storage views for a future scope decision beyond the frozen MVP shell."
) {
AtlasInfoCard(title: "Large Items") {
VStack(alignment: .leading, spacing: 14) {
ForEach(insights) { insight in
HStack(alignment: .top, spacing: 12) {
VStack(alignment: .leading, spacing: 6) {
Text(insight.title)
.font(.headline)
Text(insight.path)
.font(.subheadline)
.foregroundStyle(.secondary)
}
Spacer()
VStack(alignment: .trailing, spacing: 8) {
AtlasStatusChip(insight.ageDescription, tone: .neutral)
Text(AtlasFormatters.byteCount(insight.bytes))
.font(.subheadline.weight(.medium))
}
}
}
}
}
}
}
}