Repository navigation
feat(topics): a Topics page, a recording's topics, and topics on the graph canvas - #128
Merged
Merged
Conversation
…graph canvas The Topics page shows a namespace's vocabulary as a tree with search and a drawer to edit, merge and delete topics. A recording's Entities tab lists its topics; Term entities can become topics from their drawer; topics show on the graph canvas as tags with About, Narrower and Related edges. TERM entities are labelled Terms. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012Jo1JNziunMs8MgWJSGyyM
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012Jo1JNziunMs8MgWJSGyyM
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.
Before: topics existed only through the API (#126). Nothing in the web app showed them, and TERM entities were listed as "Topics" on a recording.
After: Topics in the navigation shows a namespace's vocabulary as a tree of broader and narrower topics, with search. A drawer lets you edit a topic's labels, definition, broader and related topics, see its narrower topics and its recordings, and merge or delete it. A recording's Entities tab starts with its topics, where editors add, remove, accept or dismiss them. A Term entity has Make a topic in its drawer. On the graph canvas, topics are green tags with About, Narrower and Related edges. TERM entities are now shown as Terms.
How: there are new
components/topics/files (a pure tree/search model with jest tests, a picker, the drawer, the page and recording topics), plus the/topicsand/topics/[id]routes. The graph model, shapes and filters gain the topic kind and its edges. The only backend change is the TERM label ("Term") and the entity-type help text.Checked in a browser against a seeded server: added a topic and one under it, opened the drawer, added a topic to a recording, and asked the graph
MATCH (t:Topic) RETURN t. jest passes 675/675. The full backend suite was run locally.🤖 Generated with Claude Code
https://claude.ai/code/session_012Jo1JNziunMs8MgWJSGyyM
Generated by Claude Code