You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add user feedback when package compare limit is exceeded
Previously, exceeding the compare limit silently truncated the list with
no indication to the user. Now both /packages and /compare/packages show
an info alert with a link to remove the excess packages. The + button is
also hidden in search results when the limit is reached.
The limit is raised from 10 to 15 (matching the number of chart colors)
and defined as a shared constant in layout.MaxComparePackages.
layout.Page{Title: "Compare packages", Description: "Compare the popularity of Arch Linux packages side by side.", Path: "/packages", Manifest: h.manifest, CanonicalPath: "/compare/packages/"+strings.Join(escapedNames, ",")},
0 commit comments