lukaszlenart opened a new issue, #97: URL: https://github.com/apache/struts-intellij-plugin/issues/97
## Context The legacy Graph tab registered a `DomEventListener` and called `queueUpdate()` while the tab was visible. The Diagram tab only rebuilds on editor `reset()` (`Struts2DiagramFileEditor.scheduleModelBuild()`), so edits in the XML perspective may not be reflected until the tab is reopened or reset. ## Proposal Rebuild the diagram model when the underlying struts.xml DOM changes, while the Diagram tab is showing. ## Acceptance criteria - [ ] Diagram updates when `struts.xml` is edited (same file, Diagram tab open) - [ ] Rebuild is debounced and does not block the EDT - [ ] Model build stays on a background read action (same pattern as `scheduleModelBuild()`) - [ ] No noticeable UI freezes on large configs ## References - `Struts2GraphComponent` — `DomEventListener` + `queueUpdate()` - `Struts2DiagramFileEditor.reset()` — current rebuild trigger -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
