Skip to content

feat: add hotel gallery and detail modal - #17

Merged
hoangsvit merged 5 commits into
mainfrom
fix/hotel-nav-and-workflow-race
Aug 27, 2026
Merged

feat: add hotel gallery and detail modal#17
hoangsvit merged 5 commits into
mainfrom
fix/hotel-nav-and-workflow-race

Conversation

@hoangsvit

Copy link
Copy Markdown
Member

Summary

  • preserve up to 12 hotel images already returned by the Google Hotels discovery response, without extra SerpApi calls
  • preserve useful detail metadata from discovery: phone, nearby places, typical price range, essential info, eco/sponsored flags
  • add a Chi tiết action on each hotel card
  • add an in-page detail modal with photo gallery, keyboard navigation, rating/reviews, distance, area, stars, address, phone, check-in/out, amenities, nearby places, price sources and current price
  • show an explicit no-photo state when Google Hotels did not include images for a property
  • keep the deeper Google Hotels Photos API as an optional later enrichment path instead of calling it for every discovered hotel and consuming quota

API cost

Opening hotel detail/gallery in the browser costs 0 additional SerpApi searches. The gallery uses images captured from the same discovery requests already used by the tracker.

Google Hotels has separate Property Details and Photos APIs keyed by property_token; those can be added later for selected hotels if a richer gallery is needed.

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@coderabbitai

coderabbitai Bot commented Aug 27, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: e6cb6f96-c2e0-4df9-8db0-4cb4648e8e4f


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.

@github-actions

Copy link
Copy Markdown
Contributor

🌍 Web preview

Preview is pinned to commit 3c51bda and updates automatically when the PR changes.

@hoangsvit
hoangsvit merged commit 0009f4a into main Aug 27, 2026
2 checks passed
@hoangsvit
hoangsvit deleted the fix/hotel-nav-and-workflow-race branch August 27, 2026 17:14
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