Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align changed story count in notification and sidebar #189

Conversation

thafryer
Copy link
Member

@thafryer thafryer commented Feb 24, 2024

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

✨ Test out this PR locally via:

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 thafryer force-pushed the jarel/ap-3894-number-of-changes-in-notification-doesnt-match-number-in branch from 04928d3 to 4207700 Compare February 24, 2024 01:56
@thafryer
Copy link
Member Author

QA Looks Good.

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

src/SidebarTop.tsx Show resolved Hide resolved
@thafryer thafryer merged commit 17ed261 into main Feb 27, 2024
6 checks passed
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.

None yet

2 participants