Skip to content

Bookmark pane: render enrichment (summary, tags, hero image)#72

Merged
melvincarvalho merged 1 commit into
gh-pagesfrom
issue-71-bookmark-pane-enrichment
Jun 5, 2026
Merged

Bookmark pane: render enrichment (summary, tags, hero image)#72
melvincarvalho merged 1 commit into
gh-pagesfrom
issue-71-bookmark-pane-enrichment

Conversation

@melvincarvalho
Copy link
Copy Markdown
Contributor

Closes #71. Follow-up to #69/#70.

What

Enhances the reference bookmark pane (examples/panes/bookmark.js) to render optional enrichment when present, degrading cleanly when absent:

  • dc:description → summary as paragraphs (split on blank lines), first emphasized as a lead
  • schema:keywords → tag pills
  • schema:image → hero thumbnail
  • schema:datePublished → footer, beside the saved date

The card is reworked into one cohesive editorial layout — refined border/shadow, larger title with hover, a divider rule, comfortable reading typography, and a polished Open button with hover/press states — via a scoped <style> block the pane injects.

Degrades gracefully

A bookmark with only the core fields (title/recalls/created) renders the same clean card minus the enrichment blocks. Verified against an un-enriched resource.

Scope / no version bump

Reference pane under examples/panes/ — not loaded at runtime (the pod loads panes from /public/panes/), so landing this doesn't require a publish. Schema.org vocab is reused, not invented. Enrichment (fetch + summarize) is produced out-of-band via MCP; this PR is just the view.

The reference bookmark pane now displays optional enrichment when present on
the resource, degrading cleanly when absent:
- dc:description as paragraphs (blank-line split) with an emphasized lead
- schema:keywords as tag pills
- schema:image as a hero thumbnail
- schema:datePublished in the footer

Reworked the card into one cohesive editorial layout (divider rule, reading
typography, polished Open button, hover states) via a scoped <style> block.
Enrichment is produced out-of-band (fetch + summarize via MCP); this is the view.

Reference pane only (not loaded at runtime) — no version bump.

Refs #71
@melvincarvalho melvincarvalho merged commit fa24c44 into gh-pages Jun 5, 2026
@melvincarvalho melvincarvalho deleted the issue-71-bookmark-pane-enrichment branch June 5, 2026 08:25
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.

Bookmark pane: render enrichment (summary, tags, hero image)

1 participant