Merge lp:~huwshimi/launchpad/bug-listing-spinner-position-904416 into lp:launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Huw Wilkins | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 14533 | ||||
Proposed branch: | lp:~huwshimi/launchpad/bug-listing-spinner-position-904416 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
64 lines (+5/-23) 2 files modified
lib/lp/app/javascript/indicator/assets/indicator-core.css (+5/-4) lib/lp/app/javascript/indicator/indicator.js (+0/-19) |
||||
To merge this branch: | bzr merge lp:~huwshimi/launchpad/bug-listing-spinner-position-904416 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Abel Deuring (community) | code | Approve | |
Review via email: mp+85997@code.launchpad.net |
Commit message
[r=adeuring][bug=904416] Repositioned the loading spinner on bug listings to the top.
Description of the change
The spinner that was shown when a bug listing was loading was centered vertically on the listing. This meant that for long listings the spinner was never visible.
This branch moves the spinner to the top of the list. This means the spinner will be visible when the ordering and top pagination controls are used. Unfortunately this means the spinner still won't be visible when the bottom pagination controls are used on long listings, but I feel this is a big enough improvement to consider the fix good enough for now.
Here is a screenshot of the new position: https:/
The JavaScript code that is removed in this branch is what was previously used to position the spinner. CSS now positions the spinner.
Couldn't position relative to the viewport instead of the content, so that it's always visible?