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

Table of Contents #38

Open
JayPanoz opened this issue Dec 3, 2024 · 0 comments
Open

Table of Contents #38

JayPanoz opened this issue Dec 3, 2024 · 0 comments

Comments

@JayPanoz
Copy link
Contributor

JayPanoz commented Dec 3, 2024

Placeholder issue of sorts for the time being but it allows us to log what has been discussed yesterday during the call, following the work done by @bluefirepatrick and contributed in #37

  • Toc as a tree
  • beware of labels that are not hyperlinked in the EPUB 3 toc (span) and how they are translated into RWPM (empty href?)
  • nested lists/children should be collapsible/expandable (per item or all)
  • we might want to add page/position number to the tree items
  • current section should be sync’d and selected in the ToC component (specific state)
  • ToC should be searchable
  • should be nested into various components e.g. modal, floating/docked sidesheet, etc.

Given we want things to be customisable, there may be room for preferences here e.g. number of levels you want to display, if you want to display page/position number, etc. but that’s probably a topic for another year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants