diff mbox series

[layerindex-web] rrs: show the upstream version column when listing all recipes

Message ID 20261115014019.62370-2-tim.orling@konsulko.com
State Under Review
Delegated to: Tim Orling
Headers show
Series [layerindex-web] rrs: show the upstream version column when listing all recipes | expand

Commit Message

Tim Orling Nov. 15, 2026, 1:40 a.m. UTC
The recipe list hid the upstream version column under the default "All"
filter, so the version a recipe could be upgraded to only showed once
the list was filtered by status. Hide it only for "Up-to-date", where
it is the same as the recipe's version. The recipe detail page already
shows the upstream version for recipes that are not up to date.

[YOCTO #15577]

AI-Generated: Claude Opus 5.5
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 templates/rrs/recipes.html | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/templates/rrs/recipes.html b/templates/rrs/recipes.html
index 663f547..1dde703 100644
--- a/templates/rrs/recipes.html
+++ b/templates/rrs/recipes.html
@@ -251,7 +251,9 @@  $(document).ready(function() {
             $('.summary_column').show()            
         }
 
-        if (upstreamStatus == 'Up-to-date' || upstreamStatus == 'All') {
+        // Up-to-date recipes are at the upstream version already; everywhere
+        // else (including All) show which version a recipe could move to
+        if (upstreamStatus == 'Up-to-date') {
             $('.upstream_version_column').hide();
         } else {
             $('.upstream_version_column').show();