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
{{ message }}
Repository navigation
The build numbers on the build page should do lazy loading and have a "more" button #1855
After discussing with @jama-pivotal and @Lindsayauchin, there are some UI changes to make.
The next/previous buttons will replace the current list of builds, instead of append. This alleviates the needs to have logic to remember what to load, caching, etc.
If a build number is provided, the builds will show the 100 builds including that build. It will no longer only show the most recent builds.
After futzing around with this for a bit it's become clear that it's a bit of a challenge to make this into something coherent from a UI point of view. IMO the challenge with the buttons is that they indicate that the screen navigates while in reality we simply want to use them to fetch the next chunk of build history after the initial fetch of 100.
The code does have a 'scrollToCurrentBuildInHistory' function but that function has the problem that it always is one build off regardless of what direction you scroll in. This is not a good user experience and probably the reason it's not employed currently.
We also have to keep the possibility in mind of people using the location bar to target a specific build which is a challenge when fetching non-continuous blocks of 100 builds because the server side was not built to accommodate this.
As a result I came up with a different approach that I think solves the problem we're trying to address (not fetching a boatload of builds when that is not required) while providing a coherent UI experience and complying with current behavior.
Initial fetch of the page will load a maximum of 100 builds in the history.
The UI will show the number of builds fetched with a '+' button next to it to get the next batch of 100.
If a user uses the navigation bar to go to a specific build the application will fetch in batches of 100 until the indicated build has been fetched into history.
Navigation is unchanged from current behavior
'h' and 'l' keys can change build but do not bring tab bar in position if you scroll off the screen
when using the location bar to target a build the tab bar will show latest builds regardless of build position
scrolling works as before over the available items in history
@jama-pivotal and @Lindsayauchin please provide feedback when you get a chance.
I like this idea, however why not make it load automatically? We could just put an autoload cell in the last position? That way if a user scrolls to the end of the list the last cell shows a loading spinner until it loads the next batch.
After discussing with @Lindsayauchin and @jmelchio we've come up with some incremental steps to implement this:
On first load (of the most recent build):
load up to 100 other builds and display them
If there are more than 100 builds, we show ... and link to the job page which shows a paginated vertical list of builds
When they navigate to a build past the initial range (eg. build 150 of 300 ) :
Load 100 builds after (or maybe before and after ?) the one they navigated to.
Display ... on either end of the list if there's more to load
Display a button on the build list to jump to the most recent build (|<)
Going to add this to our Build Lifecycle project as an end goal. The project name is kind of confusing now but it's effectively for designing a new build page and UX.
Activity
Lindsayauchin commentedon Nov 29, 2017
ic_chevron.zip
jmelchio commentedon Dec 7, 2017
After discussing with @jama-pivotal and @Lindsayauchin, there are some UI changes to make.
jmelchio commentedon Jan 5, 2018
After futzing around with this for a bit it's become clear that it's a bit of a challenge to make this into something coherent from a UI point of view. IMO the challenge with the buttons is that they indicate that the screen navigates while in reality we simply want to use them to fetch the next chunk of build history after the initial fetch of 100.
The code does have a 'scrollToCurrentBuildInHistory' function but that function has the problem that it always is one build off regardless of what direction you scroll in. This is not a good user experience and probably the reason it's not employed currently.
We also have to keep the possibility in mind of people using the location bar to target a specific build which is a challenge when fetching non-continuous blocks of 100 builds because the server side was not built to accommodate this.
As a result I came up with a different approach that I think solves the problem we're trying to address (not fetching a boatload of builds when that is not required) while providing a coherent UI experience and complying with current behavior.
@jama-pivotal and @Lindsayauchin please provide feedback when you get a chance.
jwntrs commentedon Jan 5, 2018
I like this idea, however why not make it load automatically? We could just put an autoload cell in the last position? That way if a user scrolls to the end of the list the last cell shows a loading spinner until it loads the next batch.
jmelchio commentedon Jan 5, 2018
I like that as well, not sure how to do the autoload cell but if someone can pair with me on that or point me in the direction we can do that.
bump atc
topherbullock commentedon Jan 10, 2018
After discussing with @Lindsayauchin and @jmelchio we've come up with some incremental steps to implement this:
On first load (of the most recent build):
...and link to the job page which shows a paginated vertical list of buildsWhen they navigate to a build past the initial range (eg. build 150 of 300 ) :
...on either end of the list if there's more to load|<)Lindsayauchin commentedon Jan 10, 2018
build_pg_icons.zip

show ellipsis when there are builds past first 100
build history : latest build link, pagination icons
add 'around' pagination option to list builds api
add 'around' pagination option to list builds api
9 remaining items
jama22 commentedon Feb 12, 2018
Looks like its reverted, closing
bump aws-sdk-go atc
bump etree tsa handlers mux clockwork goxmldsig genproto grpc
osis commentedon Nov 15, 2019
Poking this back to life. It's been awhile and still affecting scenarios like...
https://ci.concourse-ci.org/teams/examples/pipelines/time-triggered/jobs/job/builds/444843
stale commentedon Jan 14, 2020
Beep boop! This issue has been idle for long enough that it's time to check in and see if it's still important.
If it is, what is blocking it? Would anyone be interested in submitting a PR or continuing the discussion to help move things forward?
If no activity is observed within the next week, this issue will be
exterminatedclosed, in accordance with our stale issue process.jama22 commentedon Jan 16, 2020
bump
vito commentedon Jan 16, 2020
Going to add this to our Build Lifecycle project as an end goal. The project name is kind of confusing now but it's effectively for designing a new build page and UX.
stale commentedon Apr 14, 2020
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.