Enter internal notes, below shipping address form.
Click Save notes.
Confirm success toast and saved notes remain visible.
Screenshots or recordings
Risks / follow-ups
No known follow-ups.
PR checklist
change is scoped to one ticket or one small reviewable concern
acceptance criteria were checked
code follows CONTRIBUTING.md
no unrelated refactor is mixed in
debug code and temporary logs are removed
relevant automated checks were run locally
changed behavior was manually tested when needed
known risks or follow-ups are called out
## Summary
Operations can now add internal notes to an order.
## Ticket / Assignment
- Ticket: https://git.letphil.com/derrick/ai-wave-02/issues/9
## What changed
- New `notes` field on orders schema
- New order notes component + crud for adding and updating the new order notes field
## How to test
```bash
bun test apps/api/src/orders/order-notes-assignment-2.test.ts
```
Manual checks:
- Go to http://localhost:5173/orders/order_1 or any orders page
- Enter internal notes, below shipping address form.
- Click Save notes.
- Confirm success toast and saved notes remain visible.
## Screenshots or recordings

## Risks / follow-ups
- No known follow-ups.
## PR checklist
- [x] change is scoped to one ticket or one small reviewable concern
- [x] acceptance criteria were checked
- [x] code follows `CONTRIBUTING.md`
- [x] no unrelated refactor is mixed in
- [x] debug code and temporary logs are removed
- [x] relevant automated checks were run locally
- [x] changed behavior was manually tested when needed
- [x] known risks or follow-ups are called out
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Operations can now add internal notes to an order.
Ticket / Assignment
What changed
notesfield on orders schemaHow to test
Manual checks:
Screenshots or recordings
Risks / follow-ups
PR checklist
CONTRIBUTING.md