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

Improve page sidebar layout and design #3553

Merged
merged 7 commits into from Feb 13, 2023
Merged

Conversation

mattiastofte
Copy link
Contributor

Description

Note: Since the old branch was so behind I just redid everything from scratch with typescript.

So right now the page sidenav looks hideous on the live webapp. It's one of those components that have long been overlooked and been needing a retouch for a while. In this PR I've improved both the user experience and visual aesthetics for the sidenav. I'm not quite finished yet, I still need to do mobile view improvements, but I would still like to get early feedback so this is the reason I've made this PR.

Result

before
image

image

after

image

image

Note: The lighter color is the new highlighting color

@github-actions github-actions bot added the review-needed Pull requests that need review label Feb 11, 2023
@mattiastofte mattiastofte added the enhancement Pull requests that make enhancements, instead of just purely new features label Feb 11, 2023
@mattiastofte mattiastofte self-assigned this Feb 11, 2023
Copy link
Member

@ivarnakken ivarnakken left a comment

Choose a reason for hiding this comment

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

This looks stunning! 😍 😍

I only have some minor comments on the colors 😄

app/routes/pages/components/PageHierarchy.css Outdated Show resolved Hide resolved
font-weight: 600;
width: 95%;
text-align: center;
border-bottom: 2px solid var(--additive-background);
Copy link
Member

Choose a reason for hiding this comment

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

I feel like the border color should be var(--border-gray) so that it matches the rest of the webapp, but could you maybe instead tweak it to be lighter and better looking? I never changed it up.

app/routes/pages/components/Sidebar.tsx Show resolved Hide resolved
app/styles/variables.css Outdated Show resolved Hide resolved
Copy link
Member

@LudvigHz LudvigHz left a comment

Choose a reason for hiding this comment

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

Awesome 😍

app/routes/pages/components/PageHierarchy.css Outdated Show resolved Hide resolved
app/routes/pages/components/Sidebar.css Outdated Show resolved Hide resolved
@mattiastofte
Copy link
Contributor Author

I've resolved the issues mentioned and I've also improved the mobile view. The mobile view is still a bit ugly, although it's much better than before and it can be improved upon further later.

image

@mattiastofte mattiastofte removed the request for review from eikhr February 13, 2023 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Pull requests that make enhancements, instead of just purely new features review-needed Pull requests that need review
Projects
None yet
3 participants