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

refactor: update provisioners page to match the new design#17232

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 6 commits intomainfrombq/refactor-provisioners-new
Apr 4, 2025

Conversation

BrunoQuaresma
Copy link
Collaborator

Demo

Screen.Recording.2025-04-02.at.17.14.05.mov

Closes#17221

@BrunoQuaresmaBrunoQuaresma requested review froma team,aslilac andCopilotApril 2, 2025 20:16
@BrunoQuaresmaBrunoQuaresma self-assigned thisApr 2, 2025
Copy link
Contributor

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Pull Request Overview

This PR refactors the provisioners page to align with the new design, removing legacy components and reorganizing query logic and UI components. Key changes include:

  • Removal of outdated page views and Storybook stories.
  • Introduction of new components (ProvisionerVersion, ProvisionerRow, ProvisionerKey, etc.) with updated styling and improved layout.
  • Updates to data queries to filter out offline provisioners and adjust error handling.

Reviewed Changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated no comments.

Show a summary per file
FileDescription
OrganizationProvisionersPageView.tsxReplaces the legacy provisioners view with a new table-based layout and updated error handling.
OrganizationProvisionersPage.tsxUpdates the query to use provisionerDaemons and filter out offline provisioners.
ProvisionerVersion.tsx, ProvisionerRow.tsx, ProvisionerKey.tsxNew components to present provisioner details, version status, and key info in line with the new design.
JobRow.tsx, JobStatusIndicator.tsx, ProvisionerTags.tsxAdjustments in job and tag presentation components consistent with the new styling conventions.
Storybook filesUpdated or added stories to reflect the new component implementations and behaviors.
Comments suppressed due to low confidence (1)

site/src/pages/OrganizationSettingsPage/OrganizationProvisionersPage/OrganizationProvisionersPageView.tsx:96

  • The error message references 'provisioner jobs' even though the page is about provisioners, which may confuse users. Consider updating the error message to 'Error loading the provisioners' or similar.
<EmptyState message="Error loading the provisioner jobs" cta={...} />

Comment on lines 34 to 43
<header className="flex flex-row items-baseline justify-between">
<div className="flex flex-col gap-2">
<h1 className="text-3xl m-0">Provisioners</h1>
<p className="text-sm text-content-secondary m-0">
Coder server runs provisioner daemons which execute terraform during
workspace and template builds.{" "}
<Link href={docs("/admin/provisioners")}>View docs</Link>
</p>
</div>
</header>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Not sure if I'll have time to do a full review for a while, but is there a reason this isn't usingSettingsHeader?

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Not really, I will use it!

<>
<TableRow>
<TableCell>
<button
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

native htmlbutton, no component?

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I used the native because I wanted a button "without any styles" but I think I can do that easily in another way or creating a "unstyled" variant for those cases and keep the styles for focus.

@BrunoQuaresmaBrunoQuaresma merged commit17664f4 intomainApr 4, 2025
29 checks passed
@BrunoQuaresmaBrunoQuaresma deleted the bq/refactor-provisioners-new branchApril 4, 2025 15:00
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsApr 4, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@ParkreinerParkreinerParkreiner left review comments

Copilot code reviewCopilotCopilot left review comments

@aslilacaslilacaslilac approved these changes

Assignees

@BrunoQuaresmaBrunoQuaresma

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Implement new provisioners design

3 participants

@BrunoQuaresma@aslilac@Parkreiner

[8]ページ先頭

©2009-2025 Movatter.jp