xfbs / diff.rs

Web application to render a diff between Rust crate versions. Implemented in Yew, runs fully in the browser as WebAssembly.
https://diff.rs
MIT License
86 stars 6 forks source link

Show diffing status #10

Closed xfbs closed 5 months ago

xfbs commented 1 year ago

Right now, there is a Yew <Suspense> that shows a loading indicator for when a CrateResponse or a CrateSource is being awaited on. It does not currently show this for when it is generating the diff for crates.

It so happens that when the diffing occurs, the Suspense is still set up to show the loading crate source, so there is at least some loading indicator to show that something is happening but it is inaccurate.

Screenshot from 2023-03-10 23-15-02

Ideally, the loading indicator should go through three phases:

xfbs commented 5 months ago

Closing this for now because I don't know how to make this work right now.