lukaszlenart opened a new pull request, #101:
URL: https://github.com/apache/struts-intellij-plugin/pull/101

   ## Summary
   
   - Register a debounced `DomEventListener` in `Struts2DiagramFileEditor` that 
rebuilds the diagram when the same `struts.xml` file changes while the Diagram 
tab is active
   - Refresh immediately on tab activation (`selectNotify`) so edits made on 
the Text tab are reflected without reopening the file
   - Filter DOM events to the editor's file only; skip UI updates when the tab 
is inactive
   
   Closes #97
   
   ## Test plan
   
   - [x] `./gradlew test -x rat` — full suite passes
   - [x] `Struts2DiagramFileEditorDomFilterTest` — same-file / cross-file / 
null filtering
   - [x] `Struts2DiagramFileEditorProviderTest` — lifecycle 
(`selectNotify`/`deselectNotify`, `reset`)
   - [ ] Manual: `./gradlew runIde` — edit on Text tab, switch to Diagram; edit 
while on Diagram tab (300 ms debounce)
   
   
   Made with [Cursor](https://cursor.com)


-- 
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]

Reply via email to