Skip to content

Conversation

maoyama
Copy link
Owner

@maoyama maoyama commented Jun 21, 2025

No description provided.

maoyama added 4 commits June 15, 2025 11:04
Fix the build errors for actor isolated
The keyboard shortcut (.init(.return)) button used to be blue, but it remains unchanged in Xcode 26. Therefore, I need to make a change.
Add .buttonStyle(.borderedProminent)
@maoyama maoyama requested a review from Copilot June 21, 2025 00:31
Copy link
Contributor

@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 syncs the project with the xcode26 updates by standardizing button styling and updating asynchronous handling in file selection.

  • Updated multiple views with the new prominent button style (.buttonStyle(.borderedProminent)).
  • Wrapped file URL processing in ContentView with a Task block to enforce main actor execution.

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
GitClient/Views/StashChanged/StashChangedContentView.swift Added prominent button styling to the stash changed view.
GitClient/Views/Folder/Sheets/RenameBranchSheet.swift Added prominent button styling in the rename branch sheet.
GitClient/Views/Folder/Sheets/CreateNewTagSheet.swift Added prominent button styling in the create new tag sheet.
GitClient/Views/Folder/Sheets/CreateNewBranchSheet.swift Added prominent button styling in the create new branch sheet.
GitClient/Views/Folder/Sheets/AmendCommitSheet.swift Added prominent button styling in the amend commit sheet.
GitClient/Views/ContentView.swift Wrapped URL processing in a Task block with @mainactor to ensure UI updates.
GitClient/Views/Commit/CommitMessageSnippetView.swift Added prominent button styling in the commit snippet view.
GitClient/Views/Commit/CommitCreateView.swift Added prominent button styling in the commit create view.
Comments suppressed due to low confidence (1)

GitClient/Views/ContentView.swift:70

  • [nitpick] Confirm that wrapping the file URL processing in a Task with @mainactor is necessary since panel.begin's callback may already be executing on the main thread. If redundant, consider removing it to simplify the asynchronous logic.
                                Task { @MainActor in

@maoyama maoyama merged commit ff0dc18 into main Jun 21, 2025
7 checks passed
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.

1 participant