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

UI Selector to pop up at login one time per user #3271

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

Conversation

SusanRatiLane
Copy link
Contributor

General items:

For all other changes:

  • I branched from master
  • My pull request has master as the base

What does this PR accomplish?

Description

Once for each user, pop up the User Interface selector with additional text to explain the new optional user interface. The user must select one UI or the other to proceed. This dialog pops up before the NoProjects dialog.

Resolves #3269

Comment on lines +1794 to +1796
if(showUIPicker.equalsIgnoreCase("True")) {
new UISettingsWizard(true).show();
} else if (AppInventorFeatures.showSplashScreen() && !isReadOnly) {
Copy link
Member

Choose a reason for hiding this comment

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

Note that if they choose Classic then the sequence of dialogs is broken here, since otherwise this would either call createWelcomeDialog or maybeShowNoProjectsDialog.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No matter what is selected, the page reloads at this point, and the user should see Welcome/NoProjects.

Copy link
Member

Choose a reason for hiding this comment

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

Hmm. I'm not sure that's ideal if they are already in the desired UI configuration but I guess we can keep it for now and see how it goes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The reload is included in saveUserDesignSettings, which I'm using to save the flag that the user has been shown this dialog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement dialog to ask about new UI switch
2 participants