Skip to content

feat(hacker-news): add search functionality with empty state UI#12

Open
idan wants to merge 4 commits intomainfrom
01KGJJTM4GY5KQ9YJPEXC3K0KR
Open

feat(hacker-news): add search functionality with empty state UI#12
idan wants to merge 4 commits intomainfrom
01KGJJTM4GY5KQ9YJPEXC3K0KR

Conversation

@idan
Copy link
Contributor

@idan idan commented Feb 3, 2026

Add search feature to the Hacker News stories component with debounced query handling and improved empty state messaging.

Changes

  • Implemented debounced search input with 300ms delay that updates Algolia API requests
  • Added search input field in the component header with consistent styling
  • Filter search results to stories created in the last three months
  • Created empty state UI component displaying "No stories found" message when the list is empty and data is not loading
  • Updated empty state message styling for better visibility:
    • Changed text color from slate-400 to slate-500
    • Increased font size from text-sm to text-lg
    • Increased vertical padding from py-8 to py-12

Additional Updates

  • Updated bun.lock lockfile to include configVersion field (version 0) in the root object, reflecting compatibility with newer bun versions

Created by GitHub Ace · View Channel

GitHub Ace and others added 2 commits February 3, 2026 22:03
@idan idan marked this pull request as ready for review February 3, 2026 22:17
@idan idan changed the title feat(search): add debounced search to Hacker News stories feat(news): add search and empty state UI Feb 9, 2026
@idan idan changed the title feat(news): add search and empty state UI feat(hacker-news): add search functionality with empty state UI Feb 9, 2026
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.

1 participant