Skip to content

search feature#16

Merged
devandapaige merged 1 commit intomainfrom
feat-search
Nov 12, 2025
Merged

search feature#16
devandapaige merged 1 commit intomainfrom
feat-search

Conversation

@devandapaige
Copy link
Copy Markdown
Owner

@devandapaige devandapaige commented Nov 12, 2025

Note

Adds blog and resources search with URL-synced queries and refactors the resources page to a typed, data-driven component.

  • Blog
    • Add search input with real-time filtering by title, description, and tags.
    • Sync search and tag filters to URL; show result count and empty-state messaging.
  • Resources
    • Introduce ResourcesList component with client-side search across title, subtitle, description, and features, plus result count/clear/empty states.
    • Add typed data model in src/types/resources.ts and resource data in src/lib/resources.ts; wire into src/app/resources/page.tsx.
  • Docs
    • Update README.md to document blog/resources search and resources data management; update site sections list.
  • RSS
    • Refresh public/feed.xml lastBuildDate.

Written by Cursor Bugbot for commit b6bc21e. This will update automatically on new commits. Configure here.

@netlify
Copy link
Copy Markdown

netlify bot commented Nov 12, 2025

Deploy Preview for pythoness-programmer ready!

Name Link
🔨 Latest commit b6bc21e
🔍 Latest deploy log https://app.netlify.com/projects/pythoness-programmer/deploys/6914debe5486ce00077fd8ea
😎 Deploy Preview https://deploy-preview-16--pythoness-programmer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@devandapaige devandapaige merged commit 122cdf7 into main Nov 12, 2025
5 checks passed
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

}, [selectedTag, router])
if (searchQuery) {
params.set('search', searchQuery)
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: Empty Search Queries Break Filtering

The URL sync logic uses if (searchQuery) while the filter logic uses if (searchQuery.trim()), creating inconsistency. When searchQuery contains only whitespace, it gets added to the URL but doesn't filter any posts, showing a search parameter in the URL with no actual filtering applied.

Fix in Cursor Fix in Web

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