Repository navigation
Working Set Performance Improvements - #9493
JeffryBooher wants to merge 13 commits into
Conversation
|
@redmunds fixed failing unit test. This was also pointing to opening a project and the focus looked like it was in the editor but it really wasn't. |
|
Ready for review. |
There was a problem hiding this comment.
$("#working-set-list-container") is already stored in $workingFilesContainer, so no need for another lookup.
|
Done with code review. Behavior feels solid. All tests pass. Just a few comments. |
|
@redmunds ready for another review |
There was a problem hiding this comment.
Nit: There is a @ instead of *.
There was a problem hiding this comment.
This call to _edit() ignores the original options object that was passed in. These settings should instead be set on the original options object so that any other settings get passed through. Even if these are currently the only 2 possible options, some new ones might be added some day.
|
Done with review. A few more comments. |
|
@redmunds @TomMalbran thanks for the review! Let me know if it needs any further work before merging |
|
@JeffryBooher I just noticed a weird dragging case:
Results |
This is for #9439 -- Clicking on items in the working set is slow.
Pane.focus(one big drag wascurrentElement.blur()so we only need to do that if we're focusing something that isn't code mirror.EditorManager._showEditor(), the UX changes for the pane DOM weren't targeting the right node to see if it needed to re-add the editor to the pane so this was happening every time the editor was shown._openand_editto not activate pane until after opening the documentAlso fixes #9428