Skip to content
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

Handle "selected sync destination is unusable" case better in setup wizard #11029

Merged
merged 3 commits into from
Jul 21, 2023

Conversation

fmoc
Copy link
Contributor

@fmoc fmoc commented Jul 12, 2023

Fixes #10680.

This PR makes sure to "unhide" the advanced settings whenever the selected/default sync root is unavailable (tested with /dev/null). It also remembers the user's last input, initializing the sync root with a default value only once, allowing users to easily edit their last value.

Note: this does not, in any way, block the Finish button. We never live-check such data anywhere else (e.g., checking "can we login already", asking upon every single button press to enable the button only once it works). It's by design to run more advanced checks when the user clicks on "Next" resp. "Finish".

screenshot_2023-07-12_12-07-31

@fmoc fmoc added this to the Desktop Client 5.0 milestone Jul 12, 2023
@fmoc fmoc requested review from TheOneRing, a team and michaelstingl July 12, 2023 09:30
Copy link
Contributor

@michaelstingl michaelstingl left a comment

Choose a reason for hiding this comment

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

Works for me 👍

Default,
EvaluationFailed,
};

Copy link
Member

Choose a reason for hiding this comment

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

Q_ENUM...

Copy link
Member

@TheOneRing TheOneRing left a comment

Choose a reason for hiding this comment

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

^

@fmoc fmoc requested a review from TheOneRing July 19, 2023 09:59
Copy link
Member

@TheOneRing TheOneRing left a comment

Choose a reason for hiding this comment

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

ci

@fmoc fmoc merged commit a5d5654 into master Jul 21, 2023
4 checks passed
@delete-merged-branch delete-merged-branch bot deleted the work/setup-wizard-error branch July 21, 2023 15:11
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.

Wizard: improve the behaviour if selected sync destination is unusable
3 participants