chore: improve the setup experience with various fixes (#8130)

* Move updatecheck logs to debug mode

This was causing logs to be emitted immediately after
initial setup, which seemed odd for the user.

* Fix setup page text to say "Create" instead of "Setup" account

* Improve copy on the empty workspaces page

- This view can be seen after the user creates their first workspace, so saying first is bad.
- It should describe what a workspace is, so I modified the description.
- The create from template button wasn't helpful!

* Improve the copy for the empty templates view

- This didn't describe what a template actually is.
- The title had the same problem as workspaces, where first makes no sense.

* Improve text consistency on the Create Template page

* Fix "View activity" displaying for non-Enterprise users

This was causing an exception to be thrown.

* Improve messaging of empty groups view

* Appropriately capitalize Workspace and Template

* Improve Docker template taglines

* Fix types
This commit is contained in:
Kyle Carberry
2023-06-21 18:23:59 -05:00
committed by GitHub
parent a28d422c35
commit 2a492b7008
31 changed files with 84 additions and 79 deletions
@@ -7,7 +7,7 @@ import { MouseEvent, useState } from "react"
export interface TableRowMenuProps<TData> {
data: TData
menuItems: Array<{
label: string
label: React.ReactNode
disabled: boolean
onClick: (data: TData) => void
}>
@@ -45,9 +45,9 @@ export const TableRowMenu = <T,>({
open={Boolean(anchorEl)}
onClose={handleClose}
>
{menuItems.map((item) => (
{menuItems.map((item, index) => (
<MenuItem
key={item.label}
key={index}
disabled={item.disabled}
onClick={() => {
handleClose()