docs(lead-page): re-state the duplicate-banner comments for the 17.6.0 pin - #1989
Merged
objectstack-fleet[bot] merged 1 commit intoOct 2, 2026
Merged
Conversation
…0 pin Re-verified in a browser on @objectstack/console 17.6.0: a lead with no duplicate verdict shows neither record:alert banner, and a suspected or confirmed lead shows only its own. The banner predicates are unchanged. Two comment statements had stopped being true on 17.6.0 and are corrected: - A node-level `visibleWhen` does see the row: SchemaRenderer binds it as `record`. Measured by moving the suspected predicate there, where it gated correctly in both directions. - The page-component copy keys no longer include `submitLabel`. Comments only; empty-frontmatter changeset. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ER8ntXZhYebyQ66aXWdjfT
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1887
What this is
This is a verification card. I re-measured the lead record page's two duplicate banners in a real browser on the 17.6.0 pin, which now ships the platform change behind R61's root cause (objectui#9100, landed as objectui PR 9104) inside
@objectstack/console@17.6.0. The banners behave correctly. Two statements in the banner comments had stopped being true on 17.6.0, and this PR corrects them. Comments only. No predicate, copy or metadata changes.Measurement 1: banners per lead shape
Setup: a fresh boot of
origin/main572aa44f(@objectstack/*17.6.0, sqlite, port 4887), viewed in Chromium through Playwright.duplicate_statushas is not a functionnullnullnullsuspectedover REST as adminsuspectedrole=status/ politeconfirmedover REST as adminconfirmedrole=alert/ assertiveGET /api/v1/meta/pagecarried both{"dialect":"cel", …}envelopes verbatim.GET /api/v1/usage/storage) and two console-registry warnings (view:calendar/view:timelinebare-name fallback).duplicate_status: null(present and null) through the data API.Platform containment, re-measured independently
@objectstack/console@17.6.0dist/.objectui-shais31971ff1e28f89cfc45f0c19bc5b05e443f28b79.merge-base --is-ancestor 689953ae9a 31971ff1e2exits 0.9947e9afexits 0.maintip059bf1b5, a descendant of the pin, exits 1.What changed, and why
src/sales/pages/lead_detail.page.ts, node-levelvisibleWhen. The comment said a node-levelvisibleWhen"is evaluated bySchemaRendererondata= the data-source ADAPTER, not the row — it cannot seeduplicate_statusat all". That is false on 17.6.0.properties.visibleto a node-levelvisibleWhen. That removed the renderer's own gate, and I confirmed the mutation was indist/objectstack.jsonbefore booting.SchemaRendererbinds the page's row asrecord(objectui#5454).git checkout HEAD. Proven by blob equality (e896e107) and an emptygit diff HEAD, and the clean artifact was rebuilt.submitLabel.PAGE_COMPONENT_COPY_KEYSfrom@objectstack/spec/systemreads["title","description","label","placeholder","emptyText"]. That is the listcli/dist/utils/i18n-extract.jsimports.submitLabelis retired (spec migrationtranslation-component-submit-label-removed).bodyhas no translation channel.Every other factual claim in the banner comment block and in the pin's docstrings re-checked true on 17.6.0, against the shipped console bundle, the objectui source at the pin, or the runtime. The card's report has the claim-by-claim list.
Verification
pnpm verifyonf2610da8, under the shared lock:os-verify-lock: VERDICT command-exit 0. 174 test files; 3706 tests passed and 1 skipped. The source token ratchet is clean (comment-only edit, no ceiling touched).test/lead-duplicate-visibility.test.tson its own, on572aa44fat 17.6.0: 38 of 38 passed.Acceptance notes (observed, not filed)
test/lead-duplicate-visibility.test.tsline 14 citessrc/objects/lead.hook.ts, which now lives atsrc/sales/objects/lead.hook.ts.lead_detail.page.tslines 84–85 citesrc/actions/…. Those lines sit outside the banner block.e21/e25wording, not edited. The comment says the conversion flow'se21/e25edges readhas(vars.leadRecord.duplicate_status) && … == "suspected". That is loose fore25, which compares== "confirmed". This paraphrases repo source and is not a 17.6.0 claim.os dev --database-driver memoryboots, but the data API answers503 SERVICE_UNAVAILABLEbecause the package registry can't be read onInMemoryDriver. I measured the shape at the driver instead:driver-memoryomits an unwrittenduplicate_status, and sqlite returns it present and null.record-alert.tsxheader at the pin still says a node-levelvisibleWhenis evaluated "notablydata= the data-source ADAPTER, not the row". That contradicts its ownSchemaRenderer(objectui#5454, objectui#9308).src/salesinteraction-layer ceiling to ~30,000. That is outside this card.lead_detail.page.tsand is serialised behind this card.Generated by Claude Code