curationexperts / trove

Digital Image Library based on Tufts repository models
0 stars 2 forks source link

Visual cue for search in progress not available when clicking on facet? #208

Closed amrri06 closed 9 years ago

amrri06 commented 9 years ago

We have noticed that the visual cues common for a search in progress - In Safari on a mac there is a blue bar that progresses across the url/search bar; In Firefox on a pc there is a circle that rotates in the tab indicating a search in progress. This works when clicking on search in the search pane, clicking on a search result (title, folder, image in the image view). When clicking on a course or personal collection name, or name, year or subject facet, there is not visual cue that a search is in progress. Loading a collection of images can be slow - 20 seconds or more and we found ourselves clicking on the folders multiple times because we couldn't tell if the search was in progress. When you change the display number from 10 to 100 there is also not cue that contents are loading. Is this a bug or a feature?

bmaddy commented 9 years ago

Things to try for this:

mark-dce commented 9 years ago

disable turbolinks disabling turbo links didn't seem horribly slower, but it does cause the entire screen to redraw for every action - this produces a fairly unattractive flicker when doing things like paging through a slideshow view of a collection

.enableProgressBar gives a fairly subtle progress bar at the top of the window, but does provide a much clearer indication that something is going on than without.

nprogress-rails in the end I chose this - it provided the same progress bar that .enableProgressBar gives, but also adds a spinner in the right end of the navigation bar. Still subtle but eye-catching enough to see something is going on. Plus, the styling fits well with the existing Tufts theming.