Skip to content
  • Damian Kijańczuk's avatar
    Add spinner and error messages to data fetching · 87288de2
    Damian Kijańczuk authored and Arkadiusz Hiler's avatar Arkadiusz Hiler committed
    
    
    v2:
    * Change -load to -spinner
    * Replace with ternary conditional
    * Replace return with throw error
    * Change error to no_response
    * Delete -webkit, slow spinner down
    
    v3:
    * Changed how get_json() returns data
    
    v4:
    * Added try catch to work with throw error
    * Catch in case of error doesn't terminate fetching other results,
      but keeps downloading
    
    v5:
    * Spinner in queue and other parts of website
      had the same class name, which made it look weird.
      Changed queue specific class name to "queue-spinner"
    * Fixed indentation
    
    Signed-off-by: default avatarKijanczuk, Damian <damian.kijanczuk@intel.com>
    87288de2