Projects jellie-frontier web Issues #1
Add loading buffer / redirect to Status page. (#1)
Jesse opened 5 months ago

Right now, it takes a few seconds to query the status API. While the user waits, it'd be nice to show them a loading animation and then redirect them to the results when ready.

  • Jesse commented 5 months ago

    Implementation

    1. Hitting /status triggers the status API call and creates a future.
    2. Instead of awaiting the response, immediately redirect to loading animation.
    3. Poll the future (quickly as it's a short wait) for a result.
    4. Redirect the user again to either the status page (Ok) or error page (Err). (I'm not sure how to actually not sure if you can do this without just loading the content with javascript).
issue 1/1
Type
New Feature
Priority
Normal
Assignee
Issue Votes (0)
Watchers (1)
Reference
jellie-frontier/web#1
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover