Skip to content

ui: convert jobs/schedule page class components to functional components#162597

Merged
trunk-io[bot] merged 1 commit intocockroachdb:masterfrom
jasonlmfong:jf/console-job-func
Feb 11, 2026
Merged

ui: convert jobs/schedule page class components to functional components#162597
trunk-io[bot] merged 1 commit intocockroachdb:masterfrom
jasonlmfong:jf/console-job-func

Conversation

@jasonlmfong
Copy link
Copy Markdown
Member

@jasonlmfong jasonlmfong commented Feb 6, 2026

This change converts the following class components into their functional style equivalent:

  • jobsPage
  • jobDetails
  • jobDescriptionCell
  • scheduleTable
  • indexDetailsPage
  • duration
  • highwaterTimestamp
  • progressBar

The conversion was done by iteratively using a claude skill, and no human intervention was needed.

Existing Enzyme tests were converted into pure react-testing-library tests. The affected pages have been manually verified and cypress tested.

Epic: CRDB-58145
Release Note: None

@trunk-io
Copy link
Copy Markdown
Contributor

trunk-io Bot commented Feb 6, 2026

😎 Merged successfully - details.

@blathers-crl
Copy link
Copy Markdown

blathers-crl Bot commented Feb 6, 2026

Your pull request contains more than 1000 changes. It is strongly encouraged to split big PRs into smaller chunks.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@jasonlmfong jasonlmfong marked this pull request as ready for review February 6, 2026 17:14
@jasonlmfong jasonlmfong requested a review from a team as a code owner February 6, 2026 17:14
@jasonlmfong jasonlmfong requested review from dhartunian and kyle-a-wong and removed request for a team February 6, 2026 17:14
Copy link
Copy Markdown
Collaborator

@dhartunian dhartunian left a comment

Choose a reason for hiding this comment

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

:lgtm:

@dhartunian reviewed all commit messages and made 1 comment.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @kyle-a-wong).

Copy link
Copy Markdown
Collaborator

@dhartunian dhartunian left a comment

Choose a reason for hiding this comment

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

:lgtm:

@dhartunian made 1 comment.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @kyle-a-wong).

This change converts the following class components into their functional style equivalent:
 - jobsPage
 - jobDetails
 - jobDescriptionCell
 - scheduleTable
 - indexDetailsPage
 - duration
 - highwaterTimestamp
 - progressBar

The conversion was done by iteratively using a claude skill, and no human intervention was needed.

Existing Enzyme + Chai tests were converted into pure react-testing-library tests.
The affected pages have been manually verified and cypress tested.

Epic: CRDB-58145
Release Note: None
@jasonlmfong
Copy link
Copy Markdown
Member Author

/trunk merge

@trunk-io trunk-io Bot merged commit 91356c7 into cockroachdb:master Feb 11, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants