Skip to content

feat: refresh camera UI and harden image proxy - #2

Merged
hoangsvit merged 7 commits into
developfrom
feat/ui-refresh-and-hardening
Oct 6, 2026
Merged

hoangsvit merged 7 commits into
developfrom
feat/ui-refresh-and-hardening

Conversation

@hoangsvit

Copy link
Copy Markdown
Member

Tổng quan

Cải thiện toàn bộ trải nghiệm xem camera và xử lý các lỗi/bất cập nền tảng.

UI/UX

  • Dashboard responsive cho desktop/mobile
  • Tìm kiếm theo tên đường/giao lộ/khu vực
  • Lọc theo quận/khu vực
  • Tùy chọn số camera mỗi trang
  • Tự làm mới 5/10/15/30 giây hoặc tắt
  • Làm mới từng camera / toàn bộ camera đang hiển thị
  • Trạng thái tải, online và lỗi cho từng camera
  • Dark mode được lưu bằng localStorage
  • Pagination gọn hơn và tự clamp khi URL có page không hợp lệ
  • Tạm dừng auto-refresh khi tab bị ẩn để giảm request

Bug / Security

  • Loại bỏ open proxy qua tham số URL
  • Chỉ chấp nhận CamId 24 ký tự hex
  • Bỏ cookie upstream hard-code khỏi source
  • Không leak exception/upstream response ra client
  • Thêm timeout và kiểm tra Content-Type
  • Sửa tình trạng page vượt giới hạn dẫn tới màn hình trống

Quality

  • Thêm GitHub Actions CI
  • Validate composer, PHP syntax và data-camera.json
  • Smoke-check các UI anchor chính
  • Cập nhật README

Base: develop

@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@coderabbitai

coderabbitai Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cc6f75d0-384a-4ba2-ad06-a8b7a939d0da

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@hoangsvit
hoangsvit merged commit 5ebbe69 into develop Oct 6, 2026
2 checks passed
@hoangsvit
hoangsvit deleted the feat/ui-refresh-and-hardening branch October 6, 2026 02:53
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