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

#985: Restored the missing inject decorator. #986

Merged
merged 1 commit into from
May 13, 2022
Merged

Conversation

kittaakos
Copy link
Contributor

Motivation

This PR restores the missing inject decorator to

  • fix the error thrown at startup,
  • fix the editor tab open/close when sketch files are added/deleted outside from the IDE2

Change description

Fixes the service injection. The breaking change was here.

main with the bug:
https://user-images.githubusercontent.com/1405703/167870194-184faa67-0c11-406c-9666-3a170c335fc5.mp4

This PR with the fix (also tracks deletion):
https://user-images.githubusercontent.com/1405703/167870155-6266d690-ecca-43c5-a467-93a142e26b69.mp4

Other information

Closes #985.

Reviewer checklist

  • PR addresses a single concern.
  • The PR has no duplicates (please search among the Pull Requests before creating one)
  • PR title and description are properly filled.
  • Docs have been added / updated (for bug fixes / features)

Closes arduino#985.

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
@kittaakos kittaakos requested review from AlbyIanna and per1234 May 11, 2022 14:13
@kittaakos kittaakos mentioned this pull request May 11, 2022
3 tasks
Copy link
Contributor

@AlbyIanna AlbyIanna left a comment

Choose a reason for hiding this comment

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

My bad 😓
Thanks @kittaakos!

LGTM!

@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels May 12, 2022
@kittaakos kittaakos merged commit b407d0a into arduino:main May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken appStateService in the IDE
3 participants