Skip to content

feat: autofill poster search with item title - #98

Merged
CodeWithMa merged 1 commit into
CodeWithMa:devfrom
CodeWithMaBot:feature/poster-search-autofill
Aug 23, 2026
Merged

feat: autofill poster search with item title#98
CodeWithMa merged 1 commit into
CodeWithMa:devfrom
CodeWithMaBot:feature/poster-search-autofill

Conversation

@CodeWithMaBot

@CodeWithMaBot CodeWithMaBot commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • New Features

    • Poster search now starts with the item title as the search query.
    • The title is trimmed and searched automatically when poster search opens.
    • Poster search displays its search interface after activation.
  • Bug Fixes

    • Improved the poster search button’s behavior and query handling.

@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

@CodeWithMaBot is attempting to deploy a commit to the Ma's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Aug 23, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c809f9e9-d352-4e94-bb82-9074a5be73f8

📥 Commits

Reviewing files that changed from the base of the PR and between 61951d3 and 8c1f1e0.

📒 Files selected for processing (3)
  • src/app/components/item-form/item-form.component.ts
  • src/app/components/poster-picker/poster-picker.component.spec.ts
  • src/app/components/poster-picker/poster-picker.component.ts

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The item form passes its current title to the poster picker. Opening poster search trims the title, starts a TMDB search when the title is non-empty, and displays the search controls. Tests cover the seeded search flow.

Changes

Poster search seed

Layer / File(s) Summary
Seeded poster search flow
src/app/components/poster-picker/poster-picker.component.ts, src/app/components/item-form/item-form.component.ts, src/app/components/poster-picker/poster-picker.component.spec.ts
PosterPickerComponent exposes a searchSeed input and an openPosterSearch() method. The item form binds its title to the input. Tests verify trimming, UI visibility, and the debounced TMDB search.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 8c1f1

This localized change autofills poster searches from the item title, with no actionable merge-blocking risk remaining beyond normal checks and review.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes autofilling poster search with the current item title.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 3 files.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
watch-list Ready Ready Preview Aug 23, 2026 11:51am

@CodeWithMa
CodeWithMa merged commit 66c504b into CodeWithMa:dev Aug 23, 2026
6 checks passed
@CodeWithMaBot
CodeWithMaBot deleted the feature/poster-search-autofill branch August 23, 2026 13:34
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.

2 participants