library manager not updating display to reflect properties for selected version
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 7k
- PR merge metrics
- No merged PRs in 30d
Description
When looking at a library in the library manager it appears that the library manager is not using the sentence and paragraph properties for the version of the library selected. It appears to be using the last one it sees for the library in the library_index.jason file rather than the property values of the version of the library selected.
I tested this using my hd44780 library.
I disabled network access to prevent a refresh of the jason file then I modified each sentence and paragraph in the jason file for the hd44780 library to indicated its version number.
When I brought up the library manager it showed the last one (0.7.2 when I did the testing)
And when selecting other versions of the library, the sentence or paragraph text shown did not change.
It seems like the expected behaviour when selecting a version of a library should be that the library manager updates the GUI display to reflect the property values being displayed for that version of the library rather than leave them based on a specific version of the library that is no longer selected. This would include updating author, name, sentence, paragraph, etc....
Contributor guide
Research direction
Start by tracing the Arduino IDE library manager's handling of the selected library version and its sentence, paragraph, author, and name properties in library_index.json. Reproduce the issue with the hd44780 library and offline data, then verify that selecting each version refreshes the displayed properties for that version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100