microsoft-graph-toolkit icon indicating copy to clipboard operation
microsoft-graph-toolkit copied to clipboard

[BUG] Slow updates with new "shimmer" effect

Open dougroutledge opened this issue 2 months ago • 2 comments

Describe the bug Apps now have long periods with avatar white circles instead of initials or pictures from cache. At any point when graph errors or throttles the MGT, the user experience should revert to cache instead of shimmer, since it provides 0 usefulness for the end user. Just wait for 30 seconds is not an answer that will retain customers.

dougroutledge avatar Apr 17 '24 16:04 dougroutledge

Thanks for the feedback @dougroutledge By default, if there is cached data that has not reached its expiry time this is used instead of going over the wire.

I think what you're asking for is to adopt a stale while revalidate type of approach should the cache expiry period have be reached. Is this an accurate assesment of the request here?

gavinbarron avatar May 03 '24 23:05 gavinbarron

Yes exactly. Any control being rendered on screen should load it's cached data, then update from the over the wire data, instead of an empty white place holder.

dougroutledge avatar May 06 '24 10:05 dougroutledge