Skip to content

fix(preprod): Show total image count in snapshot sidebar sections#111576

Merged
NicoHinderling merged 1 commit intomasterfrom
fix/snapshot-sidebar-image-count
Mar 26, 2026
Merged

fix(preprod): Show total image count in snapshot sidebar sections#111576
NicoHinderling merged 1 commit intomasterfrom
fix/snapshot-sidebar-image-count

Conversation

@NicoHinderling
Copy link
Contributor

Section headers in the snapshot diff sidebar (Modified, Added, Removed, etc.)
displayed the number of groups rather than the total number of images. For
example, "UNCHANGED" showed 14 (groups) instead of the actual image count
across all groups.

Sum images.length or pairs.length within each group to show the correct
total per section.

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 25, 2026
@NicoHinderling NicoHinderling marked this pull request as ready for review March 25, 2026 22:00
@NicoHinderling NicoHinderling requested a review from a team as a code owner March 25, 2026 22:00
Section headers showed the number of groups instead of the total
number of images across all groups. Sum images/pairs within each
group to display the correct per-section image count.

Co-Authored-By: Claude <noreply@anthropic.com>
@NicoHinderling NicoHinderling force-pushed the fix/snapshot-sidebar-image-count branch from b131efc to c2d91de Compare March 26, 2026 00:28
@NicoHinderling NicoHinderling merged commit 6386126 into master Mar 26, 2026
70 checks passed
@NicoHinderling NicoHinderling deleted the fix/snapshot-sidebar-image-count branch March 26, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants