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

Onboarding UI AP-3252 #2

Merged
merged 18 commits into from
Jun 14, 2023
Merged

Onboarding UI AP-3252 #2

merged 18 commits into from
Jun 14, 2023

Conversation

ghengeveld
Copy link
Member

@ghengeveld ghengeveld commented Jun 6, 2023

This scaffolds the onboarding UI. No functionality yet.

Screenshot 2023-06-06 at 15 14 12 Screenshot 2023-06-06 at 15 13 59 Screenshot 2023-06-06 at 15 14 06
📦 Published PR as canary version: 0.0.3--canary.2.fc8a4d0.0

✨ Test out this PR locally via:

npm install @chromaui/addon-visual-tests@0.0.3--canary.2.fc8a4d0.0
# or 
yarn add @chromaui/addon-visual-tests@0.0.3--canary.2.fc8a4d0.0

@ghengeveld ghengeveld requested a review from weeksling June 6, 2023 13:15
Copy link
Contributor

@weeksling weeksling left a comment

Choose a reason for hiding this comment

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

Works great!
Some comments and questions. A couple suggestions.

src/Panel.tsx Outdated Show resolved Hide resolved
src/Panel.tsx Outdated Show resolved Hide resolved
src/screens/Onboarding/Onboarding.tsx Outdated Show resolved Hide resolved
src/screens/Onboarding/SignIn.tsx Outdated Show resolved Hide resolved
// @ts-expect-error File is in plain JS
import { sha256 } from "./sha256";

const CHROMATIC_BASE_URL = "https://www.staging-chromatic.com";
Copy link
Contributor

Choose a reason for hiding this comment

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

This will need to be configurable or to be updated to https://www.chromatic.com
I set it to the review app for testing purposes. Not sure how other addons deal with this sort of thing, but figma-addon has uses an environment variable:

const apiUrl = process.env.STORYBOOK_CHROMATIC_API_URL || "https://www.chromatic.com";

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep this was on my TODO list. At some point I got a "process is not defined" error but maybe that was a red herring.

@weeksling weeksling merged commit 2db535f into main Jun 14, 2023
@weeksling weeksling changed the title Onboarding UI Onboarding UI AP-3252 Jun 14, 2023
@linear
Copy link

linear bot commented Jun 14, 2023

AP-3252 Authentication with Chromatic

This is an umbrella issue for lifting the authentication mechanism from the Figma addon into the Chromatic addon.

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