docs: email listing workaround and its SQL in the handover; tick change tasks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
1 parent
0904808e81
commit
b3c5395cfc
3 files changed
+14
-8
No files matched your search
@@ -4,7 +4,7 @@ Design: `design.md`. All tasks run serially: each builds on the one before.
|
||||
|
||||
## 1. Data
|
||||
|
||||
- [ ] 1.1 Add the `BO_EMAILS` module row (design decision 3) to `local/seed/03-colite.sql`, and keep `sql/01-email-module.sql` in this change identical to it.
|
||||
- [x] 1.1 Add the `BO_EMAILS` module row (design decision 3) to `local/seed/03-colite.sql`, and keep `sql/01-email-module.sql` in this change identical to it.
|
||||
- Apply the row to the running local database, a local-only, additive insert of the same statement.
|
||||
- Check that the admin's menu gets an Emails entry.
|
||||
- Scope: `local/seed/03-colite.sql`, `openspec/changes/add-admin-email-listing/sql/**`
|
||||
@@ -12,12 +12,12 @@ Design: `design.md`. All tasks run serially: each builds on the one before.
|
||||
|
||||
## 2. Backend
|
||||
|
||||
- [ ] 2.1 mobile-api `AdminEmailController` and `AdminEmailService` (design decision 1).
|
||||
- [x] 2.1 mobile-api `AdminEmailController` and `AdminEmailService` (design decision 1).
|
||||
|
||||
Tests first:
|
||||
- **List:**
|
||||
- it sends only the given properties, sorted by `datetime` descending;
|
||||
- `from` and `to` are converted to dd/MM/yyyy;
|
||||
- `from` and `to` are converted to dd-MM-yyyy;
|
||||
- rows map to id, datetime, recipient addresses, subject and status;
|
||||
- no `body` key in any row.
|
||||
- **Detail:**
|
||||
@@ -39,7 +39,7 @@ Design: `design.md`. All tasks run serially: each builds on the one before.
|
||||
|
||||
## 3. Portal
|
||||
|
||||
- [ ] 3.1 `/emails` list and `/emails/[id]` detail (design decision 2): proxy routes, a service and i18n keys.
|
||||
- [x] 3.1 `/emails` list and `/emails/[id]` detail (design decision 2): proxy routes, a service and i18n keys.
|
||||
|
||||
Tests first:
|
||||
- **List:**
|
||||
@@ -59,7 +59,7 @@ Design: `design.md`. All tasks run serially: each builds on the one before.
|
||||
|
||||
## 4. Check and docs
|
||||
|
||||
- [ ] 4.1 Browser check and handover.
|
||||
- [x] 4.1 Browser check and handover.
|
||||
- **Playwright on the local stack:**
|
||||
- as admin, trigger forgot-password for a made-up user;
|
||||
- open Emails, find it, open it, and read the password in the frame;
|
||||
|
||||
Reference in new issue
Block a user