-
Notifications
You must be signed in to change notification settings - Fork 21
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
Show installed version next to requested #454
base: main
Are you sure you want to change the base?
Show installed version next to requested #454
Conversation
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.
done self reviewing
@@ -108,7 +108,7 @@ export const Dependencies = ({ | |||
<TableRow> | |||
<TableCell sx={{ fontSize: "13px" }}>Package</TableCell> | |||
<TableCell sx={{ fontSize: "13px", textAlign: "right" }}> | |||
Installed Version | |||
Version |
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.
Looked redundant and potentially confusing to label this column "Installed Version" when:
a. there is no other version column
b. the name of the table is "Installed Packages"
@@ -34,7 +34,7 @@ export const RequestedPackageList = ({ | |||
return ( | |||
<Accordion | |||
sx={{ | |||
maxWidth: 420, | |||
width: 190 * 3, |
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.
Width must be specified in order to use fixed table layout
const { versionsWithoutConstraints, versionsWithConstraints } = | ||
useAppSelector(state => state.requestedPackages); |
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 is how its done in the RequestPackagesTableRow component on the edit environment page. (Yes, it's confusing but there are nearly duplicate components for the edit versus view pages.)
Fixes #364.