Skip to content

Conversation

@sarahentzel
Copy link
Collaborator

No description provided.

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

This pull request addresses offline functionality issues (TT-7061) with several bug fixes and code quality improvements related to going offline.

Changes:

  • Fixed Busy component rendering to avoid showing spinner when download alert is displayed
  • Corrected global state access pattern in HeadStatus to use getGlobal() inside functions
  • Adjusted timing of setBusy(false) call in ProjectDownload to prevent premature state updates
  • Cleaned up code formatting and removed unnecessary eslint-disable comment

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
WSAudioPlayer.tsx Code formatting: moved inline comment to separate line for better readability
ProjectDownloadAlert.tsx Removed unnecessary eslint-disable comment for react-hooks/exhaustive-deps
ProjectDownload.tsx Moved setBusy(false) call inside setTimeout to ensure proper timing after export completion
HeadStatus.tsx Fixed cloudAction to use getGlobal('offline') instead of isOffline variable, following codebase convention for accessing state in functions
AppHead.tsx Updated Busy component conditional rendering to check for downloadAlert, preventing spinner from showing during download alert display

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@gtryus gtryus left a comment

Choose a reason for hiding this comment

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

With DesktopToolbar and MobileToolbar extracted, shouldn't they each be in their own module?

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