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

Increase display width #1299 #1483

Merged
merged 3 commits into from
May 23, 2024
Merged

Increase display width #1299 #1483

merged 3 commits into from
May 23, 2024

Conversation

johnmhoran
Copy link
Contributor

Reference: #1299

Reference: #1299

Signed-off-by: John M. Horan <[email protected]>
@johnmhoran
Copy link
Contributor Author

@DennisClark Not sure who needs or wants to review this PR, but I think as discussed during today's jit.si that the changes increase the VCIO display width to that currently used by ScanCode.io. Comments/questions are welcome.

@DennisClark
Copy link

@johnmhoran Based on the screenshots you posted to me earlier, the changes are fine with me, but I guess someone qualified should review the actual code -- perhaps @TG1999 ?

Copy link
Member

@keshav-space keshav-space left a comment

Choose a reason for hiding this comment

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

@johnmhoran Why not use the entire 100% of the available width?

Width 100%
Screenshot from 2024-05-22 01-14-51

@johnmhoran
Copy link
Contributor Author

Thanks @keshav-space. BTW, did you change the 2 px settings I changed to 100% to achieve your results (in case that's what the final decision is)?

Re why not? I understood the goal was to imitate the display of ScanCode.io. If the decisionmakers want something different, that's fine -- waiting for instructions.... (Having some white space on left and right looks better to me, fwiw.)

@DennisClark
Copy link

DennisClark commented May 21, 2024

@johnmhoran @keshav-space the 100% approach is even better, I think. Please give it a try.

@johnmhoran
Copy link
Contributor Author

Thanks @DennisClark, will do.

@johnmhoran
Copy link
Contributor Author

@keshav-space @DennisClark Pushing this shortly:

SCIO-like width:

image

100% width:

image

@johnmhoran
Copy link
Contributor Author

Pushed the 100% update.

@keshav-space
Copy link
Member

@johnmhoran running your changes locally, I'm not getting the full width. 🤔

Screenshot from 2024-05-22 20-52-42

@johnmhoran
Copy link
Contributor Author

@keshav-space Thanks. Although I had the full 100% width locally yesterday (thus the screenshot above), atm mine is also narrow, somehow being limited to 865.63px. Looking I don't see where that comes from -- maybe some flex-related CSS setting? Do you have any suggestions? Meanwhile I'll see what I can discover.

image

@keshav-space
Copy link
Member

@johnmhoran this is what worked for me locally.

.container.max-desktop-width {
    width: 100%;
    max-width: 100%;
}
@media screen and (min-width: 1024px) {
    .footer {
        width: 100%;
    }
}

@johnmhoran
Copy link
Contributor Author

@keshav-space Adding the missing width to .container.max-desktop-width works for me as well -- thank you. Weird that I had the full width yesterday w/o that setting, and there was previously no width setting for that CSS. 🤔 Will commit and push shortly.

image

Reference: #1299

Signed-off-by: John M. Horan <[email protected]>
Copy link
Member

@keshav-space keshav-space left a comment

Choose a reason for hiding this comment

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

@johnmhoran LGTM!
IMO, the package and vulnerability search should be modified to take up approximately 60-70% of the width, that might look better. We can track this in a separate issue.

@keshav-space
Copy link
Member

Merging!

@keshav-space keshav-space merged commit 433d3a6 into main May 23, 2024
11 checks passed
@keshav-space keshav-space deleted the 1299-increase-display-width branch May 23, 2024 08:02
@keshav-space keshav-space linked an issue Jun 4, 2024 that may be closed by this pull request
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.

Enhance the VCIO UI to make use of all available screen space
3 participants