Repository navigation
feat(record-pages): leads, cases and projects open on the default record page (#2740) - #2795
Conversation
…ord page (#2740) Deletes the lead, case and project record pages by the maintainer's 2026-11-25 ruling: the two duplicate banners, the SLA-breach banner and the project Gantt go with them. The lead's Duplicate Management group opens expanded so the verdict stays on the first screen; the conversion flow's warning and refusal are unchanged. Tests are re-aimed at what replaces each page, and the docs say where the facts now live. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017xRBcV3h25dAMNWki8e1ns
…fter the three pages went (#2740) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017xRBcV3h25dAMNWki8e1ns
…e first screen (#2740) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017xRBcV3h25dAMNWki8e1ns
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
repo:hotcrm#2 · sunhaolin · session_017xRBcV3h25dAMNWki8e1ns 席位核对 — REWORK · repo:hotcrm#2 · head
|
… the deleted pages; guard the two idle pins Review follow-up on the default record pages. The conversion flow's warning comment now says the warning is templated in every locale pack and where the verdict shows on the lead page; the PSA plan and the project task object point at the Project Plan Gantt; the activity-feed and Details-body pins also pin the authored record-page roster, so a returning page turns them red. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017xRBcV3h25dAMNWki8e1ns
|
repo:hotcrm#2 · sunhaolin · session_017xRBcV3h25dAMNWki8e1ns 席位核对 — ACCEPT · repo:hotcrm#2 · head
|
…ault-record-pages
…der Identity (#2740) Maintainer ruling 2026-11-26, 「挪到第 2 位」: the duplicates field group moves to index 1 of crm_lead.fieldGroups and stays collapse: 'expanded', so the duplicate verdict is on the lead's first screen. The lead form enumerates its own sections and is unaffected. The pin, the leads docs in three locales, the changeset and the feature inventory say where the section now is. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017xRBcV3h25dAMNWki8e1ns
|
repo:hotcrm#2 · sunhaolin · session_017xRBcV3h25dAMNWki8e1ns 席位核对 — ACCEPT · repo:hotcrm#2 · head
|
|
repo:hotcrm#2 · sunhaolin · session_017xRBcV3h25dAMNWki8e1ns Landing. This is a reviewer-class PR. The seat record 7179661754 accepted head
The seat flips it ready and arms auto-merge, and the merge queue squashes it. The PR says |
Part of #2740 — this PR delivers the card's ruled items 1 and 2 (comment 7157755526). The card stays open for the quote and contract shells (waiting on a platform release carrying objectstack-ai/objectstack PR #35461) and for Sales Home and Account Workbench (their own PR).
Clause-②: no
Metadata-protocol: none
Metadata-impact: reviewer — three record pages deleted and one field group's collapse default changed; no permission set, sharing rule, object, field or data changes
Ruling-ref: 「2A+ 删甘特图」 — the maintainer in session session_017xRBcV3h25dAMNWki8e1ns, recorded on hotcrm#2740 comment 7157755526, 2026-11-25T09:00Z
Ruling-ref: 「挪到第 2 位」 — maintainer, hotcrm seat 2 session, 2026-11-26, recorded on #2740 comment 7179359067
维护者速读
What changes
The lead, case and project record pages are deleted. The three objects now open on the platform's default record page, like accounts and opportunities.
Also in this PR:
Not touched: the quote and contract shells, both print pages, Sales Home, Account Workbench, the opportunity page (#2720 on hold), the internal forms.
Tests
Per test file that named a deleted page:
test/lead-duplicate-visibility.test.tsduplicatesgroup iscollapse: 'expanded'and holds the verdict and both survivor links. The conversion half (warn on Suspected, refuse Confirmed, one live edge) is unchanged.test/record-page-default-2382.test.tstest/project-detail-page.test.ts→test/project-plan-gantt.test.tstest/forms-record-pages-2369.test.tstest/case-create-form-narrowing.test.tsis_sla_violatedkeepslist.columnsanddetail.detailstest/lead-status-path.test.tstest/person-name-order.test.tstest/lead-related-tab.test.tstest/action-references.test.tstest/detail-section-dedup.test.tstest/metadata-references.test.ts(found by the full run)test/docs-declared-versions.test.ts(found by the full run)docs/STATUS.mdnow states 6 pages, aspnpm validateprintsNothing is deleted outright. Every pin is re-aimed at what replaced the page.
Readings (final head bacb02c)
pnpm typecheck && pnpm validate && pnpm lint && pnpm hygieneand the 13 touched or affected files: lockVERDICT command-exit 0,Test Files 13 passed (13),Tests 235 passed (235),✓ Validation passed,✓ source hygiene clean.Test Files 2 failed | 336 passed (338),Tests 2 failed | 6477 passed | 58 skipped. The two failures weremetadata-references(vacuity pin) anddocs-declared-versions(STATUS figure). Both were fixed, and both files are green on the final head. The full suite was not rerun on the final head; CI runs it.pnpm build:✓ Build complete,UI: 6 Apps 32 Views 6 Pages.node scripts/check-docs-locale-parity.mjs --base 0682c4bf: "Every changed English docs file changed with its Chinese twins."ablation-replace.mjsswappedcollapse: 'expanded'back to'collapsed'onlead.object.ts(anchor 1→0, blob d77d82c4→766ba163). The new pin went red withexpected 'collapsed' to be 'expanded'. The restore was proved by blob == HEAD and an emptygit diff HEAD.Acceptance notes
fieldGroupsand is stillcollapse: 'expanded'. The lead form is not affected:lead.view.tslists its own sections, and the Edit dialog was measured to draw them in their authored order.lead_detail|case_detail|project_detailand the three export names): 82 lines in 42 files before, 21 lines in 4 files after. The 21 left are dated records, left as history:CHANGELOG.md(14, released notes);docs/architecture/psa-module-plan.md(a design doc, frozen at ship);docs/architecture/module-split-hard-edges.md(a dated measurement);docs/architecture/module-split-inventory.json(5, a snapshot ofa6be39a3).Test and e2e files naming a deleted page: 10 before, 0 after. Banner and Gantt ids (
lead_duplicate_alert_*,case_sla_breached,project_task_gantt): 21 lines before, 0 after.$maintenanceasks for afiles[]row to be removed when its file is deleted. Record page v3: retire the authored full pages of lead / account / opportunity / case in favour of the synthesized v3 page, and declare the quote and opportunity line items as body tables #2382 and Opportunity: drop the two approval banners; the native approval strip says who decides and offers Recall #2686 left the account and opportunity rows in place, and this PR follows that precedent rather than widening into that file. Carrier: whoever next edits the module split.FieldGroupSchema.collapseis the enumnone | expanded | collapsed, andexpandedmeans "collapsible, starts open" (ADR-0085). The console rendered the section witharia-expanded="true".Verification
Browser readings on
objectstack devat this head (18.6.0, port 4740, dev admin), en and zh-CN:record:alertand no "not found". Duplicate Management is expanded (aria-expanded="true") and reads Duplicate Of: Lead · Duplicate Of Lead: David Kim - EduTech Labs · Duplicate Status: Suspected. In zh-CN: 重复线索管理 · 重复于 · 重复的线索 · 重复状态 · 疑似重复. A clean lead shows no duplicates section.POST /api/v1/print/recordsfor a quote (quote_print_page) and a contract (contract_print_page) both answered 201 with a PDF attached (175 KB, 228 KB). Both records still open on their working page.Screenshots were taken locally. They are not attached, because the relay that writes this body cannot upload images.
Read first:
src/sales/objects/lead.object.ts: the one behaviour change (duplicatesgroup).test/lead-duplicate-visibility.test.ts: the banner pins replaced, the conversion pins kept.src/psa/index.tsandsrc/service/index.ts: the page registrations removed.Two-minute check:
pnpm buildprints6 Pages. Thenpnpm dev, open any lead marked Suspected: Duplicate Management is the second section, open, and shows the status without scrolling. There is no banner under the header.Generated by Claude Code