Files
compiler-explorer/views
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-04-24 12:10:37 -05:00
2025-04-24 12:10:37 -05:00
2025-05-21 13:53:05 -05:00
2019-09-06 19:39:31 -04:00
2019-07-14 00:09:34 +02:00
2025-04-24 12:10:37 -05:00
2025-04-24 12:10:37 -05:00
2022-11-13 10:35:39 -06:00