fix(lit-components): fix rendering and interaction issues in force-graph, html-table, and draggable-dom
Build and Deploy / build-and-deploy (push) Has been cancelled

- lit-force-graph: Refactored for instance reuse, better lifecycle management, and added dynamic imports for AR/VR modes.
- lit-html-table: Improved visual design, readability of headers, and fixed reactivity in editable mode.
- lit-draggable-dom: Fixed clipping issues by switching to relative/absolute positioning and resolved a panning speed bug caused by CSS variable inheritance.
This commit is contained in:
2026-05-17 00:41:14 -07:00
parent bbdbeb9788
commit b9e42c3ef4
253 changed files with 2555 additions and 4471 deletions
+44
View File
@@ -0,0 +1,44 @@
import fs from 'fs';
import { dirname, resolve } from 'path';
const logPath = '/Users/rodydavis/.gemini/antigravity/brain/20700412-712a-4368-aa77-83fa63f6db89/.system_generated/logs/overview.txt';
if (!fs.existsSync(logPath)) {
console.error("Log file not found:", logPath);
process.exit(1);
}
const content = fs.readFileSync(logPath, 'utf8');
const lines = content.split('\n');
// Track the latest code content for each target file
const filesMap = new Map();
for (const line of lines) {
if (!line.trim()) continue;
try {
const data = JSON.parse(line);
if (!data.tool_calls) continue;
for (const call of data.tool_calls) {
if (call.name === 'write_to_file') {
const { TargetFile, CodeContent } = call.args;
if (TargetFile && TargetFile.includes('tests/')) {
const absolutePath = resolve(TargetFile);
filesMap.set(absolutePath, CodeContent);
}
}
}
} catch (e) {
// Ignore parsing errors
}
}
let restoredCount = 0;
for (const [absolutePath, codeContent] of filesMap.entries()) {
const dir = dirname(absolutePath);
fs.mkdirSync(dir, { recursive: true });
fs.writeFileSync(absolutePath, codeContent, 'utf8');
console.log(`Restored: ${absolutePath}`);
restoredCount++;
}
console.log(`Successfully restored ${restoredCount} test support files.`);