Skip to content

fix: Chapter topic hints and section title tooltips#103

Merged
williamzujkowski merged 1 commit intomainfrom
fix/102-ux-polish
Mar 30, 2026
Merged

fix: Chapter topic hints and section title tooltips#103
williamzujkowski merged 1 commit intomainfrom
fix/102-ux-polish

Conversation

@williamzujkowski
Copy link
Copy Markdown
Collaborator

Summary

UX polish from #102 — makes the title TOC more informative.

Chapter topic hints

Each chapter row now shows a topic preview derived from the first active section's title:

Ch. 7   Chapter 7   Assaulting, resisting...   9 sections
  • Hidden on mobile (responsive)
  • Truncated at 50 chars
  • Helps users find relevant chapters without expanding

Section title tooltips

Truncated section titles now show the full text on hover via title attribute.

Issues

🤖 Generated with Claude Code

Title TOC improvements:
- Show chapter topic hint derived from first active section's title
  (e.g., "Chapter 7 — Assaulting, resisting..." gives context)
- Hint hidden on mobile (sm:inline) to save space
- Truncated to 50 chars to prevent overflow
- Add title attribute on section names for full text on hover
  (fixes truncated titles like "Influencing, impeding, or...")

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant