[JIRA] (JENKINS-57819) Blue Ocean does not show all steps in stage

2019-07-06 Thread ro...@romenrg.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Romen Rodriguez-Gil commented on  JENKINS-57819  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Blue Ocean does not show all steps in stage   
 

  
 
 
 
 

 
 I've been looking at this and it seems that this is a pagination issue. The REST API seems to only be returning 100 elements, even though there are more. Looking at the Pagination classes in the corresponding module of the BlueOcean repo, I see that 100 is indeed the default value for pagination in the API. I first tried to figure out how to obtain the next page for steps, but it seems to me that the "/steps" API operation is missing the pagination implementation, so it is only returning the 100 first elements, as a default config. So this probably needs an API enhancement for that operation to include GET parameters to allow pagination. And then probably a change to the Front-end to add some sort of dynamic loader for steps when you scroll further than the first 100 elements, for instance. That would includes a few changes in the corresponding React components as well, to achieve that behavior  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.199773.155956423.3522.1562441100230%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-57819) Blue Ocean does not show all steps in stage

2019-06-03 Thread sverre....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sverre Moe created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-57819  
 
 
  Blue Ocean does not show all steps in stage   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Attachments: 
 Screenshot_20190603_141521.png, Screenshot_20190603_141527.png  
 
 
Components: 
 blueocean-plugin  
 
 
Created: 
 2019-06-03 12:17  
 
 
Labels: 
 blueocean steps  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Sverre Moe  
 

  
 
 
 
 

 
 Blue Ocean only shows up to 100 steps on Stage 

 

stage("Stage") {

node("master") {
for (int i = 0; i < 120; i++) {
println "Loop number " + i
}
}

}