Skip to content
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

Merged
merged 27 commits into from
Nov 9, 2023
Merged

Conversation

andreas-unleash
Copy link
Contributor

@andreas-unleash andreas-unleash commented Nov 8, 2023

Adds a new badge to strategies that have changes in an a scheduled change request

Closes # 1-1620
Screenshot 2023-11-09 at 11 49 53

andreas-unleash and others added 15 commits November 7, 2023 15:49
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]>
# Conflicts:
#	frontend/src/component/changeRequest/ChangeRequestOverview/ChangeRequestOverview.test.tsx
Signed-off-by: andreas-unleash <[email protected]>
Copy link

vercel bot commented Nov 8, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 9, 2023 11:36am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Nov 9, 2023 11:36am

@andreas-unleash andreas-unleash changed the title Feat/scheduled cr badge Feat: scheduled change request badges Nov 8, 2023
Signed-off-by: andreas-unleash <[email protected]>
Signed-off-by: andreas-unleash <[email protected]>
Signed-off-by: andreas-unleash <[email protected]>
Copy link
Contributor

@thomasheartman thomasheartman left a 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 😄

Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure makes sense

Copy link
Contributor

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?

Copy link
Contributor Author

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

andreas-unleash and others added 2 commits November 8, 2023 15:54
…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]>
Copy link
Contributor

@thomasheartman thomasheartman left a comment

Choose a reason for hiding this comment

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

Nice!

Signed-off-by: andreas-unleash <[email protected]>
…atusBadge/ChangesScheduledBadge.tsx

Co-authored-by: Thomas Heartman <[email protected]>
@andreas-unleash andreas-unleash merged commit 100c22b into main Nov 9, 2023
12 checks passed
@andreas-unleash andreas-unleash deleted the feat/scheduled_cr_badge branch November 9, 2023 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants