meedan / montage-components

Monorepo of components for Montage
https://montage.meedan.com
0 stars 0 forks source link

User should be shown load indicator if waiting more than 500ms for Transcript tab to load #144

Open maboa opened 5 years ago

maboa commented 5 years ago

Improve performance of transcript loading or add loader

Currently it takes around 1500ms (on a new machine) for the transcript to appear after clicking the transcript 'tab'. If we can't get that time down significantly we should give the user some feedback that it is loading.

piotrfonte commented 5 years ago

@Laurian The following should suffice, I can then make it look good:

import CircularProgress from '@material-ui/core/CircularProgress';

<CircularProgress className={classes.progress} />

…as per https://material-ui.com/components/progress/#circular