Add Proposal Link Popovers#13
Open
ritorhymes wants to merge 3 commits into
Open
Conversation
Render external requires entries as direct links without forcing Zola to resolve them as local pages. This supports targeted --only rendering, where cross-repo proposal dependencies can be rewritten to external URLs instead of local pages. Move the theme demo homepage badges into front matter, a homepage_badges macro, and theme-owned styles so the demo homepage stays markdown-friendly. Declare Zola 0.22.1 as the minimum supported version, enable bottom footnotes, and update markdown highlighting to the class-based config with github-light/dark themes and ABNF/CSL-JSON grammars.
Add POSIX and PowerShell setup scripts for theme contributors that reuse or install build-eips, ensure a supported Zola is available, and bootstrap the surrounding workspace through an active proposal repo. Document the theme local development workflow, including workspace layout, setup flags, serve versus preview, server/base URL settings, targeted rendering, and source/output overrides. Keep this focused on setup and documentation; theme rendering behavior continues to be owned by the earlier theme PR.
Load generated proposal metadata lazily from the URL injected by base.html, leaving theme-only builds to fail softly when the file is absent. Recognize local, explicit EIPS/ERCS, public host, query/fragment, and base-path proposal link forms before resolving records by stable metadata keys or active-prefix number fallback. Attach manual Bootstrap popovers after metadata loads, using safe DOM text construction for contributor-controlled fields and viewport-aware Popper placement for hover and keyboard focus interactions. Skip same-page proposal links and disable popovers on touch/coarse-pointer devices while keeping desktop hover and keyboard focus behavior.
This was referenced May 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This adds hover and keyboard-focus previews / popovers for EIP/ERC proposal links, showing the proposal number, title, description, status, type, and category when available.
Demo site: wg-eips.ritovision.com
assets/data/proposals.json./EIPS/eip-Nand/ERCS/erc-Nroutes, public proposal hosts, query/fragment variants, and base-path deployments.Closes #2
Verification:
zola buildproposals.json