Skip to content

Increase display width #1299 - #1483

Merged
keshav-space merged 3 commits into
mainfrom
1299-increase-display-width
May 23, 2024
Merged

Increase display width #1299#1483
keshav-space merged 3 commits into
mainfrom
1299-increase-display-width

Conversation

@johnmhoran

Copy link
Copy Markdown
Member

Reference: #1299

Reference: #1299

Signed-off-by: John M. Horan <johnmhoran@gmail.com>
@johnmhoran

Copy link
Copy Markdown
Member 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
Copy Markdown
Member

@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 ?

@keshav-space keshav-space left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
Member 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

DennisClark commented May 21, 2024

Copy link
Copy Markdown
Member

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

@johnmhoran

Copy link
Copy Markdown
Member Author

Thanks @DennisClark, will do.

@johnmhoran

Copy link
Copy Markdown
Member Author

@keshav-space @DennisClark Pushing this shortly:

SCIO-like width:

image

100% width:

image

Reference: #1299

Signed-off-by: John M. Horan <johnmhoran@gmail.com>
@johnmhoran

Copy link
Copy Markdown
Member Author

Pushed the 100% update.

@keshav-space

Copy link
Copy Markdown
Member

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

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

@johnmhoran

Copy link
Copy Markdown
Member 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
Copy Markdown
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
Copy Markdown
Member 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 <johnmhoran@gmail.com>

@keshav-space keshav-space left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
Member

Merging!

@keshav-space
keshav-space merged commit 433d3a6 into main May 23, 2024
@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