[26.1] Fix tool panel discover counts and recent tool version duplicates - #23045
Merged
bgruening merged 9 commits intoJul 3, 2026
Merged
Conversation
Cast JSON panel fixtures to ToolPanelItem and guard the first tool entry so vue-tsc passes in client linting CI.
bgruening
approved these changes
Jul 3, 2026
This was referenced Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes incorrect tool counts in the tool panel, discovers CTA, and duplicate-looking entries in My Tools recent tools.
The discover CTA was counting all installed tool entries from
/api/tools?in_panel=false, which includes older tool versions. On UseGalaxy.eu, which producedDiscover 16k+ Tools, while the displayed default panel contains about 4.2k unique tools.This changes the count to use unique displayed tool IDs from panel data instead. It also fixes the My Tools view, where the header needs to count the default discoverable panel instead of the active
my_paneldata.Recent tools now canonicalize stored Tool Shed version IDs to the version currently displayed in the panel, so a tool with multiple installed versions appears once, using the displayed/latest panel entry.
How to test the changes?
Discover 4k+ Tools, not the full installed-version count.Manual/API sanity check performed locally against usegalaxy.eu:
/api/tools?in_panel=false:16613entries/api/tool_panels/default:4290unique displayed tool IDsDiscover 4k+ ToolsLicense