Ho Ngoc Hai
f112045826
fix: stabilize web e2e locale and timeout
2026-05-04 18:34:41 +07:00
Ho Ngoc Hai
388bc972c1
fix: unblock ci audit checks
2026-05-04 17:27:08 +07:00
Ho Ngoc Hai
9bb4c42f84
feat(web): listings page — ticker-style DataTable với toggle card view
...
Tạo mới trang /listings dạng bảng ticker-style theo spec TEC-3034.
- DataTable compact (row 36px, sticky header, alternating rows)
- Cột: #, Mã (GG-xxx), Quận, Loại, Giá, Δ30d, DT m², KL/Views
- Sortable theo Giá, Δ30d, DT m², KL/Views
- Filter inline: Loại giao dịch, Loại BĐS, Quận, Khoảng giá
- Toggle view: Table (default) ↔ Card grid (legacy component cũ)
- Pagination restyle compact, giữ nguyên API params
- Click row → navigate to detail page
- Dùng DataTable + PriceDelta từ @/components/design-system
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-04-21 01:31:22 +07:00
Ho Ngoc Hai
b84dfd5cad
fix: Docker build errors — Prisma generate order, .dockerignore multi-service
...
CI / Lint → Typecheck → Test → Build (22) (push) Failing after 11s
CI / E2E Tests (push) Has been skipped
Deploy / Build API Image (push) Failing after 23s
Deploy / Build Web Image (push) Failing after 12s
Deploy / Build AI Services Image (push) Failing after 10s
E2E Tests / Playwright E2E (push) Failing after 12s
Deploy / Deploy to Staging (push) Has been skipped
Deploy / Smoke Test Staging (push) Has been skipped
Deploy / Deploy to Production (push) Has been skipped
Deploy / Smoke Test Production (push) Has been skipped
Deploy / Rollback Staging (push) Has been skipped
Deploy / Rollback Production (push) Has been skipped
- Dockerfile: move prisma generate BEFORE nest build (fixes TS2305 PropertyType)
- .dockerignore: remove apps/web + libs/ai-services exclusions (needed by Kaniko)
- CI: add pnpm db:generate step before lint/typecheck/build
Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com >
2026-04-13 15:31:08 +07:00
Ho Ngoc Hai
017d85247e
fix(security): harden security headers across API and Web apps
...
- API: set X-Frame-Options to DENY via frameguard, add Permissions-Policy header, widen CSP connect-src for Swagger CDN
- Web: add HSTS header (1yr, includeSubDomains, preload), add payment=(self) to Permissions-Policy, make localhost:3001 in CSP connect-src dev-only
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-04-10 20:10:22 +07:00
Ho Ngoc Hai
2a8799ac5b
fix(ci): correct workflow branch targets from main to master
...
All three GitHub Actions workflows (CI, E2E, Deploy) referenced
branches: [main] but the repository default branch is master.
This meant CI never triggered on pushes or PRs to master.
- ci.yml: push/PR triggers → master
- e2e.yml: push/PR triggers → master
- deploy.yml: push trigger + latest tag condition → master
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-04-10 19:20:49 +07:00
Ho Ngoc Hai
19dd59e4eb
ci: add GitHub Actions CI/CD pipelines
...
- Add ci.yml with lint, typecheck, test, build steps + PostgreSQL service
- Add deploy.yml scaffold with Docker build placeholders
Co-Authored-By: Paperclip <noreply@paperclip.ing >
2026-04-08 02:04:24 +07:00