Skip to content

Add flight price navigation and multilingual interface - #3

Merged
hoangsvit merged 9 commits into
mainfrom
agent/navigation-i18n
Aug 20, 2026
Merged

Add flight price navigation and multilingual interface#3
hoangsvit merged 9 commits into
mainfrom
agent/navigation-i18n

Conversation

@hoangsvit

Copy link
Copy Markdown
Member

Summary

Adds a clear path from the main travel dashboard to the Flight Price Watch and introduces shared multilingual UI support.

Navigation

  • Adds Flight prices to the desktop header navigation.
  • Adds Watch flight prices to the hero actions.
  • Changes the Flights essentials card to open /flights/ instead of sending users straight to Google Flights.
  • Adds Flight prices to the mobile bottom navigation.

Languages

Shared i18n.js now supports:

  • English
  • Tiếng Việt
  • 中文 (Simplified Chinese)
  • 日本語

The language selector appears on both the main dashboard and Flight Price Watch, remembers the choice in localStorage (travel-language), and auto-detects the browser language for first-time visitors.

Other fixes

  • Fixes the existing trip-day off-by-one calculation so 20–26 Oct displays 7 days.
  • Replaces the ambiguous 3 flight legs max stat with 2 return options.
  • Bumps the PWA cache and includes i18n.js for offline use.

Notes

The Flight Price Watch remains at /flights/ and continues to use the existing SerpApi/GitHub Actions data flow.

@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 20, 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: fbc5a902-8e96-4ba8-9ce5-672a6102710e


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

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

🌍 Web preview

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

@hoangsvit
hoangsvit merged commit f5cfbe6 into main Aug 20, 2026
2 checks passed
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