-
-
Notifications
You must be signed in to change notification settings - Fork 777
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
Design System: Standardize Sticky Side Nav #2174
Comments
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Update, (It's been 3 days, but I think I've had decent progress.)
Addressed the strange scrollhandler behavior by changing it's listener to Moved / renamed Moved some CSS properties from Created a new file Reworked some of the HTML structure and CSS grid rules to better center the content, rather than have everything a fixed distance from the left.
Unclear on direction on how to better generalize the sticky-nav. I think there's a lot of hard-coded legacy code and I'm not sure of what an example of a "properly structured" page would be that a sticky-nav could be slipped into. The only things I can see would maybe be the join-us page, or alyssabenipayo's past work in the guides-pages.
|
Gonna rewrite the issue to open the scope. To make this component reusable, it would be a good idea to have a folder of files that can be used to make the component reusable, i.e. make a folder of sticky-nav-elements which contains markdown files with lists of the elements and their attributes. That way, the component can ideally just run through that markdown file and work the exact same way as it is currently hard coded. |
@jdingeman I just read through this issue. I agree that the about page is a monster. Each section of the about page should be an include. Then the cards could have an anchor and an include to render the content. Then either the sticky nav menu reads the anchors or its defined in a file the sticky nav for the about page uses. |
The next step on this issue is to find all the files associated with the about page, and define what each portion does so that anyone who needs to understand this issue, doesn't have to read all the code from scratch. |
Dependency
Overview
As a developer, it is important to standardize our elements for all teams in the website project. For this issue, the element to standardize is the sticky side nav on the about page.
Action Items
p-feature: about us
label. Please make a list of related issues and add them in a comment.ready for dev lead
label to have a Tech Lead review your plan._includes
called "sticky-side-nav"element:
- the name of the element in the list (e.g. Letter from the ED)anchor:
- the anchor for this element (e.g. #letter)_includes
folder named "sticky-side-nav.html" for the sticky side nav that can be called within other pages that will have a sticky side navResources/Instructions
The text was updated successfully, but these errors were encountered: