Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: display provisioner jobs and daemons for an organization#16532

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
BrunoQuaresma merged 22 commits intomainfrombq/refactor-provisioners
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
22 commits
Select commitHold shift + click to select a range
b6430bb
Set base structure to display the provisioner jobs
BrunoQuaresmaFeb 5, 2025
5d7d58f
Merge branch 'main' of https://github.com/coder/coder into bq/refacto…
BrunoQuaresmaFeb 7, 2025
643c362
[WIP]: Load data and display them in the table
BrunoQuaresmaFeb 7, 2025
f9db209
Merge branch 'main' of https://github.com/coder/coder into bq/refacto…
BrunoQuaresmaFeb 10, 2025
6e967f1
Update table to use API data
BrunoQuaresmaFeb 10, 2025
943b7d7
Finish job structure
BrunoQuaresmaFeb 10, 2025
2bc6ccf
Display tiny alert for error
BrunoQuaresmaFeb 10, 2025
71f4fe5
Fix tags
BrunoQuaresmaFeb 10, 2025
f027485
Add daemons page
BrunoQuaresmaFeb 10, 2025
dcf8140
Merge branch 'main' of https://github.com/coder/coder into bq/refacto…
BrunoQuaresmaFeb 10, 2025
994e186
Merge branch 'main' of https://github.com/coder/coder into bq/refacto…
BrunoQuaresmaFeb 11, 2025
3083cef
Merge branch 'main' of https://github.com/coder/coder into bq/refacto…
BrunoQuaresmaFeb 11, 2025
d66141e
Display all daemon data from server
BrunoQuaresmaFeb 11, 2025
49a7ec7
Remove unused imports
BrunoQuaresmaFeb 11, 2025
ffee2ed
Run fmt
BrunoQuaresmaFeb 11, 2025
7802636
Add cancel provisioner job
BrunoQuaresmaFeb 12, 2025
4f9030f
Run fmt
BrunoQuaresmaFeb 12, 2025
22dc7be
Merge branch 'main' of https://github.com/coder/coder into bq/refacto…
BrunoQuaresmaFeb 13, 2025
0ff39e5
Merge branch 'main' of https://github.com/coder/coder into bq/refacto…
BrunoQuaresmaFeb 14, 2025
5953960
Apply PR reviews
BrunoQuaresmaFeb 14, 2025
aabf8df
FMT
BrunoQuaresmaFeb 14, 2025
ed61ce7
Reset devcontainer.json
BrunoQuaresmaFeb 18, 2025
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
PrevPrevious commit
NextNext commit
Run fmt
  • Loading branch information
@BrunoQuaresma
BrunoQuaresma committedFeb 12, 2025
commit4f9030fa63687c32b12c3142ba51a7e87db3d59e
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
import type { Meta, StoryObj } from "@storybook/react";
import { CancelJobButton } from "./CancelJobButton";
import { MockProvisionerJob } from "testHelpers/entities";
import { userEvent, waitFor, within } from "@storybook/test";
import { MockProvisionerJob } from "testHelpers/entities";
import { CancelJobButton } from "./CancelJobButton";

const meta: Meta<typeof CancelJobButton> = {
title: "pages/OrganizationSettingsPage/ProvisionersPage/CancelJobButton",
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
import { useState, type FC } from "react";
import type { ProvisionerJob } from "api/typesGenerated";
import { Button } from "components/Button/Button";
import { ConfirmDialog } from "components/Dialogs/ConfirmDialog/ConfirmDialog";
import {
Tooltip,
TooltipContent,
TooltipProvider,
TooltipTrigger,
} from "components/Tooltip/Tooltip";
import { Button } from "components/Button/Button";
import { BanIcon } from "lucide-react";
import type { ProvisionerJob } from "api/typesGenerated";
import { ConfirmDialog } from "components/Dialogs/ConfirmDialog/ConfirmDialog";
import { type FC, useState } from "react";

type CancelJobButtonProps = {
job: ProvisionerJob;
Expand Down
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
import type { Meta, StoryObj } from "@storybook/react";
import { CancelJobConfirmationDialog } from "./CancelJobConfirmationDialog";
import { expect, fn, userEvent, waitFor, within } from "@storybook/test";
import type { Response } from "api/typesGenerated";
import { MockProvisionerJob } from "testHelpers/entities";
import { fn, userEvent, within, expect, waitFor } from "@storybook/test";
import { withGlobalSnackbar } from "testHelpers/storybook";
importtype { Response } from "api/typesGenerated";
import{ CancelJobConfirmationDialog } from "./CancelJobConfirmationDialog";

const meta: Meta<typeof CancelJobConfirmationDialog> = {
title:
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
import { API } from "api/api";
import {
getProvisionerDaemonsKey,
provisionerJobQueryKey,
} from "api/queries/organizations";
import type { ProvisionerJob } from "api/typesGenerated";
import {
ConfirmDialog,
type ConfirmDialogProps,
} from "components/Dialogs/ConfirmDialog/ConfirmDialog";
import { displayError, displaySuccess } from "components/GlobalSnackbar/utils";
import type { FC } from "react";
import { API } from "api/api";
import { useMutation, useQueryClient } from "react-query";
import {
getProvisionerDaemonsKey,
provisionerJobQueryKey,
} from "api/queries/organizations";
import { displayError, displaySuccess } from "components/GlobalSnackbar/utils";

type CancelJobConfirmationDialogProps = Omit<
ConfirmDialogProps,
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -23,10 +23,10 @@ import { useQuery } from "react-query";
import { cn } from "utils/cn";
import { docs } from "utils/docs";
import { relativeTime } from "utils/time";
import { CancelJobButton } from "./CancelJobButton";
import { DataGrid } from "./DataGrid";
import { JobStatusIndicator } from "./JobStatusIndicator";
import { ShrinkTags, Tag, Tags } from "./Tags";
import { CancelJobButton } from "./CancelJobButton";

type ProvisionerJobsPageProps = {
org: Organization;
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp