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

Show installed version next to requested #454

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gabalafou
Copy link
Contributor

@gabalafou gabalafou commented Feb 20, 2025

Fixes #364.

screenshot

Copy link
Contributor Author

@gabalafou gabalafou left a 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
Copy link
Contributor Author

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,
Copy link
Contributor Author

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

Comment on lines +29 to +30
const { versionsWithoutConstraints, versionsWithConstraints } =
useAppSelector(state => state.requestedPackages);
Copy link
Contributor Author

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.)

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.

[ENH] - Show installed packages versions along with the requested versions
1 participant