feat: complete project discovery entrypoints - #17
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: da79a144bf
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const term = keyword.value.trim().toLowerCase(); | ||
| const selectedStatus = status.value; | ||
| const filtered = CUSTOMERS.filter(customer => { | ||
| const matchesTerm = !term || customer.name.toLowerCase().includes(term) || customer.contact.toLowerCase().includes(term); |
There was a problem hiding this comment.
Align customer-name filtering with the PRD
When a visitor enters a contact such as “李四” in the field labeled “客户名称,” this condition returns that contact’s customer even though the PRD defines this field only as fuzzy filtering by customer name (docs/index.md:23). Either remove the contact predicate or document and relabel the combined search criterion so the demo and PRD describe the same behavior.
AGENTS.md reference: AGENTS.md:L13-L16
Useful? React with 👍 / 👎.
|
|
||
| ## 字段与状态 | ||
|
|
||
| | 字段 | 说明 | |
There was a problem hiding this comment.
Document every field rendered by the demo
This field section omits “客户编号” and “备注,” although the new detail prototype renders both at docs/index.html:599-605 and the list also renders the customer number. Add those definitions to the PRD field table so reviewers have a source of truth for every displayed field rather than an incomplete contract.
AGENTS.md reference: AGENTS.md:L41-L42
Useful? React with 👍 / 👎.
…points # Conflicts: # package.json
What changed
Validation
npm run check:changed— 0 errors / 0 warningsnpm run check— 0 errors; runtime layer skipped with one environment warning because Chromium is unavailablenpm pack --dry-run— passed