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

Add show experiments button to final experiments screen #3463

Merged
merged 2 commits into from
Mar 15, 2023

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented Mar 14, 2023

4/4 main <- #3448 <- #3452 <- #3462 <- this

Related to #3434

This PR adds a Show Experiments™️ button to the final screen in the Experiments section of the Setup webview.

Demo

Screen.Recording.2023-03-14.at.10.01.01.pm.mov

@mattseddon mattseddon added the product PR that affects product label Mar 14, 2023
@mattseddon mattseddon self-assigned this Mar 14, 2023
@mattseddon mattseddon changed the base branch from main to focus-section March 14, 2023 06:40
@mattseddon mattseddon changed the base branch from focus-section to main March 14, 2023 11:02
@mattseddon mattseddon changed the base branch from main to focus-section March 14, 2023 11:02
@mattseddon mattseddon marked this pull request as ready for review March 14, 2023 11:05
@mattseddon mattseddon requested a review from shcheklein March 14, 2023 11:05
@@ -15,9 +15,8 @@ export const Icon: React.FC<IconProps> = ({
...other
}) => {
const I = icon
const fill = 'magenta' // This color is used to make sure we change it in CSS
Copy link
Member Author

Choose a reason for hiding this comment

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

[F] I think we are ok to drop this as the VS Code buttons work out of the box but happy to be corrected if you think is the wrong way to go.

<h1>{"You're all setup"}</h1>
</EmptyState>
)
return <ProjectSetup hasData={hasData} />
Copy link

Choose a reason for hiding this comment

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

Avoid too many return statements within this function.

@mattseddon mattseddon force-pushed the add-show-experiments-button branch from 15f2a4c to 135810d Compare March 14, 2023 19:35
Base automatically changed from focus-section to main March 14, 2023 23:53
@mattseddon mattseddon force-pushed the add-show-experiments-button branch from 135810d to 075d066 Compare March 14, 2023 23:53
@mattseddon mattseddon enabled auto-merge (squash) March 14, 2023 23:54
@codeclimate
Copy link

codeclimate bot commented Mar 15, 2023

Code Climate has analyzed commit 075d066 and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

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

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

View more on Code Climate.

@mattseddon mattseddon merged commit a9fbd4f into main Mar 15, 2023
@mattseddon mattseddon deleted the add-show-experiments-button branch March 15, 2023 00:06
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.

3 participants