Skip to content

WEBDEV-9047: Address the ia-transcript-view review follow-ups - #104

Open
jbuckner wants to merge 1 commit into
mainfrom
WEBDEV-9047-transcript-view-followups
Open

jbuckner wants to merge 1 commit into
mainfrom
WEBDEV-9047-transcript-view-followups

Conversation

@jbuckner

Copy link
Copy Markdown
Collaborator

Neeraj's three nits from #84 (WEBDEV-8968), split out so they didn't hold up the radio player release.

  • disconnectedCallback was the component's only uncovered code, so both leak fixes that PR made were untested. Two tests now cover them.
  • isClickable was set and reflected but nothing read it, so it's gone. No consumer touches ia-transcript-entry, so nothing changes at runtime.
  • The story's Styles table was missing the four music-* vars. Added those, plus the two auto-scroll-button colours which had the same problem.

QA waived, no runtime change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JpyQxVSkZFrWxxGamCcNhY

Covers disconnectedCallback, which was the only uncovered code in the
component. Both leak fixes from #84 now have a test: one checks the pending
autoscroll-resume timer is dropped, the other that the scroll animation is
cancelled. Deleting either cleanup fails its test.

Drops isClickable. It was set and reflected but nothing read it, there was no
[isclickable] selector, and cursor: pointer applies unconditionally. Nothing
in the repo or in offshoot touches ia-transcript-entry, so it changes nothing
at runtime.

Adds the missing colour vars to the story's Styles table. The four music-*
ones were the reported gap; the two auto-scroll-button colours had the same
problem, so recolouring the demo left that button black-on-white with no way
to reach it. The size-only vars stay out.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JpyQxVSkZFrWxxGamCcNhY
@github-actions

Copy link
Copy Markdown
PR Preview Action v1.8.1

🚀 View preview at
https://internetarchive.github.io/elements/pr/pr-104/

Built to branch ghpages at 2026-09-15 05:32 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.79%. Comparing base (631605d) to head (829e64e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #104      +/-   ##
==========================================
- Coverage   85.79%   85.79%   -0.01%     
==========================================
  Files          74       74              
  Lines        2619     2618       -1     
  Branches      577      577              
==========================================
- Hits         2247     2246       -1     
  Misses        195      195              
  Partials      177      177              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants