MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / look

Function look

graph-ui/tools/handtest-fixes-galaxy.mjs:999–1009  ·  view source on GitHub ↗
(label, caption)

Source from the content-addressed store, hash-verified

997 const wanted = ['permissions', 'new_contributor_pr.yml', '.github/workflows/new_contributor_pr.yml', 'jobs'];
998 const views = [];
999 const look = async (label, caption) => {
1000 const measured = await miniLabels(page);
1001 views.push({ label, ...measured });
1002 await shot(page, 'K12', label, `${caption}: ${measured.labels.length} labels, ${measured.overlaps.length} overlapping pairs`);
1003 const panel = await page.locator('.atlas-galaxy').first().boundingBox();
1004 if (panel) {
1005 const file = `${label}-mini.png`;
1006 await page.screenshot({ path: join(OUT, 'K12', file), clip: panel });
1007 await appendFile(join(OUT, 'K12', 'index.md'), `- \`${file}\`: the mini-Galaxy alone (${Math.round(panel.width)} x ${Math.round(panel.height)} px)\n`);
1008 }
1009 };
1010 await look('chat-closed', 'Chat closed, the YAML file open');
1011 await page.getByRole('button', { name: 'Open chat' }).first().click().catch(() => {});
1012 await wait(2500);

Callers 1

checkK12Function · 0.85

Calls 3

miniLabelsFunction · 0.85
shotFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected