Manual Test: Graph Tags in Tauri App
Test Objective
Verify that graph tags are clickable and functional in the Tauri app after fixing parameter naming issues.
Prerequisites
- Tauri app running on http://localhost:5173
- Terraphim Engineer role configured with knowledge graph
- Some documents with graph tags available
Test Steps
1. Start Tauri App
2. Navigate to App
- Open browser to http://localhost:5173
- Wait for app to load completely
3. Test Graph Tags in Search Results
- Enter a search term that should return results with graph tags (e.g., "service haystack")
- Look for graph tags in search results (they appear as clickable links)
- Click on a graph tag
- Expected Result: Should open a modal with knowledge graph document details
- Check browser console for any error messages
4. Test KG Links in Document Content
- Open a document that contains KG links in the content
- Look for KG links (they appear as
[term](kg:term)format) - Click on a KG link
- Expected Result: Should open a modal with knowledge graph document details
- Check browser console for any error messages
5. Test Role Switching
- Switch between different roles using the theme switcher
- Expected Result: Role switching should work without errors
- Check browser console for any error messages
Expected Console Output (Success)
π Clicking on graph tag: "haystack"
Tauri params: { role_name: "Terraphim Engineer", term: "haystack" }
π₯ Tauri response received:
Status: success
Results count: 1
Total: 1
β
Found KG document:
Title: Haystack Service
Rank: 117
Body length: 2048 charactersError Indicators (If Still Broken)
β Error fetching KG document:
Error type: String
Error message: "invalid args `roleName` for command `find_documents_for_kg_term`"Success Criteria
- β Graph tags are clickable in search results
- β KG links are clickable in document content
- β Clicking opens modal with document details
- β No console errors related to parameter naming
- β Role switching works without errors
Notes
- The fix involved changing
roleNametorole_namein all Tauri command calls - Multiple commands were affected:
find_documents_for_kg_term,publish_thesaurus,select_role,get_rolegraph - Dependency issues in
terraphim_onepassword_cliwere also resolved