diff --git a/components/dashboard/src/Login.tsx b/components/dashboard/src/Login.tsx index fc3e100db2ed00..1d10537f9c7a4c 100644 --- a/components/dashboard/src/Login.tsx +++ b/components/dashboard/src/Login.tsx @@ -67,7 +67,7 @@ export function Login() {

Log in to Gitpod

-

ALWAYS READY-TO-CODE

+

ALWAYS READY-TO-CODE

{authProviders.map(ap => { diff --git a/components/dashboard/src/components/DropDown.tsx b/components/dashboard/src/components/DropDown.tsx index 2fc8f68d0f844b..ef681469e0160d 100644 --- a/components/dashboard/src/components/DropDown.tsx +++ b/components/dashboard/src/components/DropDown.tsx @@ -11,7 +11,7 @@ export interface DropDownProps { } function Arrow(props: {up: boolean}) { - return + return } function DropDown(props: DropDownProps) { @@ -26,7 +26,7 @@ function DropDown(props: DropDownProps) { } } }) - const font = "text-gray-400 text-sm leading-1" + const font = "text-gray-400 text-sm leading-1 group hover:text-gray-600" return ( {props.prefix}{current} diff --git a/components/dashboard/src/components/Header.tsx b/components/dashboard/src/components/Header.tsx index 52a3ad93c5ef43..8d52faa796ed93 100644 --- a/components/dashboard/src/components/Header.tsx +++ b/components/dashboard/src/components/Header.tsx @@ -7,10 +7,10 @@ export interface HeaderProps { export default function Header(p: HeaderProps) { return
-
+
-

{p.title}

-

{p.subtitle}

+

{p.title}

+

{p.subtitle}

diff --git a/components/dashboard/src/components/Menu.tsx b/components/dashboard/src/components/Menu.tsx index ca2962d3fa2d34..67aabc3de0396e 100644 --- a/components/dashboard/src/components/Menu.tsx +++ b/components/dashboard/src/components/Menu.tsx @@ -60,7 +60,7 @@ function Menu(props: { left: Entry[], right: Entry[] }) { {props.right.map(MenuItem)} -
+
setModal(false); return
-

Do you really want to delete your account?

-

This action will remove all the data associated with your account in Gitpod and cannot be reversed.

-
+

Delete Account

+
+

Are you sure you want to delete your account? This action will remove all the data associated with your account in Gitpod and cannot be reversed.

+
+
- +

Profile

+

The following information will be used to set up git configuration. You can override git author name and email per project by using the default environment variables GIT_AUTHOR_NAME and GIT_COMMITTER_EMAIL.

@@ -35,14 +38,14 @@ export default function Account() {

Avatar

- {user!.name}

Delete Account

-

This action will remove all the data associated with your account in Gitpod.

- +

This action will remove all the data associated with your account in Gitpod.

+
; } diff --git a/components/dashboard/src/settings/EnvironmentVariables.tsx b/components/dashboard/src/settings/EnvironmentVariables.tsx index cf9d5f94e3d361..ce3728ae4050a8 100644 --- a/components/dashboard/src/settings/EnvironmentVariables.tsx +++ b/components/dashboard/src/settings/EnvironmentVariables.tsx @@ -2,7 +2,7 @@ import { SettingsPage } from "./SettingsPage"; export default function EnvVars() { return
- +

Environment Variables

; diff --git a/components/dashboard/src/settings/GitIntegrations.tsx b/components/dashboard/src/settings/GitIntegrations.tsx index f642103fad729f..46e9c55f1a87b9 100644 --- a/components/dashboard/src/settings/GitIntegrations.tsx +++ b/components/dashboard/src/settings/GitIntegrations.tsx @@ -2,8 +2,8 @@ import { SettingsPage } from "./SettingsPage"; export default function GitIntegrations() { return
- -

Git Hoster Access Control

+ +

Git Providers

; } \ No newline at end of file diff --git a/components/dashboard/src/settings/Notifications.tsx b/components/dashboard/src/settings/Notifications.tsx index 9db00fc9f325a0..758cd411c65f7b 100644 --- a/components/dashboard/src/settings/Notifications.tsx +++ b/components/dashboard/src/settings/Notifications.tsx @@ -53,9 +53,9 @@ export default function Notifications() { function CheckBox(props: {title: string, desc: string, checked: boolean, onChange: () => void}) { return
- +
-
{props.title}
+
{props.title}
{props.desc}
diff --git a/components/dashboard/src/settings/Plans.tsx b/components/dashboard/src/settings/Plans.tsx index 09543c85b48285..821d0dfd48f615 100644 --- a/components/dashboard/src/settings/Plans.tsx +++ b/components/dashboard/src/settings/Plans.tsx @@ -2,7 +2,7 @@ import { SettingsPage } from "./SettingsPage"; export default function Plans() { return
- +

Plans

; diff --git a/components/dashboard/src/settings/Preferences.tsx b/components/dashboard/src/settings/Preferences.tsx index 03cfeeaf911863..ed03d2c930f8f5 100644 --- a/components/dashboard/src/settings/Preferences.tsx +++ b/components/dashboard/src/settings/Preferences.tsx @@ -21,7 +21,7 @@ export default function Preferences() { } return
- +

Default IDE

Choose which IDE you want to use.

diff --git a/components/dashboard/src/settings/SettingsPage.tsx b/components/dashboard/src/settings/SettingsPage.tsx index 68acc64498e736..b346bf33be6d4e 100644 --- a/components/dashboard/src/settings/SettingsPage.tsx +++ b/components/dashboard/src/settings/SettingsPage.tsx @@ -9,13 +9,13 @@ export interface Props { } export function SettingsPage(p: Props) { - return
+ return
-
    +
      {settingsMenu.map(e => { - let classes = "flex block py-2 font-sm px-4 rounded-md"; + let classes = "flex block py-2 px-4 rounded-md"; if (e.link.toLowerCase() === window.location.pathname) { classes += " bg-gray-800 text-gray-50"; } else { diff --git a/components/dashboard/src/start/CreateWorkspace.tsx b/components/dashboard/src/start/CreateWorkspace.tsx index 8cc39e700a0406..74f6557d93b81a 100644 --- a/components/dashboard/src/start/CreateWorkspace.tsx +++ b/components/dashboard/src/start/CreateWorkspace.tsx @@ -111,14 +111,11 @@ export class CreateWorkspace extends React.Component{w.workspace.id}

      {w.workspace.contextURL}

-
- -
)}
-
+
; diff --git a/components/dashboard/src/start/StartWorkspace.tsx b/components/dashboard/src/start/StartWorkspace.tsx index 84cebc5426e397..d81de0e718a4dc 100644 --- a/components/dashboard/src/start/StartWorkspace.tsx +++ b/components/dashboard/src/start/StartWorkspace.tsx @@ -200,11 +200,11 @@ export default class StartWorkspace extends React.Component -
+
 

{this.state.workspaceInstance.workspaceId}

-

{this.state.contextUrl}

+

{this.state.contextUrl}

; @@ -214,16 +214,16 @@ export default class StartWorkspace extends React.Component -
+
 

{this.state.workspaceInstance.workspaceId}

-

{this.state.contextUrl}

+

{this.state.contextUrl}

- - + +
; break; diff --git a/components/dashboard/src/tailwind.output.css b/components/dashboard/src/tailwind.output.css index 95f55d4870ebed..1ea073ac6f7228 100644 --- a/components/dashboard/src/tailwind.output.css +++ b/components/dashboard/src/tailwind.output.css @@ -862,6 +862,14 @@ button:hover { button { --tw-border-opacity: 1; border-color: rgba(63, 98, 18, var(--tw-border-opacity)); +} + +button:focus { + --tw-border-opacity: 1; + border-color: rgba(147, 197, 253, var(--tw-border-opacity)); +} + +button { border-radius: 0.375rem; border-width: 2px; cursor: pointer; @@ -869,10 +877,27 @@ button { line-height: 1.25rem; margin-top: auto; margin-bottom: auto; - padding-top: 0.25rem; - padding-bottom: 0.25rem; - padding-left: 0.75rem; - padding-right: 0.75rem; +} + +button:focus { + outline: 2px solid transparent; + outline-offset: 2px; +} + +button { + padding-top: 0.5rem; + padding-bottom: 0.5rem; + padding-left: 1rem; + padding-right: 1rem; +} + +button:focus { + --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); + --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color); + box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); +} + +button { --tw-text-opacity: 1; color: rgba(245, 245, 244, var(--tw-text-opacity)); } @@ -200362,4 +200387,4 @@ input[disabled] { -webkit-filter: grayscale(1) !important; filter: grayscale(1) !important; } -} +} \ No newline at end of file diff --git a/components/dashboard/src/workspaces/WorkspaceEntry.tsx b/components/dashboard/src/workspaces/WorkspaceEntry.tsx index 74816137f75013..202299ce1d2e8d 100644 --- a/components/dashboard/src/workspaces/WorkspaceEntry.tsx +++ b/components/dashboard/src/workspaces/WorkspaceEntry.tsx @@ -28,7 +28,7 @@ export function WorkspaceEntry({ desc, model }: { desc: WorkspaceInfo, model: Wo break; } default: { - stateClassName += ' bg-gitpod-kumquat' + stateClassName += ' bg-gitpod-kumquat animate-pulse' break; } } @@ -94,20 +94,20 @@ export function WorkspaceEntry({ desc, model }: { desc: WorkspaceInfo, model: Wo setChangesModalVisible(true); } return
- +
 
-
{ws.description}
-
{ws.contextURL}
+
{ws.description}
+
{ws.contextURL}
0 ? showChanges : undefined}> @@ -115,16 +115,16 @@ export function WorkspaceEntry({ desc, model }: { desc: WorkspaceInfo, model: Wo
{currentBranch}
{ numberOfChanges > 0 ? -
{changesLabel}
+
{changesLabel}
: -
No Changes
+
No Changes
}
{moment(WorkspaceInfo.lastActiveISODate(desc)).fromNow()}
-
+
Actions @@ -135,7 +135,7 @@ export function WorkspaceEntry({ desc, model }: { desc: WorkspaceInfo, model: Wo setModalVisible(false)} onEnter={() => {model.deleteWorkspace(ws.id); return true;}}>
-

Delete Workspace

+

Delete Workspace

Are you sure you want to delete this workspace?

diff --git a/components/dashboard/src/workspaces/Workspaces.tsx b/components/dashboard/src/workspaces/Workspaces.tsx index fff7ddcf6e98f9..0863ee275a4239 100644 --- a/components/dashboard/src/workspaces/Workspaces.tsx +++ b/components/dashboard/src/workspaces/Workspaces.tsx @@ -46,17 +46,16 @@ export class Workspaces extends React.Component wsModel!.active = true; const onAll = () => wsModel!.active = false; return <> -
+
- - + +
- { if (wsModel) wsModel.setSearch(v.target.value) }} /> + { if (wsModel) wsModel.setSearch(v.target.value) }} />
@@ -127,18 +126,17 @@ export class Workspaces extends React.Component

No Active Workspaces

Prefix a git repository URL with gitpod.io/# or open a workspace template. Learn how to get started
- +
)} -

Template

+

Select Template

{/* separator */} -
-
-

Select a template to open a workspace

-
+
+

Select a template to open a workspace.

+
{this.state?.repos && this.state.repos.map(r => { const url = gitpodHostUrl.withContext(r.url).toString(); return @@ -146,9 +144,6 @@ export class Workspaces extends React.Component{r.name}

{r.url}

-
- -
; })}