-
-
Notifications
You must be signed in to change notification settings - Fork 658
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: segments in pending CR screen #4420
Conversation
Sonatype Lift is retiringSonatype Lift will be retiring on Sep 12, 2023, with its analysis stopping on Aug 12, 2023. We understand that this news may come as a disappointment, and Sonatype is committed to helping you transition off it seamlessly. If you’d like to retain your data, please export your issues from the web console. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
@@ -18,6 +20,30 @@ export const ChangeRequest: VFC<IChangeRequestProps> = ({ | |||
}) => { | |||
return ( | |||
<Box> | |||
<ConditionallyRender |
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'm thinking whether segment of features should go first
overflow: 'hidden', | ||
})} | ||
> | ||
<Box |
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.
With more than 1-2 sx values I usually extract a component
defaultChange?: IChangeRequestAddStrategy | IChangeRequestEnabled; | ||
} | ||
|
||
export interface IChangeRequestSegment { |
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 could try using orval generated types in the next PR
@@ -44,7 +52,7 @@ export interface IChangeRequestComment { | |||
id: string; | |||
} | |||
|
|||
export interface IChangeRequestBase { | |||
export interface IChangeRequestChangeBase { |
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'm thinking about creating a separate ticket for using generated types for those so that we have e2e type safety
This is the first iteration of segments in pending CR screen.
Still need to add bunch of things, but those will be separate PR.