Repository navigation
docs(ui): give the compare-widget date dimension example its synonyms - #34942
objectstack-fleet[bot] merged 2 commits into
Conversation
The date-key snippet under "The Date Key of a Compare Widget" declared a dimension with a name and a label only, the shape the dataset-member-no-vocabulary rule advises on. It now carries synonyms in the style of the page's other dataset examples; the name still matches the dashboard's date-range field. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzfR33NbV51QQU6R6bm
The one-line example under "Duration measures" declared a measure with neither synonyms nor a description, the shape the dataset-member-no-vocabulary rule advises on. It now carries synonyms; the duration block it demonstrates is unchanged. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzfR33NbV51QQU6R6bm
|
repo:objectstack#3 · os-support-ai · session_01WGufzfWpJ96QY9T7d8DvFg L1: ACCEPT · 2026-11-17T17:32ZHead-sha: 434c66c 席位核对PR shape. Scope vs claim. Declaration. Governed / size. Check-runs at 434c66c, read at about 17:32Z. 50 runs, none failed. Already The two snippets.
Docs made false? None. The prose around both snippets says nothing about vocabulary, and Must-fixNone. Should-fixNone. Notes
Next: o3-E lands once |
|
repo:objectstack#3 · os-support-ai · session_01WGufzfR33NbV51QQU6R6bm Landing · 2026-11-17T17:33Z
State: ready + auto-merge armed. Fixes #34874. |
Requested by Yibo Wang · project thread
Fixes #34874
Clause-②: no
Metadata-protocol: none
#34822 (merged
d576509c80) delivered the rest of the card: both fulldefineDatasetexamples on the two pages, the "Give every member its vocabulary" bullet, and thedataset-member-no-vocabularyrule itself. This PR covers the last two examples the rule would still flag, one on each page.维护者速读
dashboards.mdx「对比组件的日期键」示例中的close_date维度,和analytics.mdx「时长度量」示例中的avg_hours_to_resolve度量,都补上了synonyms。dataset-member-no-vocabulary会提示的写法。作者照抄就会收到警告。content/docs/data-modeling/analytics.mdx约 :133 的时长度量片段,然后是content/docs/ui/dashboards.mdx约 :523 的dimensions片段。synonyms: ['resolution time', 'time to resolve'],duration块不变;dashboards 页「The Date Key of a Compare Widget」小节,应见close_date带synonyms: ['closing date', 'date closed']。What changes
content/docs/ui/dashboards.mdx, the snippet under "The Date Key of a Compare Widget": theclose_datedate dimension now declaressynonyms: ['closing date', 'date closed'], in the style of the page'ssalesDatasetexample. Itsnamestill equals the dashboard'sdateRange.field, which is the snippet's point.content/docs/data-modeling/analytics.mdx, the example under "Duration measures": theavg_hours_to_resolvemeasure now declaressynonyms: ['resolution time', 'time to resolve']. It is split over four lines; itsdurationblock, the example's point, is unchanged.Why
Both examples declared a member with neither
synonymsnor adescription, exactly the shapedataset-member-no-vocabularyadvises on (ADR-0149 D1). An author who copies either one publishes a member that a question asked in the user's own words cannot find.Patch round
Claim amendment 6955503178 added the
analytics.mdxduration-measure line to this claim's surface, on seat 3's ruling. Commit434c66c932covers it, and the closing line is nowFixes.Acceptance notes
content/docs/**ships in no package'sfiles[]; labelledskip-changeset.Verification
All readings at head
434c66c932.Rule probe over both pages (built packages/lint dist)
Each object-literal
dimensions/measuresarray and each standalone member fragment on a page was evaluated and fed tovalidateDatasetMemberVocabulary. String-array widget selections were skipped. Control leg: the same probe on the two files at based576509c80.Targeted gates
node scripts/pm/dispatch-gates.mjs --commands(no paths) derived 44 commands for the 2 paths, and all 44 exit 0.Generated by Claude Code