Skip to contentSkip to conversation

rrs: show the upstream version column when listing all recipes

PATCH New Tim Orling 1 participant 1 message Nov 15

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/1 rrs: show the upstream version column when listing all recipes

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

---
 templates/rrs/recipes.html | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
templates/rrs/recipes.html +3 -1
index 663f547..1dde703 100644
@@ -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();
Signature · 1 line
2.56.1