-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
There was a problem hiding this 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/utils/useSignIn.ts
Outdated
// @ts-expect-error File is in plain JS | ||
import { sha256 } from "./sha256"; | ||
|
||
const CHROMATIC_BASE_URL = "https://www.staging-chromatic.com"; |
There was a problem hiding this comment.
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";
There was a problem hiding this comment.
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.
Co-authored-by: Matthew Weeks <matt@chromatic.com>
…ests into onboarding-ui
AP-3252 Authentication with Chromatic
This is an umbrella issue for lifting the authentication mechanism from the Figma addon into the Chromatic addon. |
This scaffolds the onboarding UI. No functionality yet.
📦 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