Files
archon/archon-ui-main/package-lock.json
DIY Smart Code cadda22d22 feat: Document Browser with Domain Filtering (Updated Architecture) (#564)
* feat: Add DocumentBrowser with domain filtering (updated for latest architecture)

- Add DocumentBrowser component with two-column layout
- Add domain filtering and search functionality
- Add chunks API endpoint for browsing document content
- Add clickable page count badge to open browser
- Integrate with latest HTTP polling architecture
- Add service method for fetching chunks with domain filtering
- Compatible with new modular component structure

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: Apply CodeRabbit suggestions for domain filtering and API reliability

- Preserve subdomains in domain extraction (docs.anthropic.com vs anthropic.com)
- Add deterministic ordering to API queries for stable chunk lists
- Use case-insensitive domain filtering with ilike
- Add explicit Supabase error handling to prevent silent failures

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update document browser branch for main branch compatibility

- Add TanStack Query package dependencies
- Add getKnowledgeItemChunks service method for DocumentBrowser
- Add minimal feature components for build compatibility
- Ensure document browser functionality works with latest architecture
- Maintain clickable page count badges and document browsing modal

Document browser is now ready for use with modernized Archon codebase.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-06 13:27:17 +03:00

427 KiB