Skip to content

CLOUD: Simplify Setup Wizard #6603

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

chkuendig
Copy link
Member

@chkuendig chkuendig commented May 9, 2025

This simplifies the cloud wizard a bit:

  • Skip Mode Select in setup wizard if only manual mode is available (on platforms without SDL_NET / webserver).
  • CLOUD: Add new storage connection flow #4860 has removed the use of kOpenUrlStorageCmd but still left it in options.cpp.
  • CLOUD: Add new storage connection flow #4860 introduced kCloudConnectionWizardOpenUrlStorageCmd in gui/cloudconnectionwizard.cpp but doesn't consider the selected storage option anymore to construct the URL (despite selecting one still being required in options.cpp). This PR now passes the selected storage again to the opened URL as it was before.

UI Flow can also be observed at https://youtu.be/kYechxc5tvE as discussed at https://discord.com/channels/581224060529148060/581224061091446795/1370153256176713808

@@ -127,6 +129,7 @@ class CloudConnectionWizard : public Dialog {
CloudConnectionWizard();
~CloudConnectionWizard() override;

int runModal(uint32 selectedStorageIndex);
Copy link
Member

@bluegr bluegr May 18, 2025

Choose a reason for hiding this comment

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

This uses the same name as a member function in the base class, but it does not override it, which is why you added that using statement above.

It would be preferable to give this method a different name instead, e.g. runStorageModal(), to avoid unnecessary name clashes

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