Skip to content

11373 improve unsaved cloud project flow - #11663

Merged
embarc-gabriel merged 1 commit into
audacity:masterfrom
embarc-gabriel:11373-improve-unsaved-cloud-project-flow
Sep 10, 2026
Merged

embarc-gabriel merged 1 commit into
audacity:masterfrom
embarc-gabriel:11373-improve-unsaved-cloud-project-flow

Conversation

@embarc-gabriel

@embarc-gabriel embarc-gabriel commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Resolves: #11373

Improve unsaved cloud project on close

flowchart TD
	A[Unsaved]
	B{Is syncing?}
	C{Want to save?}
	D{Want to save?}
	E{Stop sync?}
	F[Close]
	G[Do not close]
	
	A --> B
	B -- No --> C
	C -- No --> F
	C -- Yes --> G
	B -- Yes --> D
	D -- Yes --> G
	D -- No --> E
	E -- Yes --> F
	E -- No --> G
Loading
  • I signed CLA
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

QA:

  • Testflow test cases have been run

@coderabbitai

coderabbitai Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Advanced

Run ID: 112d2b12-21b8-48b4-b506-076bc0485749

📥 Commits

Reviewing files that changed from the base of the PR and between 7c66777 and e418910.

📒 Files selected for processing (1)
  • src/project/internal/projectactionscontroller.cpp
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/project/internal/projectactionscontroller.cpp

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

closeOpenedProject now returns immediately when saving is canceled or fails. It also keeps the project open while audio synchronization is in progress. Cloud sync confirmation runs only after these checks pass. Successful closure still closes dialogs, cleans up the project, schedules quitting when required, navigates to the home page, and returns success.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Severity of issue fixed: Low

Merge Risk: ⚪ Minimal · up to e4189

The closure flow now stops when saving is canceled or fails and avoids cloud-sync confirmation while audio synchronization is active, preventing the redundant dialog without an evidenced merge-blocking regression.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the issue number and the main change to the unsaved cloud project closing flow.
Description check ✅ Passed The description includes the linked issue, change summary, flow diagram, required checklist, and motivation. The QA testflow checkbox remains unchecked, but the description is otherwise substantially …
Linked Issues check ✅ Passed The changes address issue [#11373] by refining closeOpenedProject so closure stops when saving fails or is canceled and waits for required synchronization checks before showing cloud sync confirmation…
Out of Scope Changes check ✅ Passed The changes are limited to the unsaved cloud project close flow, save results, synchronization state, and related closure behavior. No unrelated changes are identified.

Warning

Linked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped musescore/musescore.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@embarc-gabriel
embarc-gabriel force-pushed the 11373-improve-unsaved-cloud-project-flow branch from 0dc8858 to e418910 Compare September 9, 2026 23:57
@coderabbitai

coderabbitai Bot commented Sep 9, 2026

Copy link
Copy Markdown

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@embarc-gabriel
embarc-gabriel merged commit 5fbbe77 into audacity:master Sep 10, 2026
17 checks passed
kryksyh added a commit that referenced this pull request Sep 22, 2026
11373 improve unsaved cloud project flow (#11663)
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.

Redundant "Syncing with audio.com" dialog when saving changes to a Cloud project

2 participants