Skip to content

^ Fix package detail crash on quick switching + Add toolbar tooltips …#624

Open
liuhaoXD wants to merge 1 commit into
buresdv:mainfrom
liuhaoXD:ft-0511
Open

^ Fix package detail crash on quick switching + Add toolbar tooltips …#624
liuhaoXD wants to merge 1 commit into
buresdv:mainfrom
liuhaoXD:ft-0511

Conversation

@liuhaoXD
Copy link
Copy Markdown

@liuhaoXD liuhaoXD commented May 11, 2026

…+ zh-Hans translation improvements

  • Fix: reset erroredOut state when switching packages to prevent stale error polluting subsequent loads
  • Fix: remove defer that incorrectly set isLoadingDetails=false after task cancellation
  • Fix: handle CancellationError separately to avoid false error display
  • Fix: replace force-unwrap packageDetails! with safe if-let binding
  • Add: Task.checkCancellation() after brew shell call to bail out early
  • Add: .help() tooltips on upgrade packages and add tap toolbar buttons
  • Update: Chinese (zh-Hans) translations across Localizable.xcstrings
  • Chore: add log/ to .gitignore

Mandatory Information

AI / LLM Use

Did you use any AIs / LLMs to create any part of this pull request?

  • Yes
  • No

If Yes — How was it used? (mandatory)

I used LLMs to optimize the wording and expression of Chinese (zh-Hans) translations, and to locate the root cause of the crash when quickly switching between package details. The fix was implemented via vibe coding and verified as resolved.
All AI-generated results have been manually reviewed and validated.

…+ zh-Hans translation improvements

- Fix: reset erroredOut state when switching packages to prevent stale error polluting subsequent loads
- Fix: remove defer that incorrectly set isLoadingDetails=false after task cancellation
- Fix: handle CancellationError separately to avoid false error display
- Fix: replace force-unwrap packageDetails! with safe if-let binding
- Add: Task.checkCancellation() after brew shell call to bail out early
- Add: .help() tooltips on upgrade packages and add tap toolbar buttons
- Update: Chinese (zh-Hans) translations across Localizable.xcstrings
- Chore: add log/ to .gitignore
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