Repository navigation
fix(knowledge-os): folder nodes, chat scope, graph refresh and silent failures in the search modal - #118
Open
iLevyTate wants to merge 1 commit into
Open
fix(knowledge-os): folder nodes, chat scope, graph refresh and silent failures in the search modal#118iLevyTate wants to merge 1 commit into
iLevyTate wants to merge 1 commit into
Conversation
… failures in the search modal Search and Chat: preview details no longer linger under a new selection, Add to scope chunks past 1000 files, Ask AI is limited to visible results, reopening starts a clean conversation, a refused send keeps the input, Ctrl+1..5 works from text fields, and conversation switching keeps the last click. Graph and Atlas: folder nodes resolve the smart folder path instead of sending its name, the vector DB status listener uses electronAPI, the delayed cluster refresh no longer overwrites user changes, knowledge edges survive redraws, metadata and tag calls are chunked to their schema limits, regrouped groups no longer parse to NaN ids, and failed rename, move, open and reveal calls are reported.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
An audit of the Knowledge OS modal (Search, Chat, Relate graph, Atlas) for controls that were mis-wired or failed silently. Each item below was confirmed in the code before it was fixed.
Search and Chat
Relate graph and Atlas
window.api, which does not exist; it now useswindow.electronAPI.getFileMetadatacalls (limit 100 ids); tagging chunksaddTags(limit 1,000) and reports "Tagged X of Y" on partial failure, in the graph and in Atlas.NaNcluster id: expand and triage use the node's own members, and renaming one is session-only and says so.fileName.{ success: false }is no longer swallowed for cluster rename (label reverts), triage moves (failed files stay listed, dialog stays open) and the context-menu Open File / Reveal in Folder items.docs/FEATURES_GRAPH.mdcorrected to match the actual context menu, double-click, Focus and "Find similar" behaviour.Scope
useGraphTab.jsandUnifiedSearchModal.jsxare large shared files)Type of Change
Test Plan
Automated
npm run format:check(ran prettier on the changed files only)npm run lint(ran eslint on the changed files only)npm test(rantest/components,test/renderer/components/searchandtest/searchUtils.test.js: 114 suites, 1146 tests pass; full run left to CI)Also ran:
typecheck:js,verify:checkjs-ratchet(494/494),knip:files.Manual QA
docs/TESTING.md)Manual QA notes:
Checklist
Known limitations and follow-ups:
freshMetadataeffect, expand/triage on regrouped groups, the find-duplicates guard and the Atlas tag path have no component-level test.