fix: explore search shows count on loading state cp-7.79.0#30618
Conversation
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
The only E2E tag relevant here is Performance Test Selection: |
|
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
The only E2E tag relevant here is Performance Test Selection: |
|
Description
Fix explore search shows count on loading state
Changelog
CHANGELOG entry: fix explore search shows count on loading state
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/ASSETS-3266
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Low Risk
UI-only label logic in explore search with unit tests; no auth, data, or API behavior changes.
Overview
Fixes explore search section headers showing a “View X more” count while results are still loading.
ExploreSearchResultsV2now computes the view-more label with zero visible items and no server total whensection.isLoadingis true, so counts from the previous query are not reused alongside skeleton rows. The label and accessibility text share one computedviewMoreLabel. Tests lock in that all feed types gettrending.view_allfor that loading input.Reviewed by Cursor Bugbot for commit 353964d. Bugbot is set up for automated code reviews on this repo. Configure here.