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

Direct users to setup webview from warning popups #2990

Merged
merged 2 commits into from
Dec 22, 2022

Conversation

mattseddon
Copy link
Contributor

@mattseddon mattseddon commented Dec 22, 2022

2/2 main <- #2944 <- this

This is the first step in integrating the Setup webview with existing user flows. We are now:

  1. Suppressing warning toast messages whenever the webview is open.
  2. Directing users to the webview from the toast messages.

Demo

Screen.Recording.2022-12-22.at.1.04.56.pm.mov

(no stray toast)

Screen.Recording.2022-12-22.at.1.05.36.pm.mov

@mattseddon mattseddon added the product PR that affects product label Dec 22, 2022
@mattseddon mattseddon self-assigned this Dec 22, 2022
@mattseddon mattseddon changed the base branch from main to auto-install-cli December 22, 2022 02:01
@@ -1355,7 +1355,7 @@
},
{
"view": "dvc.views.webviews",
"contents": "[Show Experiments](command:dvc.showSetupWebview)\n[Show Plots](command:dvc.showSetupdWebview)\n[Show Experiments and Plots](command:dvc.showSetupWebview)",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

there was a stray d in showSetupdWebview

Copy link
Contributor

@julieg18 julieg18 left a comment

Choose a reason for hiding this comment

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

Looks good!

Base automatically changed from auto-install-cli to main December 22, 2022 22:05
@mattseddon mattseddon force-pushed the direct-to-setup-webview branch from a414284 to 474e972 Compare December 22, 2022 22:11
@mattseddon mattseddon enabled auto-merge (squash) December 22, 2022 22:17
@codeclimate
Copy link

codeclimate bot commented Dec 22, 2022

Code Climate has analyzed commit 474e972 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 90.4% (85% is the threshold).

This pull request will bring the total coverage in the repository to 96.4% (0.0% change).

View more on Code Climate.

@mattseddon mattseddon merged commit 6fc9267 into main Dec 22, 2022
@mattseddon mattseddon deleted the direct-to-setup-webview branch December 22, 2022 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product PR that affects product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants