diff --git a/.gitignore b/.gitignore index 0608638b..3afe14fb 100644 --- a/.gitignore +++ b/.gitignore @@ -48,4 +48,5 @@ fastlane/logs/ Tuist/.build/ # drawio +*.drawio *.drawio.bkp diff --git a/Application/DevLogPresentation/Sources/Main/MainView.swift b/Application/DevLogPresentation/Sources/Main/MainView.swift index 05688354..80d9d11e 100644 --- a/Application/DevLogPresentation/Sources/Main/MainView.swift +++ b/Application/DevLogPresentation/Sources/Main/MainView.swift @@ -135,23 +135,8 @@ struct MainView: View { ) .navigationSplitViewColumnWidth(min: 350, ideal: 450, max: nil) } detail: { - Group { - if let todoId = pushNotificationListViewCoordinator.todoIdToPresent?.id { - TodoDetailView( - viewModel: pushNotificationListViewCoordinator.makeTodoDetailViewModel( - todoId: todoId - ) - ) - .id(todoId) - } else { - ContentUnavailableView( - String(localized: "push_notifications_select_detail"), - systemImage: "bell.badge" - ) - } - } + notificationRegularDetailView } - .background(Color(.systemGroupedBackground).ignoresSafeArea()) case .profile: NavigationSplitView { mainSidebar @@ -322,6 +307,24 @@ struct MainView: View { ) } + @ViewBuilder + private var notificationRegularDetailView: some View { + if let todoId = pushNotificationListViewCoordinator.todoIdToPresent?.id { + TodoDetailView( + viewModel: pushNotificationListViewCoordinator.makeTodoDetailViewModel( + todoId: todoId + ) + ) + .id(todoId) + } else { + ContentUnavailableView( + String(localized: "push_notifications_select_detail"), + systemImage: "bell.badge" + ) + .background(Color(.systemGroupedBackground).ignoresSafeArea()) + } + } + private var profileView: some View { ProfileView( coordinator: profileViewCoordinator, diff --git a/Application/DevLogPresentation/Sources/PushNotification/PushNotificationListView.swift b/Application/DevLogPresentation/Sources/PushNotification/PushNotificationListView.swift index 689e29f6..0673954a 100644 --- a/Application/DevLogPresentation/Sources/PushNotification/PushNotificationListView.swift +++ b/Application/DevLogPresentation/Sources/PushNotification/PushNotificationListView.swift @@ -36,9 +36,8 @@ struct PushNotificationListView: View { .navigationTitle(String(localized: "nav_push_notifications")) .listStyle(.plain) } - .background(Color(.systemGroupedBackground).ignoresSafeArea()) .alert( - "", + viewModel.state.alertTitle, isPresented: Binding( get: { viewModel.state.showAlert }, set: { viewModel.send(.setAlert(isPresented: $0)) } diff --git a/docs/AppStore_iPad_Hitmap.png b/docs/AppStore_iPad_Hitmap.png new file mode 100644 index 00000000..e41a3f96 Binary files /dev/null and b/docs/AppStore_iPad_Hitmap.png differ diff --git a/docs/AppStore_iPad_Home.png b/docs/AppStore_iPad_Home.png new file mode 100644 index 00000000..546db718 Binary files /dev/null and b/docs/AppStore_iPad_Home.png differ diff --git a/docs/AppStore_iPad_Markdown.png b/docs/AppStore_iPad_Markdown.png new file mode 100644 index 00000000..d8a8480c Binary files /dev/null and b/docs/AppStore_iPad_Markdown.png differ diff --git a/docs/AppStore_iPad_Notifications.png b/docs/AppStore_iPad_Notifications.png new file mode 100644 index 00000000..06be4f87 Binary files /dev/null and b/docs/AppStore_iPad_Notifications.png differ diff --git a/docs/AppStore_iPad_Today.png b/docs/AppStore_iPad_Today.png new file mode 100644 index 00000000..a42345c4 Binary files /dev/null and b/docs/AppStore_iPad_Today.png differ diff --git a/docs/DevLog.drawio b/docs/DevLog.drawio deleted file mode 100644 index ee88c1db..00000000 --- a/docs/DevLog.drawio +++ /dev/null @@ -1,831 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -