Summary
In Developer mode, the class detail panel has a "View in Source" link that scrolls to the class definition in the source editor. The property and individual detail panels lack this feature.
Current Behavior
- ClassDetailPanel: Has a "View in Source" action that triggers
setPendingScrollIri to scroll to the class IRI in the source editor
- PropertyDetailPanel: No "View in Source" link
- IndividualDetailPanel: No "View in Source" link
Desired Behavior
All three detail panels should offer a "View in Source" link in Developer mode that scrolls to the entity's IRI definition in the source editor.
Implementation Notes
- The
setPendingScrollIri mechanism already exists and works for any IRI in subject position
- The source IRI index (
sourceIriIndex) tracks all subjects, not just classes
- Need to pass
onViewInSource (or setPendingScrollIri) callback to PropertyDetailPanel and IndividualDetailPanel
- Only show the link in Developer mode (when the source editor is available)
🤖 Generated with Claude Code
Summary
In Developer mode, the class detail panel has a "View in Source" link that scrolls to the class definition in the source editor. The property and individual detail panels lack this feature.
Current Behavior
setPendingScrollIrito scroll to the class IRI in the source editorDesired Behavior
All three detail panels should offer a "View in Source" link in Developer mode that scrolls to the entity's IRI definition in the source editor.
Implementation Notes
setPendingScrollIrimechanism already exists and works for any IRI in subject positionsourceIriIndex) tracks all subjects, not just classesonViewInSource(orsetPendingScrollIri) callback to PropertyDetailPanel and IndividualDetailPanel🤖 Generated with Claude Code