fix: remove standalone kind changes section (info is in breaking/compatible sections)
Author: Aaron Steven White
Commit
53316903267dde5cbd4f5e9e97eccc7665a2502eParent: eebe64b41c
Structural diff unavailable
These commits were pushed via plain git push, so no pre-parsed
schemas are available. Install git-remote-cospan and re-push via panproto:// to
see scope-level changes, breaking change detection, and semantic diffs.
brew install panproto/tap/git-remote-cospan1 file changed +2 -41
@@ -346,47 +346,8 @@
346346 {@const removedGroups = groupVertices(sd.removedVertices, file.path)} 347347 {@const addedGroups = groupVertices(sd.addedVertices, file.path)} 348348 <div class="mb-3 space-y-2"> 349- <!-- Kind changes: only show changes to named program elements. 350- Internal AST reshuffling is filtered out. --> 351- {#if sd.kindChanges.filter(kc => { 352- const name = shortVertex(kc.vertexId); 353- if (name.startsWith('$') || name.includes('/')) return false; 354- if (kc.oldKind.includes('_') && kc.newKind.includes('_')) return false; 355- return true; 356- }).length > 0} 357- {@const meaningfulKindChanges = sd.kindChanges.filter(kc => { 358- const name = shortVertex(kc.vertexId); 359- if (name.startsWith('$') || name.includes('/')) return false; 360- if (kc.oldKind.includes('_') && kc.newKind.includes('_')) return false; 361- return true; 362- })} 363- {@const kindByScope = groupKindChanges(meaningfulKindChanges)} 364- <details class="mb-2 rounded-md border border-amber-500/20"> 365- <summary class="cursor-pointer px-3 py-2 text-xs font-semibold uppercase tracking-wider text-amber-400 hover:bg-amber-500/5"> 366- ◆ Type changes ({meaningfulKindChanges.length}) 367- </summary> 368- <div class="space-y-0.5 px-2 pb-2"> 369- {#each kindByScope as group (group.scope)} 370- <details class="rounded-md bg-amber-500/5"> 371- <summary class="flex cursor-pointer items-center gap-2 px-2 py-1.5 text-sm hover:bg-surface-2"> 372- <span class="text-amber-400">◆</span> 373- <span class="font-medium text-text-primary">{group.scope}</span> 374- <span class="text-xs text-text-muted">{group.changes.length} {group.changes.length === 1 ? 'change' : 'changes'}</span> 375- </summary> 376- <div class="border-t border-border/30 px-3 py-1.5 space-y-0.5"> 377- {#each group.changes as kc (kc.vertexId)} 378- <div class="flex items-center gap-2 text-[12px]"> 379- <code class="rounded bg-red-500/10 px-1.5 py-0.5 text-red-400">{kc.oldKind}</code> 380- <span class="text-text-muted">→</span> 381- <code class="rounded bg-emerald-500/10 px-1.5 py-0.5 text-emerald-400">{kc.newKind}</code> 382- </div> 383- {/each} 384- </div> 385- </details> 386- {/each} 387- </div> 388- </details> 389- {/if} 349+ <!-- Kind changes are surfaced via the breaking/compatible 350+ change classifications above. No standalone section needed. --> 390351 391352 <!-- Show each scope that had changes --> 392353 <!-- Scope tree - each element is clickable to show its details -->