Skip to content

Conversation

@nicholaspsmith
Copy link
Owner

Summary

Add console logging to help debug indexing issues:

  • Colored log utility with info/warn/error/event levels
  • Log all SSE events (connected, progress, start, complete, status)
  • Log API fetch requests with timing
  • Helps identify where things are hanging

Open browser dev tools (F12) → Console to see the logs.

Example output:

[lance-context] Dashboard initialized
[lance-context] Connecting to SSE...
[lance-context] SSE: connected
[lance-context] Fetching dashboard data...
[lance-context] API requests completed in 45ms
[lance-context] Status loaded {indexed: true, fileCount: 100, ...}
[lance-context] SSE: indexing:progress {phase: "embedding", current: 1000, total: 52016}

Test plan

  • Open dashboard and browser dev tools
  • Verify logs appear in console
  • Start indexing and verify progress events are logged

🤖 Generated with Claude Code

- Add colored log utility for info/warn/error/event
- Log SSE events (connected, progress, start, complete, status)
- Log API fetch requests with timing
- Helps debug indexing issues via browser dev tools

Co-Authored-By: Claude <noreply@anthropic.com>
@nicholaspsmith nicholaspsmith merged commit 1ad412b into main Jan 28, 2026
github-actions bot pushed a commit that referenced this pull request Jan 28, 2026
# [1.20.0](v1.19.0...v1.20.0) (2026-01-28)

### Features

* add browser console logging to dashboard ([#88](#88)) ([1ad412b](1ad412b))
@github-actions
Copy link

🎉 This PR is included in version 1.20.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants