docs: remove deprecated integration checklists and documentation files

This commit is contained in:
2025-10-05 10:31:50 -04:00
parent 8c5394ed64
commit c0ebfcf5b9
30 changed files with 3976 additions and 259 deletions
+1
View File
@@ -176,6 +176,7 @@ export class GraphRuntimeAdapter {
const lines = content.split('\n');
return {
noteId: note?.id || note?.path || note?.filePath || note?.name || '',
filePath: note?.filePath || note?.path || '',
fileName: note?.name || '',
fileNameWithExt: note?.name || '',
+22 -7
View File
@@ -54,24 +54,39 @@ describe('GraphSelectors', () => {
expect(result.nodes[0].id).toBe('1');
});
it('should filter by tags only', () => {
it('should include synthetic tag nodes when enabled', () => {
const rawData = signal(createTestData());
const config = signal({ ...DEFAULT_GRAPH_CONFIG, showTags: true });
const filtered = createFilteredGraphData(rawData, config);
const result = filtered();
expect(result.nodes.length).toBe(3); // nodes 1, 2, 5 have tags
expect(result.nodes.every(n => n.tags.length > 0)).toBe(true);
const tagNodes = result.nodes.filter(n => n.id.startsWith('tag:'));
expect(result.nodes.length).toBe(7); // original 5 nodes + 2 tag nodes
expect(tagNodes.length).toBe(2);
expect(tagNodes.map(n => n.title)).toContain('#markdown');
expect(tagNodes.map(n => n.title)).toContain('#test');
});
it('should filter by attachments', () => {
it('should add attachment nodes when contents are provided', () => {
const rawData = signal(createTestData());
const config = signal({ ...DEFAULT_GRAPH_CONFIG, showAttachments: true });
const filtered = createFilteredGraphData(rawData, config);
const noteContents = signal(new Map<string, string>([
['1', ''],
['2', ''],
['3', 'Check out ![[diagram.png]] in this note.'],
['4', ''],
['5', '']
]));
const filtered = createFilteredGraphData(rawData, config, noteContents);
const result = filtered();
expect(result.nodes.length).toBe(1);
expect(result.nodes[0].id).toBe('3');
const attachmentNodes = result.nodes.filter(n => n.id.startsWith('att:'));
expect(attachmentNodes.length).toBe(1);
expect(attachmentNodes[0].id).toBe('att:diagram.png');
expect(result.links.some(link =>
(link.source === '3' && link.target === 'att:diagram.png') ||
(link.target === '3' && link.source === 'att:diagram.png')
)).toBe(true);
});
it('should filter by existing files only', () => {