Skip to content

feat: expose footnote lifecycle hooks - #4

Merged
rhnvrm merged 2 commits into
mainfrom
wt-footnotes-lifecycle
Sep 2, 2026
Merged

rhnvrm merged 2 commits into
mainfrom
wt-footnotes-lifecycle

Conversation

@rhnvrm

@rhnvrm rhnvrm commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add public entries and refresh() surfaces for source-to-preview mappings and dynamic content
  • emit oatbase:render after previews are ready and oatbase:toggle as previews open or close
  • expose data-footnote-for on generated previews for stable placement integration
  • retain ordinary source links and definitions when Popover is unavailable
  • document a script-order-independent sidenote/layout integration and add focused lifecycle coverage

Verification

  • source/docs suite: 52 passed
  • component and documentation browser smokes passed
  • Chromium component suite: 24 passed, including no-JS, dynamic content, axe, keyboard, themes, contrast, and visual baselines
  • complete bundle: 27,294 gzip bytes (28,000 budget)
  • extensions bundle: 17,635 gzip bytes (18,000 budget)

@rhnvrm
rhnvrm force-pushed the wt-footnotes-lifecycle branch from f157430 to f77226a Compare September 2, 2026 19:35
@rhnvrm
rhnvrm force-pushed the wt-footnotes-lifecycle branch from f77226a to 491b50e Compare September 2, 2026 20:16
@rhnvrm
rhnvrm merged commit b2bc14a into main Sep 2, 2026
6 checks passed
@rhnvrm
rhnvrm deleted the wt-footnotes-lifecycle branch September 2, 2026 20:19
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