jomarko opened a new pull request, #3371:
URL: https://github.com/apache/incubator-kie-tools/pull/3371

   Closes: https://github.com/apache/incubator-kie-issues/issues/2145
   
   This PR builds on the original solution: 
https://github.com/apache/incubator-kie-tools/pull/3312
   
   Improvements in this PR:
   - Addresses the performance issue in the original solution. Opening an asset 
in a large project that is a Git repository should no longer cause the "forever 
loading" initialization icon.
   - In VSCode, the search now prioritizes Git-tracked files. If a Git-tracked 
file is found in `/global/*` or in the same location as the currently opened 
BPMN file, the search stops and non-tracked files are ignored.
   
   Scenarios tested locally:
   - `a.wid` and `a.bpmn` in project root → wid is loaded.
   - `a.wid` in `/global/` and `a.bpmn` anywhere → wid is loaded.
   - Both files in the same subfolder → wid is loaded.
   - Files in different subfolders → wid is **not** loaded.
   - Online editor: clone Git repository (due to changes in 
`getFilteredWorkspaceFileDescriptors`).
   - Online editor: push to Git repository (due to changes in 
`getFilteredWorkspaceFileDescriptors`).


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to