Skip to content

auto update UI as the list of apps changes - #14

Merged
Yan Zhang (Eskibear) merged 1 commit into
microsoft:masterfrom
Eskibear:pr_autorefresh
Jul 26, 2018
Merged

Yan Zhang (Eskibear) merged 1 commit into
microsoft:masterfrom
Eskibear:pr_autorefresh

Conversation

@Eskibear

Copy link
Copy Markdown
Member

See: #4

  • move event emitter into BootAppManager
  • fire event when list of apps changes

@kdvolder Kris De Volder (kdvolder) left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I've browsed through the code which looks good to me (but consider my js / ts experience is limited :-).

I've tried out the code from the PR as well and it seems to work.

I tried adding and removing workspace folders containing apps and this seemed to work except...

Removing workspace folders didn't allways remove all the apps that should be removed. I don't think this is a problem with the vscode-spring-boot handling of the events it receives, but rather something going wrong at the 'source' of the events (i.e. redhat.java and/or pivotal.spring.boot extensions not correctly responding to the changes in the vscode workspace).

Since I think the code in this PR and vsode-spring-boot is not to blame for this problem I think I will:

a) give an upvote to this PR.
b) raise bug ticket to describe and further investigate the problem (so we can lay blame correctly and work at getting it fixed)

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.

2 participants