Skip to content

chore: upgrade to storybook 9 #18983

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 22 commits into from
Aug 8, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
let me be lucky pls
  • Loading branch information
aslilac committed Aug 8, 2025
commit 704acdf40d34ec478984de4701fb8fc813e778b0
8 changes: 6 additions & 2 deletions site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"format": "biome format --write .",
"format:check": "biome format .",
"lint": "pnpm run lint:check && pnpm run lint:types && pnpm run lint:circular-deps && knip",
"lint:check": " biome lint --error-on-warnings .",
"lint:check": "biome lint --error-on-warnings .",
"lint:circular-deps": "dpdm --no-tree --no-warning -T ./src/App.tsx",
"lint:knip": "knip",
"lint:fix": "biome lint --error-on-warnings --write . && knip --fix",
Expand Down Expand Up @@ -185,7 +185,11 @@
"vite-plugin-checker": "0.9.3",
"vite-plugin-turbosnap": "1.0.3"
},
"browserslist": ["chrome 110", "firefox 111", "safari 16.0"],
"browserslist": [
"chrome 110",
"firefox 111",
"safari 16.0"
],
"resolutions": {
"optionator": "0.9.3",
"semver": "7.6.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export const WorkspaceMoreActions: FC<WorkspaceMoreActionsProps> = ({
workspaceName={workspace.name}
templateVersionId={
changeVersionMutation.error instanceof ParameterValidationError
? changeVersionMutation.error?.versionId
? changeVersionMutation.error.versionId
: undefined
}
/>
Expand Down
3 changes: 1 addition & 2 deletions site/src/pages/WorkspacePage/WorkspacePage.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
import type { WorkspacePermissions } from "modules/workspaces/permissions";
import { http, HttpResponse } from "msw";
import type { FC } from "react";
import { type Location, useLocation } from "react-router";
import {
MockAppearanceConfig,
MockBuildInfo,
Expand Down Expand Up @@ -338,7 +337,7 @@ describe("WorkspacePage", () => {

// After trying to update, a new dialog asking for missed parameters should
// be displayed and filled
const dialog = await screen.findByTestId("dialog");
const dialog = await waitFor(() => screen.findByTestId("dialog"));
const firstParameterInput = within(dialog).getByLabelText(
MockTemplateVersionParameter1.name,
{ exact: false },
Expand Down
Loading