-
Notifications
You must be signed in to change notification settings - Fork 881
feat: Redesign workspaces page #1450
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
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
1a667d9
feat: Improve navbar to be more compact
kylecarbs dc47ae0
Attempt to remove overrides
kylecarbs c34ad45
Update theme
kylecarbs 104b1d9
Add text field
kylecarbs 52a4e76
Merge branch 'main' into workspacepage
kylecarbs 83397e0
Update theme to dark!
kylecarbs d19c124
Fix import ordering
kylecarbs db820ce
Fix page location
kylecarbs 851111b
Fix requested changes
kylecarbs 190b7d1
Add storybook for workspaces page view
kylecarbs cbc1015
Add empty view
kylecarbs 169d733
Add tests for empty view
kylecarbs 53781e9
Remove templates page
kylecarbs f606a51
Merge branch 'main' into workspacepage
kylecarbs 09ce0ec
Fix local port
kylecarbs 71bf439
Remove templates from nav
kylecarbs 82641ab
Fix e2e test
kylecarbs 82cdace
Remove time.ts
kylecarbs 6044d91
Remove dep
kylecarbs bd50c9f
Merge branch 'main' into workspacepage
kylecarbs 191c9d7
Add background color to margins
kylecarbs fccacfe
Merge status checking from workspace page
kylecarbs f87c8e7
Fix requested changes
kylecarbs a058b8c
Fix workspace status tests
kylecarbs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
site/e2e/pom/TemplatesPage.ts → site/e2e/pom/WorkspacesPage.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { Page } from "@playwright/test" | ||
import { BasePom } from "./BasePom" | ||
|
||
export class TemplatesPage extends BasePom { | ||
export class WorkspacesPage extends BasePom { | ||
constructor(baseURL: string | undefined, page: Page) { | ||
super(baseURL, "/templates", page) | ||
super(baseURL, "/workspaces", page) | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export * from "./SignInPage" | ||
export * from "./TemplatesPage" | ||
export * from "./WorkspacesPage" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
import { test } from "@playwright/test" | ||
import { email, password } from "../constants" | ||
import { SignInPage, TemplatesPage } from "../pom" | ||
import { SignInPage, WorkspacesPage } from "../pom" | ||
import { waitForClientSideNavigation } from "./../util" | ||
|
||
test("Login takes user to /templates", async ({ baseURL, page }) => { | ||
test("Login takes user to /workspaces", async ({ baseURL, page }) => { | ||
await page.goto(baseURL + "/", { waitUntil: "networkidle" }) | ||
|
||
// Log-in with the default credentials we set up in the development server | ||
const signInPage = new SignInPage(baseURL, page) | ||
await signInPage.submitBuiltInAuthentication(email, password) | ||
|
||
const templatesPage = new TemplatesPage(baseURL, page) | ||
await waitForClientSideNavigation(page, { to: templatesPage.url }) | ||
const workspacesPage = new WorkspacesPage(baseURL, page) | ||
await waitForClientSideNavigation(page, { to: workspacesPage.url }) | ||
|
||
await page.waitForSelector("text=Templates") | ||
await page.waitForSelector("text=Workspaces") | ||
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Question(if-minor): Are we able to remove this dependency now
"@react-theming/storybook-addon": "1.1.5",
?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.
I think so!
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.
Good catch.