-
Notifications
You must be signed in to change notification settings - Fork 166
Table of Contents for package admin page. #8101
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
Conversation
isoos
commented
Oct 3, 2024
- Deployed to staging for verification.
- The floating part is extremely limited, but provides 80% of the value for very little investment, and we can iterate on it later. When the display is narrow, the table of contents is inlined as part of the admin page.
- Floating example:
|
Note: removed the floating part for now, let's iterate on it separately. |
|
We should probably deploy this to staging. |
|
@sigurdm and @szakarias do you have opinions? |
| child: d.div( | ||
| classes: ['pub-toc'], | ||
| children: [ | ||
| d.div(child: d.b(text: 'Contents')), |
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.
Open question. Should we (specifically for the admin page) call this
| d.div(child: d.b(text: 'Contents')), | |
| d.div(child: d.b(text: 'Sections')), |
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.
I think it is fine to call it Sections on any page really. It is not that we can guarantee that a random README actually has a content, only the section headers.
|
There's ...something.. about the layout. I cannot quite put words to it. But I think it is good enough for starters. We can always iterate on it. |
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.
This is fine.
I'm OK with keeping 'Contents' just wanted to consider it.