chromaui / addon-visual-tests

Visual Tests addon for Storybook
MIT License
33 stars 2 forks source link

Open dialog to allow creating a new project #91

Closed tmeasday closed 11 months ago

tmeasday commented 1 year ago

Fixes AP-3630

Add a new item to the LinkProject list for "create new project" and open a dialog to the apps page of the account, which allows you to create a new project.

image

TODO

TO QA

See https://github.com/chromaui/chromatic/pull/7734

📦 Published PR as canary version: 0.0.83--canary.91.c5d6621.0
:sparkles: Test out this PR locally via: ```bash npm install @chromaui/addon-visual-tests@0.0.83--canary.91.c5d6621.0 # or yarn add @chromaui/addon-visual-tests@0.0.83--canary.91.c5d6621.0 ```
linear[bot] commented 1 year ago
AP-3630 Add workflow for creating a new project

1. Have a link on projects list ("Don't see your project?..") 2. Open new window to chromatic.com 3. After project is created, ensure window closes 4. You are taken back to successfully linked project screen for new project

linear[bot] commented 1 year ago
AP-3620 Ensure project list updates when new projects are created

Currently, if a Chromatic project doesn't already exist it's cumbersome to create a new one and link the Storybook repo to it via the addon ## Repro 1. Connect chromatic.com (Log in, etc) 2. At the project picker, switch tabs, go to Chromatic.com and create a new project 3. Switch back to the visual test addon and notice the project list isn't refreshed. 4. Restart Storybook, the newly added project is now in the picker