jurteam / platform

Jur Beta Platform
https://beta.jur.io
0 stars 0 forks source link

FIX advocates public view loading issue #314

Closed 0xlyd closed 4 years ago

0xlyd commented 4 years ago

Expected Behavior

There should be a loader if the view's data is not yet ready

Current Behavior

It's showing a wrong view for sometime before showing the actual view

Possible Solution

Insert a loader as done in other sections of JBP

Steps to Reproduce

Environment: Temp

  1. Go to Advocates page
  2. Click on view profile on any Advocate

Detailed Description

Please check this video: https://drive.google.com/file/d/1UZepH73Yy5E0P0gsdTo77KWd4KDOTXSk/view

ashishjur commented 4 years ago

Cause: There was no spinner on the advocate page when the info is loading. It is the same behavior on public and private pages.

I've added spinner so it will not show the wrong view and fade in animation so it will smoothly transition from spinner to advocate profile.