Five receipts, four feedback items
HTML for this example
Select the code and use your copy shortcut. Changes in this preview are temporary.
<!doctype html>
<html lang="en-US"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Five receipts, four feedback items</title><style>
:root{color-scheme:light;--accent:#5a517e;--wash:#efedf9;--ink:#202d3b;--paper:#fffdf9}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#eeeae2;font:17px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif}main{max-width:980px;margin:auto;padding:28px 24px 40px}header{border-top:6px solid var(--accent);padding:20px 0 24px}.kicker{color:var(--accent);font-weight:750;letter-spacing:.06em;margin:0 0 8px}h1{font:700 clamp(30px,5vw,46px)/1.15 Georgia,serif;margin:0 0 14px;max-width:780px}h2{font-size:23px;line-height:1.3;margin:0 0 14px}h3{font-size:19px;margin:12px 0 8px}p{margin:0 0 16px}button,input,textarea,select{font:inherit}button{background:white;border:1px solid #87949b;color:var(--ink);border-radius:8px;padding:11px 16px;min-height:48px;cursor:pointer;font-weight:650}button:hover{background:var(--wash)}button[aria-pressed=true],button.primary{background:var(--accent);color:white;border-color:var(--accent)}:focus-visible{outline:3px solid #b45a1e;outline-offset:3px}label{display:block;font-weight:650;margin:14px 0 6px}input:not([type=checkbox]):not([type=radio]),textarea,select{display:block;width:100%;min-width:0;max-width:100%;border:1px solid #80909b;border-radius:7px;padding:11px;background:white;color:var(--ink)}input[type=checkbox],input[type=radio]{width:21px;height:21px;accent-color:var(--accent)}textarea{resize:vertical}.panel{background:var(--paper);border:1px solid #ccd2d1;border-radius:12px;padding:24px;margin-bottom:20px}.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.two>.panel{margin:0}.two{margin-bottom:20px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.result{padding:18px;background:var(--wash);border-left:5px solid var(--accent);margin-top:18px;white-space:pre-line;overflow-wrap:anywhere}.note{color:#465565;font-size:16px}.strip{padding:18px;background:var(--wash);border-radius:8px;margin-bottom:18px}table{border-collapse:collapse;width:100%;font-size:16px;table-layout:fixed}th,td{text-align:left;padding:10px 8px;border-bottom:1px solid #cbd0d1;overflow-wrap:anywhere;vertical-align:top}th{background:var(--wash)}ol,ul{padding-left:24px}li+li{margin-top:8px}pre{font-size:16px;white-space:pre-wrap;overflow-wrap:anywhere}code{font-size:16px}.grid{display:grid;gap:5px;max-width:440px}.grid button{padding:5px;min-width:0}.grid input{padding:5px!important;text-align:center;font-weight:750}blockquote{font:500 26px/1.5 Georgia,serif;margin:16px 0}footer{font-size:16px;color:#465565;margin-top:22px}[hidden]{display:none!important}svg{display:block;max-width:100%;height:auto}mark{background:#e0efad;color:var(--ink)}@media(max-width:560px){main{padding:18px 12px 28px}.panel{padding:20px 16px}.two{grid-template-columns:minmax(0,1fr)}h1{font-size:32px}.actions button{flex:1 1 135px}th,td{padding:8px 5px}.grid button{min-height:40px}blockquote{font-size:24px}}
</style></head><body><main><header><p class="kicker">FEEDBACK DESK · PROVENANCE BEFORE TOTALS</p><h1>Five receipts, four feedback items</h1><p>Original fictional editor feedback. Supplied item links and theme mappings are explicit; people and real-world collection are unknown.</p></header><div class="actions"><button type="button" id="all">All items</button><button type="button" id="Labels">Labels</button><button type="button" id="Status">Status</button><button type="button" id="Unclassified">Unclassified</button><button type="button" id="conflict">Load E2 mapping conflict</button><button type="button" id="reset">Restore approved sample</button></div><section class="panel"><h2>Reconciled counts</h2><div id="summary" class="result" role="status" aria-live="polite"></div></section><section class="panel"><h2>Contributing records</h2><div id="filterState" class="result" role="status" aria-live="polite"></div><div id="items"></div></section><section class="panel"><h2>Source and action evidence</h2><div id="mapping" class="result" role="status" aria-live="polite"></div><p>A1 · Draft proposal: date-field label “Date”, linked F1/F2. Actual owner/approval blank; build/review unknown; follow-up sent not verified.</p><p id="rawReceipts">Raw receipts: E1→F1, E2→F1 forwarded E1, E3→F2, E4→F3, E5→F4. All five retained.</p></section><footer>Keep receipts, distinct feedback items, and overlapping themes separate when deciding what to investigate.</footer><noscript>JavaScript is required for the local controls. The accompanying article contains worked examples.</noscript></main><script>
(()=>{'use strict';const $=id=>document.getElementById(id);
const items=[{id:'F1',text:'Label the date field',themes:['Labels'],receipts:['E1','E2']},{id:'F2',text:'Show date example and draft status',themes:['Labels','Status'],receipts:['E3']},{id:'F3',text:'Save draft before leaving',themes:['Status'],receipts:['E4']},{id:'F4',text:'Text not supplied',themes:[],receipts:['E5']}];let filter='all',conflict=false;function render(){$('rawReceipts').textContent=conflict?'Raw receipts retained: E1 → F1 “Label the date field”; E2 → F1 “Make the status badge easier to read” (conflict); E3 → F2; E4 → F3; E5 → F4.':'Raw receipts: E1 → F1; E2 explicitly forwards E1 → F1 with “Label the date field”; E3 → F2; E4 → F3; E5 → F4. All five retained.';$('summary').textContent=conflict?'Raw receipts:5. CURRENT canonical/theme aggregates WITHHELD: E2/F1 mapping unresolved. HISTORICAL approved sample:4items,Labels2,Status2,union3,unclassified1.':'Raw receipts:5 / Canonical items:4 / Labels:2 / Status:2 / Theme memberships:4 / Themed union:3 / Unclassified:1 / People:unknown';$('mapping').textContent=conflict?'E2 still links F1 but says “Make the status badge easier to read.” Original F1 text: “Label the date field.” These supplied texts conflict; preserve both receipts and resolve the mapping before current aggregates.':'Approved fictional mapping: E2 explicitly forwardsE1 asF1. No identity inference.';$('items').replaceChildren();if(conflict){$('filterState').textContent='Current filtered aggregate unavailable while mapping is unresolved.';return;}const shown=items.filter(x=>filter==='all'||filter==='Unclassified'&&!x.themes.length||x.themes.includes(filter));const receipts=new Set(shown.flatMap(x=>x.receipts));$('filterState').textContent=filter+': '+shown.length+' distinct items; '+receipts.size+' related receipt events.';for(const x of shown){const p=document.createElement('p');p.className='strip';p.textContent=x.id+' · '+x.text+' / Themes: '+(x.themes.join(', ')||'UNCLASSIFIED')+' / Receipts: '+x.receipts.join(', ');$('items').append(p);}}['all','Labels','Status','Unclassified'].forEach(id=>$(id).addEventListener('click',()=>{filter=id;render();}));$('conflict').addEventListener('click',()=>{conflict=true;render();});$('reset').addEventListener('click',()=>{conflict=false;filter='all';render();});render();
})();
</script></body></html>