Skip to content

Conversation

@stakira
Copy link
Owner

@stakira stakira commented Jun 1, 2025

Imports tempo for new projects, otherwise asks the user.

Imports tempo for new projects, otherwise asks the user.
@stakira stakira requested review from Copilot and oxygen-dioxide and removed request for Copilot June 1, 2025 05:17
Copy link
Contributor

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

Simplifies tempo importing by removing the old static preference and instead auto-importing tempos for brand‐new projects while prompting the user for existing ones.

  • Removed the “ImportTempo” setting and UI controls from preferences.
  • Updated the import-tracks workflow to infer default behavior and ask only when needed.
  • Cleaned up related string resources and preference storage.

Reviewed Changes

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

Show a summary per file
File Description
OpenUtau/Views/PreferencesDialog.axaml Removed Import Tempo combo box and label
OpenUtau/Views/MainWindow.axaml.cs Replaced ImportTempo setting logic with auto/prompt
OpenUtau/ViewModels/PreferencesViewModel.cs Deleted ImportTempo property and subscriptions
OpenUtau/Strings/Strings.axaml Removed unused import-tempo string resources
OpenUtau.Core/Util/Preferences.cs Deleted ImportTempo field from serializable prefs
Comments suppressed due to low confidence (1)

OpenUtau/Views/MainWindow.axaml.cs:324

  • Consider adding unit tests for the new tempo-import logic to verify behavior for new projects, existing projects without tempos, and existing projects with tempos.
bool importTempo = DocManager.Inst.Project.parts.Count == 0;

Repository owner deleted a comment from Copilot AI Jun 1, 2025
@stakira stakira merged commit 9c42053 into master Jun 6, 2025
6 checks passed
lottev1991 pushed a commit to lottev1991/OpenUtau that referenced this pull request Jun 6, 2025
Imports tempo for new projects, otherwise asks the user.
lottev1991 added a commit to lottev1991/OpenUtau that referenced this pull request Jun 8, 2025
@stakira stakira deleted the tempo branch November 26, 2025 02:27
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