fix: Remove 'Create Project' button, replace with CLI prompt (#245)
For black-triangle and alpha builds, we won't be able to create projects in the UI, because they require collecting and tar'ing a set of assets associated with the project - so the CLI is going to be our entry point for creating projects. This shifts the UI to remove the 'Create Project' button, and adds a prompt to copy a command to run. __Before:__ <img width="1134" alt="image" src="https://user-images.githubusercontent.com/88213859/153534269-58dc95bd-0417-4bed-8e62-e2b6f479da61.png"> __After:__ 
This commit is contained in:
1 parent
c0d547b6a2
commit
df13fef161
13 files changed
+193
-27
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import { screen } from "@testing-library/react"
|
||||
import { render } from "../../test_helpers"
|
||||
import React from "react"
|
||||
import { CodeExample } from "./CodeExample"
|
||||
|
||||
describe("CodeExample", () => {
|
||||
it("renders code", async () => {
|
||||
// When
|
||||
render(<CodeExample code="echo hello" />)
|
||||
|
||||
// Then
|
||||
// Both lines should be rendered
|
||||
await screen.findByText("echo hello")
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user