-
Notifications
You must be signed in to change notification settings - Fork 929
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 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 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
b6430bb
Set base structure to display the provisioner jobs
BrunoQuaresma 5d7d58f
Merge branch 'main' of https://github.com/coder/coder into bq/refacto…
BrunoQuaresma 643c362
[WIP]: Load data and display them in the table
BrunoQuaresma f9db209
Merge branch 'main' of https://github.com/coder/coder into bq/refacto…
BrunoQuaresma 6e967f1
Update table to use API data
BrunoQuaresma 943b7d7
Finish job structure
BrunoQuaresma 2bc6ccf
Display tiny alert for error
BrunoQuaresma 71f4fe5
Fix tags
BrunoQuaresma f027485
Add daemons page
BrunoQuaresma dcf8140
Merge branch 'main' of https://github.com/coder/coder into bq/refacto…
BrunoQuaresma 994e186
Merge branch 'main' of https://github.com/coder/coder into bq/refacto…
BrunoQuaresma 3083cef
Merge branch 'main' of https://github.com/coder/coder into bq/refacto…
BrunoQuaresma d66141e
Display all daemon data from server
BrunoQuaresma 49a7ec7
Remove unused imports
BrunoQuaresma ffee2ed
Run fmt
BrunoQuaresma 7802636
Add cancel provisioner job
BrunoQuaresma 4f9030f
Run fmt
BrunoQuaresma 22dc7be
Merge branch 'main' of https://github.com/coder/coder into bq/refacto…
BrunoQuaresma 0ff39e5
Merge branch 'main' of https://github.com/coder/coder into bq/refacto…
BrunoQuaresma 5953960
Apply PR reviews
BrunoQuaresma aabf8df
FMT
BrunoQuaresma ed61ce7
Reset devcontainer.json
BrunoQuaresma 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
Display all daemon data from server
- Loading branch information
commit d66141e74b7d3404466e2754b7fb2cce22534f11
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
28 changes: 28 additions & 0 deletions
28
site/src/pages/OrganizationSettingsPage/ProvisionersPage/DataGrid.tsx
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import type { FC, HTMLProps } from "react"; | ||
import { cn } from "utils/cn"; | ||
|
||
export const DataGrid: FC<HTMLProps<HTMLDivElement>> = ({ | ||
className, | ||
...props | ||
}) => { | ||
return ( | ||
<div | ||
{...props} | ||
className={cn([ | ||
"grid grid-cols-[auto_1fr] gap-x-4 items-center", | ||
"[&_span:nth-of-type(even)]:text-content-primary [&_span:nth-of-type(even)]:font-mono", | ||
"[&_span:nth-of-type(even)]:leading-[22px]", | ||
className, | ||
])} | ||
/> | ||
); | ||
}; | ||
|
||
export const DataGridSpace: FC<HTMLProps<HTMLDivElement>> = ({ | ||
className, | ||
...props | ||
}) => { | ||
return ( | ||
<div aria-hidden {...props} className={cn(["h-6 col-span-2", className])} /> | ||
); | ||
}; |
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.
Uh oh!
There was an error while loading. Please reload this page.