Add MailRootView and related components for email functionality

- Implement MailRootView with sidebar, thread list, and detail views.
- Create MailSidebarView for mailbox navigation and filters.
- Add ThreadListView and ThreadDetailView for displaying threads and messages.
- Introduce ComposeView for composing new emails.
- Implement adaptive UI for different platforms (iOS/macOS).
- Add MailTheme for consistent styling across components.
- Create unit tests for AppNavigationCommand and AppViewModel to ensure functionality.
This commit is contained in:
2026-04-19 00:58:07 +02:00
parent 432e3c9922
commit 6b665c666f
15 changed files with 153 additions and 15 deletions
+12 -13
View File
@@ -3,19 +3,18 @@
"private": true,
"packageManager": "pnpm@10.18.1",
"scripts": {
"swift:doctor": "tsswift doctor --path SocialIO/SocialIO.xcodeproj",
"swift:emulators": "tsswift emulators --path SocialIO/SocialIO.xcodeproj",
"swift:build": "tsswift build --path SocialIO/SocialIO.xcodeproj",
"swift:build:macos": "tsswift build --path SocialIO/SocialIO.xcodeproj --platform macos",
"swift:test": "tsswift test --path SocialIO/SocialIO.xcodeproj",
"swift:run": "tsswift run --path SocialIO/SocialIO.xcodeproj",
"swift:watch": "tsswift watch --path SocialIO/SocialIO.xcodeproj",
"swift:launch": "tsswift launch --path SocialIO/SocialIO.xcodeproj",
"swift:command:inbox": "tsswift command --path SocialIO/SocialIO.xcodeproj --route socialio://mailbox/inbox",
"swift:screenshots:ios": "tsswift screenshots --path SocialIO/SocialIO.xcodeproj --platform ios",
"swift:screenshots:ipad": "tsswift screenshots --path SocialIO/SocialIO.xcodeproj --platform ipad",
"swift:screenshots:macos": "tsswift screenshots --path SocialIO/SocialIO.xcodeproj --platform macos",
"swift:review": "tsswift review --path SocialIO/SocialIO.xcodeproj"
"swift:doctor": "tsswift doctor --path swiftapp/SocialIO.xcodeproj",
"swift:emulators": "tsswift emulators --path swiftapp/SocialIO.xcodeproj",
"swift:build": "tsswift build --path swiftapp/SocialIO.xcodeproj",
"swift:build:macos": "tsswift build --path swiftapp/SocialIO.xcodeproj --platform macos",
"swift:test": "tsswift test --path swiftapp/SocialIO.xcodeproj",
"swift:run": "tsswift run --path swiftapp/SocialIO.xcodeproj",
"swift:launch": "tsswift launch --path swiftapp/SocialIO.xcodeproj",
"swift:command:inbox": "tsswift command --path swiftapp/SocialIO.xcodeproj --route socialio://mailbox/inbox",
"swift:screenshots:ios": "tsswift screenshots --path swiftapp/SocialIO.xcodeproj --platform ios",
"swift:screenshots:ipad": "tsswift screenshots --path swiftapp/SocialIO.xcodeproj --platform ipad",
"swift:screenshots:macos": "tsswift screenshots --path swiftapp/SocialIO.xcodeproj --platform macos",
"swift:review": "tsswift review --path swiftapp/SocialIO.xcodeproj"
},
"devDependencies": {
"@git.zone/tsswift": "0.3.0"