« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
GitHub · Extracted in 911 ms

Add empty state for searches with no results by vjycode0 · Pull Request #555 · github/forgoodfirstissue

Source: https://github.com/github/forgoodfirstissue/pull/555

Repository navigation

Add empty state for searches with no results - #555


Open
vjycode0 wants to merge 1 commit into github:main from vjycode0:codex/empty-state-no-results
Open

Add empty state for searches with no results #555 vjycode0 wants to merge 1 commit into github:main from vjycode0:codex/empty-state-no-results

Conversation

vjycode0 commented Sep 1, 2026



Copy link Copy Markdown

Fixes #550 \n\nShow a clear empty state in both filtered lists when no repositories or organizations match the current search or filters.

feat: show empty state for empty search results b5759dd ArshVermaGit reviewed Sep 12, 2026
View reviewed changes

ArshVermaGit left a comment



Copy link Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more .

Could you please confirm that isEmptyState is only set after the initial loading/search operation has completed? Otherwise, the new "No results found" message could briefly appear while results are still loading. Once this is confirmed, the change looks good to me.

vjycode0 commented Sep 28, 2026



Copy link Copy Markdown
Author

Could you please confirm that isEmptyState is only set after the initial loading/search operation has completed? Otherwise, the new "No results found" message could briefly appear while results are still loading. Once this is confirmed, the change looks good to me.

Confirmed -- isEmptyState is derived only from the already-available filtered arrays after the component has data.
│ Repositories come from generated.json via AppDataProvider, and organizations come from organizations.json, so there isn't
│ an async loading/search phase here where the empty state could flash before data arrives. The message only appears when
│ the applied search/filter leaves zero matching items. Thanks for checking!

This branch has not been deployed


No deployments
Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment

Labels

None yet

3 participants