-
-
Notifications
You must be signed in to change notification settings - Fork 744
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
fix: grey out text and icons for disabled strategies in playground #5113
fix: grey out text and icons for disabled strategies in playground #5113
Conversation
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]>
@@ -71,7 +71,7 @@ export const StrategyExecution: VFC<IStrategyExecutionProps> = ({ | |||
// biome-ignore lint/suspicious/noArrayIndexKey: <explanation> | |||
<Fragment key={index}> | |||
<ConditionallyRender | |||
condition={index > 0} | |||
condition={index > 0 && (strategyResult.name === 'flexibleRollout' ? index < items.length : index < items.length -1) } |
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.
We seem to have a trailing AND - this fixes it
Signed-off-by: andreas-unleash <[email protected]>
const r = 100 / (2 * Math.PI); | ||
const d = 2 * r; |
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.
Can we use full names here please? Radius and diameter are much more readable than r & d.
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
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.
Small comment, but otherwise looks good.
Signed-off-by: andreas-unleash <[email protected]>
What it says on the tin
Closes # 1-1512

