Skip to content

Simplify project creation flow - #27

Merged
DominikMoreira merged 1 commit into
mainfrom
improve-project-onboarding
Sep 27, 2026
Merged

DominikMoreira merged 1 commit into
mainfrom
improve-project-onboarding

Conversation

@DominikMoreira

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Address the unresolved import-cancellation and source-validation issues, and expand the cancellation test coverage.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Medium severity

Open (1)
What changed in this PR

Simplifies project creation by consolidating source selection, replacement, validation, persistence handling, and related UI updates.

Changes:

  • Reworked PDF, photo, and text source creation flows.
  • Added draft validation, import lifecycle handling, and persistence error handling.
  • Updated text editing, tests, and localization.
File Summary
LoopLineTests/​ProjectPersistenceTests.swift Adds persistence coverage. Nit (1 vote): test should exercise the actual cancel path.
LoopLine/​Views/​ProjectListView.swift Updates creation UI. Moderate (1 vote): disable or cancel actions during image imports.
LoopLine/​Views/​ProjectDetailView.swift Updates pattern text editing UI.
LoopLine/​ViewModels/​ProjectListViewModel.swift Adds throwing persistence and rollback handling.
LoopLine/​ViewModels/​CreateProjectViewModel.swift Manages sources and saving. Moderate (1 vote): invalidate pending imports on source changes. Moderate (3 votes): restore per-source validation for usable content and file paths.
Localizable.xcstrings Updates localization strings.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

case .image:
imageFilePath != nil
}
!trimmedName.isEmpty && sourceType != nil
@DominikMoreira
DominikMoreira force-pushed the improve-project-onboarding branch from abe9d36 to f80c47f Compare September 27, 2026 06:20
@DominikMoreira
DominikMoreira force-pushed the improve-project-onboarding branch from f80c47f to 43a8d28 Compare September 27, 2026 20:11
@DominikMoreira
DominikMoreira merged commit baff322 into main Sep 27, 2026
1 check passed
@DominikMoreira
DominikMoreira deleted the improve-project-onboarding branch October 18, 2026 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants