Skip to content

server task sorting issue fix - #2934

Merged
rgrunber merged 1 commit into
redhat-developer:masterfrom
priyangbhavsar:fix/server-task-sorting
Feb 22, 2023
Merged

rgrunber merged 1 commit into
redhat-developer:masterfrom
priyangbhavsar:fix/server-task-sorting

Conversation

@priyangbhavsar

@priyangbhavsar priyangbhavsar commented Feb 15, 2023 •

Copy link
Copy Markdown
Contributor

Signed-off-by: Priyang Bhavsar <[email protected]>

@datho7561 datho7561 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this works great! Now when you load in a large project (such as eclipse.jdt.ls), it's much easier to keep track of the progress. Thanks @priyangbhavsar !

@fbricon

fbricon commented Feb 15, 2023

Copy link
Copy Markdown
Collaborator

@datho7561 can you share a gif showing before/after the change?

@datho7561

Copy link
Copy Markdown
Contributor

Old: the progress is usually at the top but not always:

progress-at-top-but-not-always

New: the progress is always on the bottom:

progress-at-bottom

@fbricon

fbricon commented Feb 15, 2023 •

Copy link
Copy Markdown
Collaborator

well the code explicitly says "// make sure in-progress items are always at the end"
@akaroml any particular reason to do so?

@rgrunber

Copy link
Copy Markdown
Member

Maybe there was some point when the terminal had auto-scrolling issues ? I could see wanting to place in-progress items at the top in that case. However, having them at the bottom is a huge improvement. I think we can merge after tomorrow's release.

@mozhuanzuojing

Copy link
Copy Markdown
Contributor

great

@rgrunber rgrunber modified the milestone: Mid March 2023 Feb 16, 2023
@rgrunber
rgrunber merged commit 6fd9f60 into redhat-developer:master Feb 22, 2023
@rgrunber rgrunber linked an issue Feb 22, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sorting server tasks uses compare function that always returns zero

5 participants