chromaui / addon-visual-tests

Visual Tests addon for Storybook
MIT License
30 stars 1 forks source link

Align changed story count in notification and sidebar #189

Closed thafryer closed 4 months ago

thafryer commented 4 months ago

There was a discrepancy in the change count used in the notification and the sidebar. The Sidebar showed the number of stories with changes. The notification showed the number of changes across all modes and browsers. So, this PR adjusts the count shown in the notification to align with the sidebar.

To QA

  1. Run a build with multiple changes.
  2. Verify that the count in sidebar and notification align.

    📦 Published PR as canary version: 1.1.11--canary.189.4207700.0
    :sparkles: Test out this PR locally via: ```bash npm install @chromatic-com/storybook@1.1.11--canary.189.4207700.0 # or yarn add @chromatic-com/storybook@1.1.11--canary.189.4207700.0 ```
thafryer commented 4 months ago

QA Looks Good.

Screenshot 2024-02-23 at 8 11 45 PM Screenshot 2024-02-23 at 8 11 52 PM