mirror of
https://github.com/HananoshikaYomaru/openfreebooks.git
synced 2026-11-12 20:45:52 +00:00
Enhance catalog functionality and accessibility: Add a subject selection dropdown in the catalog sidebar for improved navigation. Update the SKILL.md to include accessibility guidelines for mobile compatibility. Refactor the CatalogMermaidView component to streamline zoom and pan functionalities, removing unused SVG pan-zoom integration. Update the catalog-to-mermaid logic to include live node href mappings for better interactivity. Adjust styles for the catalog subject select to ensure consistent display across devices.
This commit is contained in:
parent
562c225884
commit
89b6b6c41a
9 changed files with 383 additions and 632 deletions
|
|
@ -49,6 +49,7 @@ bun run build # production: JS + Zola + pagefind → public/
|
|||
| Chapter URLs | `/{subjectId}/{chapter-slug}/` (e.g. `/math/quadratic-equations/`) |
|
||||
| Map | Mermaid DAG view (`?view=tree`) driven by `graph.edges` |
|
||||
| Graph | `graph.edges` must be **acyclic**; builder throws on cycles |
|
||||
| Accessibility | Avoid decorative characters that may render as emoji on mobile. Prefer broadly supported symbols/text so desktop and mobile stay visually consistent. |
|
||||
|
||||
## Common tasks → where to edit
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue