Commit Graph

17 Commits

Author SHA1 Message Date
Stardream 682b253125 feat(Bangumi_Topic_Share): major rewrite with reply sharing, API tags, and character/person page support, bump version to 5.0
Core new features:
- Add per-reply share buttons on all posts with nested reply chain display
- Refactor into _doShareCard() shared renderer supporting both topic and reply flows
- Screenshot via isolated iframe to fix Chrome html2canvas hang
- Inline images (emoji, stickers, content images) into base64 before capture
- Add spoiler mask toggle button
- Overlay now scrollable with action buttons below card

Character/person page support:
- Add @match rules for /ep/*, /character/*, /person/*
- Show character/person image panel with name + career badge in card header
- Rakuen character pages: fetch CV and work names via Bangumi API v0
- Rakuen/regular person pages: fetch role tags via /v0/persons/{id}/characters,
  fallback to /v0/persons/{id}/subjects with 44-role staff priority ordering
- Person career badge sourced from API career field with careerMap translation
- No-image fallback: render name + badge + divider without image panel
- Deduplicate subject tags by both subject id and staff role

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 02:25:19 +10:00
Stardream 712828c2a9 feat(Bangumi_Topic_Share): add subject/topic/* match and blog entry support, bump version to 4.13
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 19:29:36 +10:00
Stardream 998d77382f feat(Bangumi_Topic_Share): add blog entry support with related subjects as tags, bump version to 4.12
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 19:08:54 +10:00
Stardream 27797d81ea feat(Bangumi_Topic_Share): add Rakuen support via outer-frame iframe monitoring, fix share button placement to main post actions bar, use inline SVG share icon, bump version to 4.11
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 18:36:58 +10:00
Stardream 4cea895013 fix(Bangumi_Topic_Share): trim bottom transparent strip and exclude catfish plugin content, bump version to 4.10
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 06:01:31 +10:00
Stardream be507ee72f fix(Bangumi_Topic_Share): fix extra whitespace on right/bottom of screenshot, bump version to 4.9
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 05:31:27 +10:00
Stardream 4676b97acf fix(Bangumi_Topic_Share): use isolated iframe for capture to fix Chrome screenshot hang, bump version to 4.8
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 05:21:41 +10:00
Stardream bb6d42cde5 fix(Bangumi_Topic_Share): reduce capture area padding to minimize screenshot border, bump version to 4.7
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 04:14:15 +10:00
Stardream 4b1dd38d76 feat(Bangumi_Topic_Share): add animated custom tooltip for action buttons, bump version to 4.6
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 04:09:36 +10:00
Stardream 3ceaa89cf8 feat(Bangumi_Topic_Share): replace static tags with dynamic group name and reply count, bump version to 4.5
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 03:53:58 +10:00
Stardream 7d6fdcfc83 fix(Bangumi_Topic_Share): fix repeated screenshot failure caused by Live2D WebGL canvas and bump version to 4.4
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 03:04:41 +10:00
Stardream 2624c729af style(Bangumi_Topic_Share): unify light/dark card styles and bump version to 4.3
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 21:13:34 +10:00
Stardream de7fd91875 chore(Bangumi_Topic_Share): bump version to 4.2
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 20:47:16 +10:00
Stardream 4f4951bec7 feat(Bangumi_Topic_Share): add dark theme support for share card
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 20:45:42 +10:00
Stardream 007c069983 chore(Bangumi_Topic_Share): bump version to 4.1
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 19:47:16 +10:00
Stardream 1330f6a58b fix(Bangumi_Topic_Share): exclude .forum_category elements from share card content
Temporarily hides .forum_category elements before extracting innerText to
prevent third-party plugin components from appearing in the card body.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 18:49:24 +10:00
Stardream abc4c4a263 feat(Bangumi_Topic_Share): add share card script with copy/download/text actions
New userscript for Bangumi topic pages. Generates a styled share card via
html2canvas, with icon buttons to copy image to clipboard, download image,
copy share text, or close the overlay. Button placement moved to the stable
#columnInSubjectB sidebar to avoid conflicts with other components.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 18:28:51 +10:00