Skip to content

[Bug] Storyline header: RatingSummaryWithSeparator duplicates RatingSummary #797

@realproject7

Description

@realproject7

Problem

PR #794 introduced RatingSummaryWithSeparator which duplicates the query and render logic from the existing RatingSummary component. Any future rating display changes must be updated in two places.

Also: the separator dot between rating and view count is missing aria-hidden="true".

Solution

  1. Refactor RatingSummaryWithSeparator to compose the existing RatingSummary (e.g. add an optional separator or children prop) instead of duplicating it
  2. Add aria-hidden="true" to the decorative separator dot span

Acceptance Criteria

  • Single source of truth for rating query + render logic
  • Separator dot has aria-hidden="true"
  • No visual changes

Branch

task/<issue>-rating-summary-dedup

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/T3Assigned to T3 builder agentbugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions