[CLAUDE] Docs: Session 11+ housekeeping — PE BudgetFieldRow inline editor
All checks were successful
Deploy SOLUTION_ERP / build-deploy (push) Successful in 3m13s
All checks were successful
Deploy SOLUTION_ERP / build-deploy (push) Successful in 3m13s
Chunk 3/3 — STATUS Recently Done row + HANDOFF TL;DR Session 11+ housekeeping trên cùng. KHÔNG cắt narrative S11 cũ. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@ -1,6 +1,19 @@
|
||||
# HANDOFF — Brief 5 phút cho session tiếp theo
|
||||
|
||||
**Last updated:** 2026-05-07 (Session 11 chốt — **Migration 17 manual budget fields PE + HĐ + toggle "Nhập tay". 5 commit per-chunk. 83 test pass.**)
|
||||
**Last updated:** 2026-05-07 (Session 11+ chốt — **PE BudgetFieldRow inline editor + 3 commit FE-only.**)
|
||||
|
||||
## TL;DR Session 11+ housekeeping (07/05 — inline budget editor)
|
||||
|
||||
User feedback after Session 11: muốn toggle + 2 fields hiển thị trực tiếp trong Section 2 "b. Ngân sách" của PeDetailTabs, không chỉ ở "Sửa header" page. Empty values cứ empty.
|
||||
|
||||
- ✅ **BudgetFieldRow component** (~125 LOC) thay FormRow tĩnh cũ ở `b. Ngân sách`. canEdit=`!readOnly && isDraft`. Save dùng existing PUT endpoint (KHÔNG cần BE thay đổi).
|
||||
- ✅ **fe-admin** Chunk 1 (commit `19712d8`) · **fe-user mirror** Chunk 2 (commit `d5c6f12`).
|
||||
- ✅ **Verify**: 2 build pass + 0 TS error.
|
||||
|
||||
UX:
|
||||
- **Workspace + Danh sách + isDraft** → editable inline: toggle + Select OR 2 input + nút Lưu khi dirty
|
||||
- **Duyệt + !isDraft** → display only (link card / manual values / "—" empty)
|
||||
- **Empty state**: hiển thị "—" thay vì "(chưa link)" verbose (per user)
|
||||
|
||||
## TL;DR Session 11 (07/05 — Migration 17 manual budget fields)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user