Skip to content

feat: add topic deletion, rename, and browsing - #109

Merged
RobertLD merged 1 commit into
mainfrom
feat/issue-90-topic-mgmt
Mar 1, 2026
Merged

RobertLD merged 1 commit into
mainfrom
feat/issue-90-topic-mgmt

Conversation

@RobertLD

@RobertLD RobertLD commented Mar 1, 2026

Copy link
Copy Markdown
Owner

Closes #90

Adds four new functions to src/core/topics.ts:

  • deleteTopic(db, topicId, options?) - Delete a topic, optionally removing associated documents
  • renameTopic(db, topicId, newName) - Rename a topic
  • getDocumentsByTopic(db, topicId, options?) - Browse documents by topic with pagination
  • getTopicStats(db) - Get all topics with document counts

All functions are exported from src/core/index.ts and include 14 new tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@RobertLD
RobertLD merged commit 6ce28b2 into main Mar 1, 2026
7 checks passed
@RobertLD
RobertLD deleted the feat/issue-90-topic-mgmt branch March 1, 2026 03:46
This was referenced Mar 1, 2026
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.

feat: add topic-document browsing and topic deletion

1 participant