Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

DEVPROD-1976: Migrate downstream tasks table to LeafyGreen table #2309

Merged
merged 7 commits into from
Mar 22, 2024

Conversation

minnakt
Copy link
Contributor

@minnakt minnakt commented Mar 20, 2024

DEVPROD-1976

Description

Updates the downstream tasks table to use LeafyGreen table. The state of this table is managed by a reducer, and should not appear in the URL.

Screenshots

Screenshot 2024-03-20 at 12 30 14 PM

Testing

  • Updated Cypress tests

@minnakt minnakt marked this pull request as ready for review March 20, 2024 16:53
@minnakt minnakt requested a review from a team March 20, 2024 16:53
Copy link
Contributor

Choose a reason for hiding this comment

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

[nit] Preference have the filename match the component name DownstreamTasksTable

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops thank you!

Comment on lines 63 to 69
if (id === TaskSortCategory.Status) {
dispatch({ type: "setStatuses", statuses: value as string[] });
}
if (id === TaskSortCategory.BaseStatus) {
dispatch({ type: "setBaseStatuses", baseStatuses: value as string[] });
}
if (id === TaskSortCategory.Variant) {
Copy link
Contributor

Choose a reason for hiding this comment

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

[nit] Should these use else if to avoid checking each statement on every loop? Or switch case

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated!

@minnakt minnakt requested a review from sophstad March 22, 2024 14:41
@minnakt minnakt merged commit 7472ce0 into evergreen-ci:main Mar 22, 2024
4 checks passed
@minnakt minnakt deleted the DEVPROD-1976_downstream-projects branch March 22, 2024 15:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants