Skip to content

feat(sprint-10): complete public word seo, web push pwa, and toeic advanced decks - #76

Merged
ahauy merged 2 commits into
mainfrom
feat/official-data-architecture
Oct 22, 2026
Merged

ahauy merged 2 commits into
mainfrom
feat/official-data-architecture

Conversation

@ahauy

@ahauy ahauy commented Oct 22, 2026

Copy link
Copy Markdown
Owner

What & Why

Hoàn tất các hạng mục cốt lõi còn lại của Sprint 10 theo lộ trình

PRODUCT_BACKLOG_ROADMAP.md:
1. Hỗ trợ trang tra cứu từ vựng công khai chuẩn SEO (/word/:word) phục vụ người dùng
chưa đăng nhập.
2. Tích hợp Web Push PWA và cài đặt thông báo kèm cơ chế Khung giờ yên tĩnh (Quiet Hours:
22:00 - 07:00).
3. Bổ sung nội dung nâng cao TOEIC: 100 cụm từ cố định (Collocations), 50 từ mô tả tranh
Part 1 và Mini-lesson mẹo làm bài Part 5.

## Key Changes
- **Backend (`apps/api`)**:
  - Thêm `NotificationsModule` quản lý Web Push subscription và logic kiểm tra

isQuietHours.
- Bổ sung endpoint công khai tra từ vựng không yêu cầu JWT GET /api/v1/ai/public/word/:word.
- Frontend (apps/web):
- Thêm trang PublicWordPage (/word/:word) với thiết kế Obsidian Minimal Pill, hỗ
trợ audio phát âm, ví dụ và lưu từ cho khách vãng lai.
- Thêm WebPushNotificationPrompt và tab NotificationSettingsTab trong
SettingsModal.
- Tích hợp ToeicAdvancedSection trong lộ trình TOEIC và Thư viện.
- Docs & Roadmap (docs/):
- Cập nhật Sprint 10 sang trạng thái COMPLETED trong PRODUCT_BACKLOG_ROADMAP.md.

## Verification
- [x] Toàn bộ test suite vượt qua: 46/46 API test suites (432 tests) và 101/101 Web test

files (549 tests) = 981 tests PASS.
- [x] Workspace build thành công 100% (pnpm build).

@ahauy
ahauy merged commit cb22b14 into main Oct 22, 2026
3 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