-
-
Notifications
You must be signed in to change notification settings - Fork 740
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
Feat: scheduled change request badges #5300
Conversation
Signed-off-by: andreas-unleash <[email protected]>
Signed-off-by: andreas-unleash <[email protected]>
Signed-off-by: andreas-unleash <[email protected]>
Signed-off-by: andreas-unleash <[email protected]>
Signed-off-by: andreas-unleash <[email protected]>
Signed-off-by: andreas-unleash <[email protected]>
Signed-off-by: andreas-unleash <[email protected]>
Co-authored-by: Thomas Heartman <[email protected]>
Signed-off-by: andreas-unleash <[email protected]>
… feat/scheduled_cr_ui_tests
Signed-off-by: andreas-unleash <[email protected]>
# Conflicts: # frontend/src/component/changeRequest/ChangeRequestOverview/ChangeRequestOverview.test.tsx
Signed-off-by: andreas-unleash <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
Signed-off-by: andreas-unleash <[email protected]>
Signed-off-by: andreas-unleash <[email protected]>
Signed-off-by: andreas-unleash <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I've got a couple questions, but nothing blocking 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if it's better to export two separate components for this? They could probably be from the same file and use the same internal method, but it'd give two separate methods for clarity. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure makes sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, but boy, is it a lot of lines 😄 Was this copied from somewhere? And I feel like the file name is misleading. Doesn't feel like there's anything related to draggable items being tested here. Maybe change it or add something to indicate that we're testing change request badges?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes from live Network calls :). Refactored for readability
...OverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyDraggableItem.tsx
Outdated
Show resolved
Hide resolved
...nvironmentAccordionBody/StrategyDraggableItem/StrategyItem/useStrategyChangesFromRequest.tsx
Outdated
Show resolved
Hide resolved
…tureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyDraggableItem.tsx Co-authored-by: Thomas Heartman <[email protected]>
…tureOverviewEnvironments/FeatureOverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyItem/useStrategyChangesFromRequest.tsx Co-authored-by: Thomas Heartman <[email protected]>
Signed-off-by: andreas-unleash <[email protected]>
…at/scheduled_cr_badge
Signed-off-by: andreas-unleash <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
...end/src/component/changeRequest/ModifiedInChangeRequestStatusBadge/ChangesScheduledBadge.tsx
Outdated
Show resolved
Hide resolved
...iewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyDraggableItem.test.tsx
Outdated
Show resolved
Hide resolved
...OverviewEnvironment/EnvironmentAccordionBody/StrategyDraggableItem/StrategyDraggableItem.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: andreas-unleash <[email protected]>
…atusBadge/ChangesScheduledBadge.tsx Co-authored-by: Thomas Heartman <[email protected]>
Adds a new badge to strategies that have changes in an a scheduled change request
Closes # 1-1620