Files
compiler-explorer/lib/tooling
Matt GodboltandClaude 02ffbe5778 Fix Claude Explain view initialization and event handling
- Fix template structure to match framework expectations (no wrapper div)
- Use standard toolOpened/toolClosed events instead of custom ones
- This fixes automatic compilation trigger on view creation
- This enables proper singleton tracking (mostly)
- Add getCurrentState with toolId and selection for tool compatibility
- Remove unused explainViewOpened/Closed from event map

The view now properly integrates with the existing tool infrastructure,
triggering compilation when opened and preventing duplicate instances.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-22 15:12:14 -05:00
..
2025-03-14 16:59:27 +01:00
2025-03-14 17:32:53 +01:00
2025-03-27 12:59:10 -05:00