Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Conversation

RomanPodymov
Copy link
Owner

No description provided.

@RomanPodymov RomanPodymov requested a review from Copilot April 25, 2025 13:54
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces more SwiftUI support and updates key components for the Bookie app, focusing on concurrency improvements, UI refactoring, and new SwiftUI screens. The changes include updates to view models with MainActor annotations and a new MoyaProvider configuration, refactored stylesheet and coordinator classes using centralized AppColors with dedicated screen creation methods, and new SwiftUI implementations for both the Books and Book screens.

Reviewed Changes

Copilot reviewed 10 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Bookie/ViewModel/BooksViewModel.swift Adds @mainactor annotations and updates the MoyaProvider instantiation.
Bookie/ViewModel/BookViewModel.swift Updates the AnyBookScreen protocol to require an initializer with @mainactor.
Bookie/UI/MainStylesheet.swift Refactors label registration into a helper function and uses centralized AppColors.
Bookie/UI/Coordinator.swift Introduces SwiftUI coordinator methods and screen creation functions.
Bookie/UI/BooksScreenSwiftUI.swift Adds a new SwiftUI Books screen using state bindings and updated view model interaction.
Bookie/UI/BooksScreen.swift Improves collection view layout configuration by caching the layout cast to a variable.
Bookie/UI/BookScreenSwiftUI.swift Implements the new SwiftUI Book screen with dependency-based navigation via bindings.
Bookie/UI/AppDelegate.swift Updates the dependency container to register the SwiftUI-specific coordinator.
Bookie/Extensions.swift Updates the signature of the mapAsync helper to align with new formatting practices.
Files not reviewed (2)
  • Bookie/cs.lproj/Localizable.strings: Language not supported
  • Bookie/en.lproj/Localizable.strings: Language not supported

RomanPodymov and others added 4 commits April 25, 2025 15:58
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@RomanPodymov RomanPodymov merged commit d096521 into main Apr 25, 2025
1 check passed
@RomanPodymov RomanPodymov deleted the feature/swift_ui branch April 25, 2025 14:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant