Skip to content

Try page: the knowledge base says what each file holds, on mouse-over - #26

Merged
ddehilster merged 1 commit into
mainfrom
try/kb-descriptions
Sep 18, 2026
Merged

ddehilster merged 1 commit into
mainfrom
try/kb-descriptions

Conversation

@ddehilster

Copy link
Copy Markdown
Member

#25 added per-file descriptions to <nlp-knowledge-base> (analyzer-views 0.6.0) and filled them on the editor page. The try page builds its own list and only passed paths and sizes, so it would have shown the new shorter names but no descriptions.

This fills description from each file's text with kbDescription(), keeping the sizes, and lists only shownInKnowledgeBase() files as the editor page now does.

Of the ten .dict/.kbb files shipped, seven have a header comment and show it; dates-and-times/vocab.dict and ambiguity/ambigs.dict, ambigs.kbb have none.

🤖 Generated with Claude Code

#25 gave <nlp-knowledge-base> a description per file -- the comment at the
top of the .dict or .kbb, read by kbDescription() as the extension reads it
-- and filled it on the editor page. The try page draws its own list and
was left passing paths and sizes only, so after a rebuild it would have had
the shorter kb/user/-less names but no descriptions.

It now fills them from each file's text, which it already holds, and keeps
the sizes. Seven of the ten .dict and .kbb files shipped have a comment to
show; vocab.dict in Dates and Times and both ambigs files in Ambiguity have
none, and show none.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@ddehilster
ddehilster merged commit 133e51d into main Sep 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant