10000 feat: add provisioner jobs into the UI by BrunoQuaresma · Pull Request #16867 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

feat: add provisioner jobs into the UI #16867

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 8 commits into from
Mar 14, 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
FMT
  • Loading branch information
BrunoQuaresma committed Mar 10, 2025
commit 912cd8f2019114231a5467a208b8fad75090260a
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { Meta, StoryObj } from "@storybook/react";
import { expect, userEvent, waitFor, within } from "@storybook/test";
import { Table, TableBody } from "components/Table/Table";
import { daysAgo } from "utils/time";
import { userEvent, waitFor, within, expect } from "@storybook/test";
import { JobRow } from "./JobRow";
import { Table, TableBody } from "components/Table/Table";

const meta: Meta<typeof JobRow> = {
title: "pages/OrganizationProvisionerJobsPage/JobRow",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import type { ProvisionerJob } from "api/typesGenerated";
import { Avatar } from "components/Avatar/Avatar";
import { Badge } from "components/Badge/Badge";
import { TableCell, TableRow } from "components/Table/Table";
import {
ChevronDownIcon,
ChevronRightIcon,
Expand All @@ -10,9 +13,6 @@ import { relativeTime } from "utils/time";
import { CancelJobButton } from "./CancelJobButton";
import { JobStatusIndicator } from "./JobStatusIndicator";
import { Tag, Tags, TruncateTags } from "./Tags";
import { TableCell, TableRow } from "components/Table/Table";
import { Avatar } from "components/Avatar/Avatar";
import { Badge } from "components/Badge/Badge";

type JobRowProps = {
job: ProvisionerJob;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from "@storybook/react";
import { JobStatusIndicator } from "./JobStatusIndicator";
import { MockProvisionerJob } from "testHelpers/entities";
import { JobStatusIndicator } from "./JobStatusIndicator";

const meta: Meta<typeof JobStatusIndicator> = {
title: "pages/OrganizationProvisionerJobsPage/JobStatusIndicator",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { Meta, StoryObj } from "@storybook/react";
import OrganizationProvisionerJobsPage from "./OrganizationProvisionerJobsPage";
import { expect, userEvent, waitFor, within } from "@storybook/test";
import type { ProvisionerJob } from "api/typesGenerated";
import {
MockOrganization,
MockOrganizationPermissions,
} from "testHelpers/entities";
import type { ProvisionerJob } from "api/typesGenerated";
import { daysAgo } from "utils/time";
import { userEvent, waitFor, within, expect } from "@storybook/test";
import OrganizationProvisionerJobsPage from "./OrganizationProvisionerJobsPage";

const defaultOrganizationSettingsValue = {
organization: MockOrganization,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { API } from "api/api";
import { provisionerJobs } from "api/queries/organizations";
import { Button } from "components/Button/Button";
import { EmptyState } from "components/EmptyState/EmptyState";
Expand All @@ -11,16 +12,15 @@ import {
TableHeader,
TableRow,
} from "components/Table/Table";
import type { FC } from "react";
import { useQuery } from "react-query";
import { docs } from "utils/docs";
import {
type OrganizationSettingsValue,
useOrganizationSettings,
} from "modules/management/OrganizationSettingsLayout";
import type { FC } from "react";
import { Helmet } from "react-helmet-async";
import { useQuery } from "react-query";
import { docs } from "utils/docs";
import { pageTitle } from "utils/page";
import type { API } from "api/api";
import { JobRow } from "./JobRow";

type OrganizationProvisionerJobsPageProps = {
Expand Down
Loading
0