-
Notifications
You must be signed in to change notification settings - Fork 28
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 user experience of Cohorts sidebar navigation #110
Conversation
d5325ca
to
20e392a
Compare
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.
Following up from stand-up, we will land the sidebar partial into the theme repository to ease future integration of the team profiles feature into the theme.
I tried to replicate the results in the screenshot, but I was unable to. I had different results when I cloned down the repo:
Are there corresponding changes inside the theme that should go with this PR? I would guess something is different in the stylesheets between us.
@jwflory the reason your results are different is that I made some changes as well in the CSS file of the theme. Will send a PR. |
20e392a
to
47886e5
Compare
@jwflory I moved the sidebar partial to the theme unicef/inventory-hugo-theme#45 |
Blocking this on unicef/inventory-hugo-theme#45. |
Closes #27. Related to unicef/inventory#110. * Add styles for scrollbar of sidebar * Add sidebar partial * Adjust sidebar for non-cohort pages Signed-off-by: Ida Delphine <mida@unicef.org> * Update assets/css/style.css Co-authored-by: Justin W. Flory (he/him) [UNICEF Innovation] <jflory@unicef.org> Co-authored-by: Justin W. Flory <jflory7@gmail.com>
@Idadelveloper What do we want to do with this Pull Request since unicef/inventory-hugo-theme#45 was merged? |
Rebased on commit 4bfd52c. |
@jwflory this PR is supposed to address the weird sidebar of the cohort pages |
Some quick feedback, but the sidebars do not seem to share all of the same code. The dropdowns do not have a scrollbar and there seems to be extra whitespace at the end of the sub-menu. I don't see that issue with another section on the site, like the Meta category. @Idadelveloper Any idea why this is? I can't debug at the moment. |
I'm not at my keyboard this moment, but I would use the developer tools
in the browser to compare the two sidebars. I know Firefox can quickly
see CSS class inheritance from the developer tools menu.
|
Signed-off-by: Ida Delphine <mida@unicef.org>
Signed-off-by: Justin W. Flory (he/him) [UNICEF Innovation] <jflory@unicef.org>
The cohorts page now has the fixed sidebar, but the sidebar disappears completely on individual profile pages. Not sure what the root cause is, but I will try to dig in and investigate why this is. |
@jwflory this addresses #27
It looks like this: