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

Add RootFolderFiles to gRPC LoadSketchResp #1182

Merged
merged 1 commit into from
Feb 11, 2021

Conversation

silvanocerza
Copy link
Contributor

@silvanocerza silvanocerza commented Feb 11, 2021

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • What kind of change does this PR introduce?

Adds a new property to a gRPC response.

  • What is the current behavior?

The gRPC consumers have no way of getting a list of supported files that are in the root folder of a sketch.

  • What is the new behavior?

The gRPC LoadSketchResp has now a RootFolderFiles property that lists the absolute paths to file in the root folder of a sketch.

Nope.

  • Other information:

Fixes #1173.

@kittaakos this should help fix arduino/arduino-pro-ide#373.


See how to contribute

@silvanocerza
Copy link
Contributor Author

Rebased to include integration tests fixes from #1183

@kittaakos
Copy link
Contributor

I verified it locally; this is a working solution. Thank you!

screencast.2021-02-11.13-48-45.mp4

Screen Shot 2021-02-11 at 13 47 54

@silvanocerza silvanocerza merged commit 834c108 into master Feb 11, 2021
@silvanocerza silvanocerza deleted the scerza/sketch-file-list branch February 11, 2021 14:00
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.

Opening large projects is terribly slow gRPC sketch content list should stop at first level
3 participants