Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow to reopen AI history widget #14422

Merged

Conversation

sdirix
Copy link
Member

@sdirix sdirix commented Nov 8, 2024

What it does

The AI history widget was bound as a singleton. Therefore once a new instance was requested, the old disposed instance was reused instead. This is now fixed by removing the singleton scope.

Fixes #14236

How to test

  • Open the AI Agent history view
  • Close the AI Agent history view
  • Open the AI Agent history view

Observe that you are able to open the view as intendend, i.e. it is no longer broken.

Review checklist

Reminder for reviewers

The AI history widget was bound as a singleton. Therefore once a new
instance was requested, the old disposed instance was reused instead.
This is now fixed by removing the singleton scope.

Fixes eclipse-theia#14236

Signed-off-by: Stefan Dirix <[email protected]>
@sdirix sdirix merged commit 527d278 into eclipse-theia:master Nov 8, 2024
11 checks passed
@sdirix sdirix deleted the allow-to-reopen-history-widget branch November 8, 2024 19:10
@sdirix sdirix added this to the 1.56.0 milestone Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Theia AI] History widget cannot be reopened
2 participants