Skip to content

On save to cloud issues don't send users to musescore.org for help#33028

Open
Jojo-Schmitz wants to merge 2 commits intomusescore:masterfrom
Jojo-Schmitz:org_vs_com
Open

On save to cloud issues don't send users to musescore.org for help#33028
Jojo-Schmitz wants to merge 2 commits intomusescore:masterfrom
Jojo-Schmitz:org_vs_com

Conversation

@Jojo-Schmitz
Copy link
Copy Markdown
Contributor

@Jojo-Schmitz Jojo-Schmitz commented Apr 16, 2026

When uploading to musescore.com fails, don't send users to to musescore.org for help, as there nobdy can help with those issues

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 16, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 74ca0986-733d-46e3-bc69-ac2e9238b2b3

📥 Commits

Reviewing files that changed from the base of the PR and between 077bfc4 and 4bdee92.

📒 Files selected for processing (7)
  • src/project/internal/opensaveprojectscenario.cpp
  • src/project/internal/projectconfiguration.cpp
  • src/project/internal/projectconfiguration.h
  • src/project/iprojectconfiguration.h
  • src/project/tests/mocks/projectconfigurationmock.h
  • src/stubs/project/projectconfigurationstub.cpp
  • src/stubs/project/projectconfigurationstub.h

📝 Walkthrough

Walkthrough

Replaced MuseScore.org references with MuseScore.com in cloud error/help messaging (including the appended help line and fallback text in OpenSaveProjectScenario::showCloudSaveError and related cloudStatusCodeErrorMessage usage). Changed the “Get help” button to open configuration()->dotComBugReportUrl(). Added a new dotComBugReportUrl() accessor to IProjectConfiguration/ProjectConfiguration, and implemented/updated it in projectconfiguration.cpp, mocks, and stubs.

🚥 Pre-merge checks | ✅ 1 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description explains the motivation but does not follow the required template structure with checkboxes, issue reference, or commit message details. Add issue reference (Resolves: #33028), complete the checklist template, and ensure commit messages reference the issue and describe their purpose.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (1 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main objective of the PR: redirecting users from musescore.org to musescore.com for help with cloud save issues.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/project/internal/opensaveprojectscenario.cpp`:
- Line 477: The UI text now references MuseScore.com but the help action still
calls configuration()->supportForumUrl() (used by the help button at the
open/save dialog), causing a mismatch; fix by either (A) updating
configuration()->supportForumUrl() so it returns the MuseScore.com help URL for
this flow, or (B) reverting the text changes that call out MuseScore.com (the
muse::trc("project/cloud", ...) strings that build the message) so they match
the existing configuration()->supportForumUrl() behavior; locate the message
construction using muse::trc("project/cloud", ...) and the help button
invocation that opens configuration()->supportForumUrl() and make the chosen
consistent change.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: d9867661-27b8-4234-8144-b49e06524d9b

📥 Commits

Reviewing files that changed from the base of the PR and between a089fcd and cc1c406.

📒 Files selected for processing (1)
  • src/project/internal/opensaveprojectscenario.cpp

Comment thread src/project/internal/opensaveprojectscenario.cpp
@mathesoncalum mathesoncalum requested a review from shoogle April 16, 2026 10:18
@Jojo-Schmitz Jojo-Schmitz force-pushed the org_vs_com branch 2 times, most recently from 284070c to 912ed11 Compare April 17, 2026 13:33
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/project/internal/opensaveprojectscenario.cpp`:
- Line 617: Replace the hardcoded QUrl in opensaveprojectscenario.cpp (the
platformInteractive()->openUrl(QUrl("https://musescore.com/groups/bug-reports"))
call) with a configuration-driven URL: add a new accessor cloudSupportUrl() to
the IProjectConfiguration interface and implement it in ProjectConfiguration to
return the cloud support QUrl, then call configuration()->cloudSupportUrl() (or
configuration()->cloudSupportUrl().toString() as needed) and pass that to
platformInteractive()->openUrl; this keeps the same destination but centralizes
and localizes the URL alongside the existing supportForumUrl().
- Around line 616-617: Remove the dead commented-out call to
configuration()->supportForumUrl() in the OpenSaveProjectScenario code path:
delete the line
"//platformInteractive()->openUrl(configuration()->supportForumUrl());" and
retain the active
platformInteractive()->openUrl(QUrl("https://musescore.com/groups/bug-reports"));
call so only the MuseScore.com URL is used; you can locate this in the
OpenSaveProjectScenario implementation where platformInteractive()->openUrl(...)
is invoked.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: ae7bd5ad-e446-44c4-8e0f-9b0b3b2d9b6d

📥 Commits

Reviewing files that changed from the base of the PR and between cc1c406 and 912ed11.

📒 Files selected for processing (1)
  • src/project/internal/opensaveprojectscenario.cpp

Comment thread src/project/internal/opensaveprojectscenario.cpp Outdated
Comment thread src/project/internal/opensaveprojectscenario.cpp Outdated
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/project/iprojectconfiguration.h`:
- Line 140: Add the missing override for the new pure virtual method
dotComBugReportUrl() declared on IProjectConfiguration to the
ProjectConfigurationStub so the class is no longer abstract: declare QUrl
dotComBugReportUrl() const override; in ProjectConfigurationStub's header and
implement it in the stub's .cpp to return a stub value (e.g., QUrl()) inside the
ProjectConfigurationStub class implementation.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 6082038b-0b5f-4d6e-90f8-ec1bc78a9009

📥 Commits

Reviewing files that changed from the base of the PR and between 912ed11 and 077bfc4.

📒 Files selected for processing (5)
  • src/project/internal/opensaveprojectscenario.cpp
  • src/project/internal/projectconfiguration.cpp
  • src/project/internal/projectconfiguration.h
  • src/project/iprojectconfiguration.h
  • src/project/tests/mocks/projectconfigurationmock.h

Comment thread src/project/iprojectconfiguration.h
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.

3 participants