-
-
Notifications
You must be signed in to change notification settings - Fork 408
Report is_hidden
field in board identification
#2224
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Report is_hidden
field in board identification
#2224
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kittaakos is this field used by the IDE?
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #2224 +/- ##
==========================================
- Coverage 62.99% 62.95% -0.04%
==========================================
Files 220 220
Lines 19477 19477
==========================================
- Hits 12269 12262 -7
- Misses 6128 6132 +4
- Partials 1080 1083 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
No, it's unused in IDE2. What's the purpose of this property?
|
It comes from here https://arduino.github.io/arduino-cli/0.33/platform-specification/#hiding-boards The problem is that this field do not have anything to do in filtering of the |
Do you mean this in IDE2? IDE2 uses the gRPC equivalent of Slightly off:
As a long-time user of the CLI API, I recommend not reusing the same type for different command responses. The commands For example, |
No, the equivalent of Previously the
This change is exactly to solve this problem, we reused |
Probably. IDE2 does not use the isHidden property at all. |
Please check if the PR fulfills these requirements
See how to contribute
before creating one)
our contributing guidelines
UPGRADING.md
has been updated with a migration guide (for breaking changes)configuration.schema.json
updated if new parameters are added.What kind of change does this PR introduce?
Populates the
is_hidden
field when the board is detected.What is the current behavior?
board list
do not report hidden field:What is the new behavior?
board list
do report hidden field:Does this PR introduce a breaking change, and is titled accordingly?
No
Other information
At the moment this is only reported as metadata in JSON / gRPC responses, it has no direct effect on the
board list
command. A board filtering based on theis_hidden
value may be implemented later.