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

Better status filtering in Library and Boards Manager, especially for updates #177

Closed
ckuethe opened this issue Mar 5, 2021 · 12 comments · Fixed by #1361
Closed

Better status filtering in Library and Boards Manager, especially for updates #177

ckuethe opened this issue Mar 5, 2021 · 12 comments · Fixed by #1361
Assignees
Labels
conclusion: resolved Issue was resolved criticality: medium Of moderate impact priority: low Resolution is a low priority topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@ckuethe
Copy link

ckuethe commented Mar 5, 2021

Is your feature request related to a problem? Please describe.
Nope, doesn't seem like an existing open problem

Describe the solution you'd like
I would like to see something similar to the status dropdown in the old IDE to select board/libraries with available updates.

I tried typing installed, type:installed, and status:installed in the search field and it didn't show me only my installed libraries instead of all the libraries available. Nor did updatable and upgradable show me those which had available updates. Finally, I didn't find a way to force a check for updates or to see when updates were last checked.

Describe alternatives you've considered
As mentioned above, tried a few obvious guesses in the search bar to filter on some criteria. Also tried right-clicking on the library and board manager icons but those also didn't trigger any filtering options.

I did RTFM but didn't see information about filtering and updates on
https://www.arduino.cc/en/Tutorial/getting-started-with-ide-v2/ide-v2-installing-a-library/
https://www.arduino.cc/en/Tutorial/getting-started-with-ide-v2/ide-v2-board-manager/

Additional context
Looks like someone else wants this feature too (https://forum.arduino.cc/index.php?topic=730437.0) but I didn't see it when I looked through the issues here, so I figured I'd open an issue.

@ckuethe ckuethe added the type: enhancement Proposed improvement label Mar 5, 2021
@ubidefeo
Copy link

ubidefeo commented Mar 5, 2021

thank you @ckuethe
this is definitely one of the missing features.
We are going to release a better search for the next Beta but filtering is not in there yet.

It'll come :)

@ckuethe
Copy link
Author

ckuethe commented Mar 5, 2021

Thank you! I'm really enjoying the new IDE and I appreciate all the work that has gone into it so far.

@CraneZ-dev
Copy link

Old IDE has reminder/notification about available boards/libraries updates and prebuild filter for the boards and libraries with available updates. It is more useful and convenient way, than typing the filter criteria again and again every time your remember that you need to check for updates yourself manually.

@tfinks
Copy link

tfinks commented Aug 3, 2021

Just downloaded IDE 2.0.0-beta.9. There is apparently not yet a Library Manager feature providing selection of ALL, UPDATABLE, INSTALLED, ARDUINO,... . This selection feature in the previous Library Manager is needed in the new IDE IMHO.

@mklemarczyk
Copy link

Still not present, it is very needed feature. I can not find what is installed, and what is not.

@mklemarczyk
Copy link

It is not possible with any workaround as the the library manager does not show all available libraries. Even with scrolling entire list I can not find libraries that I could update. Can you change the priority? The IDE is not very usable without this feature. I have to use old libraries.

@Xylopyrographer
Copy link

A big project and the effort is appreciated.
I'm "plus one-ing" the request(s) that the 2.0 Library Manager support all the functionality of the 1.8 Library Manager.
Priority would be:

  1. Filters for "Installed", "Updatable". Very high priority.
  2. Toggle to show only the Library title in the list
  3. Option to pick & install a specific library version
  4. Install .zip libraries
  5. Notifications of available updates to installed libraries and installed boards

Comments based on 2.0.0-rc5-nightly-20220416

@Durobot
Copy link

Durobot commented May 27, 2022

Please consider implementing at least filters for installed and updatable libraries.
Still can't tell which libraries can be updated in
Version: 2.0.0-rc6
Date: 2022-04-20T10:22:38.001Z
CLI Version: 0.21.0 [10107d24]

@ubidefeo ubidefeo added the criticality: medium Of moderate impact label Jun 13, 2022
@fstasi fstasi added the priority: low Resolution is a low priority label Jun 22, 2022
@per1234 per1234 changed the title Better status filtering in library and board manager, especially for updates Better status filtering in Library and Boards Manager, especially for updates Jun 22, 2022
@kittaakos
Copy link
Contributor

Can somebody please help with what the following types mean in the IDE (1.x):

Library Manager:

Screen Shot 2022-08-28 at 19 36 53

Boards Manager:
Screen Shot 2022-08-28 at 19 36 30

More formally, how to create a predicate for these 👆 types when the object is a LibraryRelease. I looked into the source of the IDE (1.x) but could not find any meaningful with grep.

Thank you!

@kittaakos
Copy link
Contributor

I'm "plus one-ing"

2. Toggle to show only the Library title in the list

What is this?

@per1234
Copy link
Contributor

per1234 commented Aug 28, 2022

Hi @kittaakos

create a predicate for these 👆 types when the object is a LibraryRelease

They are provided via the types field:

https://github.com/arduino/arduino-cli/blob/aa41d72ee6fd422980a2ba43310c269bf0ae2e1f/rpc/cc/arduino/cli/commands/v1/lib.proto#L178

As for the platforms, it seems the only place this information is provided is here:

https://github.com/arduino/arduino-cli/blob/aa41d72ee6fd422980a2ba43310c269bf0ae2e1f/rpc/cc/arduino/cli/commands/v1/board.proto#L95

which is probably not useful in the context of Boards Manager. I guess Arduino CLI needs to provided in the cc.arduino.cli.commands.v1.Platform message. It looks like there is a poor design of these interfaces, where each is somewhat redundant to the other, while each also has unique deficiencies.

@per1234
Copy link
Contributor

per1234 commented Aug 28, 2022

  1. Toggle to show only the Library title in the list

What is this?

A "toggle" (e.g., a checkbox) would cause the additional information (e.g., sentence, paragraph values) to be shown or hidden for the libraries in Library Manager, reducing the verbosity of the listings.

Despite what is implied by @Xylopyrographer's comment, Arduino IDE 1.x does not have any such capability.

Hopefully @Xylopyrographer will provide clarification, but I think the use case would be where you know exactly the library name you want to install (which is the case when you are following installation instructions from library docs or a tutorial), but a search for that exact name (e.g., servo) still returns a lot of results. Reduced verbosity would mean less scrolling to reach the library you are looking for. IMO, the better way to provide a better user experience in this use case would be the enhanced search syntax I proposed at arduino/arduino-cli#1535

kittaakos pushed a commit to kittaakos/arduino-ide that referenced this issue Aug 30, 2022
Closes arduino#177
Closes arduino#1188

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos pushed a commit to kittaakos/arduino-ide that referenced this issue Aug 30, 2022
Closes arduino#177
Closes arduino#1188

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos pushed a commit to kittaakos/arduino-ide that referenced this issue Aug 30, 2022
Closes arduino#177
Closes arduino#1188

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos pushed a commit to kittaakos/arduino-ide that referenced this issue Aug 30, 2022
Closes arduino#177
Closes arduino#1188

Co-authored-by: Francesco Spissu <f.spissu@arduino.cc>
Co-authored-by: Akos Kitta <a.kitta@arduino.cc>

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos pushed a commit to kittaakos/arduino-ide that referenced this issue Aug 31, 2022
Closes arduino#177
Closes arduino#1188

Co-authored-by: Francesco Spissu <f.spissu@arduino.cc>
Co-authored-by: Per Tillisch <p.tillisch@arduino.cc>
Co-authored-by: Akos Kitta <a.kitta@arduino.cc>

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
kittaakos pushed a commit that referenced this issue Aug 31, 2022
Closes #177
Closes #1188

Co-authored-by: Francesco Spissu <f.spissu@arduino.cc>
Co-authored-by: Per Tillisch <p.tillisch@arduino.cc>
Co-authored-by: Akos Kitta <a.kitta@arduino.cc>

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
@per1234 per1234 added the conclusion: resolved Issue was resolved label Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved criticality: medium Of moderate impact priority: low Resolution is a low priority topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.