improvement: all confirmed suggestions implemented

This commit is contained in:
2026-09-04 17:04:48 +03:30
parent 7f92e735fb
commit 72f885d9dd
23 changed files with 1070 additions and 679 deletions

View File

@@ -41,25 +41,31 @@ const STACK_RULES = [
'restoration',
'One per tooth: crown, veneer, inlay, onlay, or overlay.',
],
['implant', 'One abutment add-on per tooth (Ti-base, custom, prefab, multi-unit, zirconia, screw-retained).'],
['post_core', 'One post & core, only if a restoration is already present. Blocked when screw-retained is on the tooth.'],
['implant', 'One implant type per tooth. Disabled when post & core is on the tooth.'],
[
'post_core',
'One post & core. Disabled when a restoration or implant is already on the tooth.',
],
[
'arch',
'Complete denture, overdenture, appliances, and digital use Upper/Lower arch labels (UA/LA). Not 16 FDI teeth.',
'Complete denture, overdenture, appliances, and digital use Upper/Lower/Both (UA/LA). The picker control remaps jobs (Both→Upper drops lower).',
],
[
'partial_denture',
'Tooth-selected (FDI), not the arch labels. All selected teeth become one lab job. May stack with implant add-ons.',
'Tooth-selected (FDI), not the arch labels. All selected teeth become one lab job.',
],
[
'screw_retained',
'Fills the implant slot (chart paints the crown) and stacks with a restoration. Blocks post & core.',
'Implant that paints the crown. No crown suggestion slot; Crown and Indirect are disabled. Does not stack with another restoration.',
],
[
'crown_suggestion',
'Implant or post & core (not screw-retained) shows a crown suggestion slot. A veneer/inlay/onlay/overlay hides it. After a crown is picked the slot stays filled so it can be changed.',
],
[
'connected',
'Connected teeth that share a type are one lab job. An extra type on one unit of the bridge is its own job. Unconnected teeth stay separate even if they share a type.',
],
['maximum', 'Usual maximum is 3 types per tooth (e.g. zirconia crown + Ti-base + fiber post).'],
['two_crowns', 'Two crowns cannot stack.'],
];
@@ -198,7 +204,6 @@ function buildWorkbook(): Buffer {
'label_nl',
'chartRegion',
'stackGroup',
'addonKind',
'active',
],
];
@@ -215,7 +220,6 @@ function buildWorkbook(): Buffer {
labels.nl ?? '',
type.chartRegion,
type.stackGroup,
type.addonKind ?? '',
type.isActive === false ? 'false' : 'true',
]);
}