Skip to content

Fix #9774 Incorrect TreeView item ordering.#9775

Merged
caseyflynn-google merged 1 commit intoeclipse-theia:masterfrom
caseyflynn-google:9774
Jul 26, 2021
Merged

Fix #9774 Incorrect TreeView item ordering.#9775
caseyflynn-google merged 1 commit intoeclipse-theia:masterfrom
caseyflynn-google:9774

Conversation

@caseyflynn-google
Copy link
Contributor

Signed-off-by: Casey Flynn caseyflynn@google.com

What it does

Fixes #9774 by ensuring resolved promises are returned in the same order they are received from a plugin.

How to test

Follow the instructions in #9774 and validate the order of the TreeView items is now correct.

Review checklist

Reminder for reviewers

Signed-off-by: Casey Flynn <caseyflynn@google.com>
@caseyflynn-google caseyflynn-google added tree issues related to the tree (ex: tree widget) plug-in system issues related to the plug-in system labels Jul 24, 2021
@caseyflynn-google caseyflynn-google self-assigned this Jul 24, 2021
Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

I can confirm that the issue exists on master and is addressed nicely by this change. Code LGTM as well.

Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

I confirmed with the example plugin that the behavior is fixed with the changes 👍

@caseyflynn-google caseyflynn-google merged commit 59ae8ba into eclipse-theia:master Jul 26, 2021
@caseyflynn-google caseyflynn-google deleted the 9774 branch July 26, 2021 16:30
@vince-fugnitto vince-fugnitto added this to the 1.16.0 milestone Jul 29, 2021
dna2github pushed a commit to dna2fork/theia that referenced this pull request Aug 25, 2021
…ia#9775)

Signed-off-by: Casey Flynn <caseyflynn@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plug-in system issues related to the plug-in system tree issues related to the tree (ex: tree widget)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plugin TreeView items in incorrect order

3 participants