Skip to content

Keep note titles visible across semantic zoom - #99

Open
Yuqing (mydmdm) wants to merge 2 commits into
mainfrom
fix/issue-81
Open

Keep note titles visible across semantic zoom#99
Yuqing (mydmdm) wants to merge 2 commits into
mainfrom
fix/issue-81

Conversation

@mydmdm

Copy link
Copy Markdown
Contributor

Summary

  • render a persistent, non-shrinking title row in full-detail note cards
  • account for title chrome in note auto-height geometry and invalidate stale measurements
  • cover 300px/400px notes across full/minimal LOD plus constrained fixed-height behavior
  • update note, auto-height, and canvas zoom architecture docs

Validation

  • pnpm typecheck
  • pnpm format
  • pnpm lint:fix
  • pnpm format:check
  • pnpm --filter @huabu/shared exec vitest run src/canvas-engine/height/__tests__/height.test.ts src/canvas-engine/__tests__/createNodes.selection.test.ts
  • pnpm --filter @huabu/web exec playwright test e2e/note-auto-height.spec.ts (8 passed)

Closes #81

Yuqing (mydmdm) and others added 2 commits August 14, 2026 17:07
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mydmdm

Copy link
Copy Markdown
Contributor Author

需要进一步讨论这个需求与在 note 正文中添加 H1 的区别

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.

Canvas: note node label/title is not rendered in the card thumbnail

1 participant