Open
Conversation
Align code with correct Upstash Search token and URL variables.
fix: Update Upstash Search environment variables
Update code to use @upstash/vector instead of @upstash/search
Update files to use correct Upstash Search URL and token variables.
Improve error tracking in search results state handling.
Improve AI prompt to include detailed descriptions for better search accuracy.
Enable reranking, set score threshold, and limit results.
Add CSS classes to maintain aspect ratio and update sizes attribute for responsive layout.
Reduce threshold from 0.3 to 0.01 and log returned scores.
Ensure content is a string before using substring method.
Safely convert content to string before substring call.
Switch to dynamic threshold based on top result's score.
Implement absolute minimum score and relative threshold for better search relevance.
Return to original search method without threshold filtering.
Update branding to "Picsearch" with custom copy and remove demo mode
Delete unnecessary header buttons and deploy.tsx file.
Add `aria-label` to icon-only buttons and set main landmark.
Switch to `<span className="sr-only">` for consistent rendering.
Remove useTheme and hardcode theme to fix hydration mismatch.
Force module refresh to clear old `next-themes` import cache.
Recreate sonner.tsx to clear stale module reference.
fix: improve search relevance and image aspect ratio
Add visible search button in mobile search form for better UX.
Explicitly set `loading="eager"` for prioritized images to resolve LCP warning.
Add score threshold, enable reranking, and limit results for better relevance.
Change initial state to `undefined` to differentiate no search from zero results.
Lower score threshold and remove reranking; add detailed debug logs.
Raise dynamic score threshold and enable AI-powered reranking for better results.
Remove hard score threshold and add debug logs for better insights.
Add debug endpoint and simplify search to identify root cause
Move client initialization inside handler and simplify response.
Increase threshold to 0.60 and clean up debug panels, logs, and endpoint.
Clean up `searchPerformed` check and use `> 0` for `hasImages` check.
Add second-pass AI re-ranking for semantic accuracy.
feat: enhance search and optimize image loading
Avoid redundant `loading` and `priority` props to prevent conflicts.
Replace dynamic spread with explicit `Image` renders for LCP fix.
Implement rate limit for upload route using Vercel firewall, and use in-memory limiter for search action.
feat: improve search, optimize images, and implement rate limits
Contributor
|
@vercel[bot] is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Generate custom OG image and update layout with full Open Graph tags.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Type of Change
Related Issues
Closes #
Changes Made
Testing
Manual Testing
Build & Code Quality
pnpm buildruns successfullypnpm checkpasses (Biome linting)pnpm formatappliedanytypes added)Workflow Changes (if applicable)
"use step"directive"use workflow"directivegetStepMetadata()maxRetriesconfigured appropriatelyDatabase Changes (if applicable)
lib/schema.tspnpm db:pushtested locallyScreenshots/Videos
Performance Impact
Breaking Changes
Documentation
Checklist
Additional Notes
Reviewers
/cc