Skip to content

If a request to the playground errors, no indication is ever shown as such in the UI #392

Closed
@carols10cents

Description

@carols10cents

Right now, if you view TRPL locally via rustup doc --book, the playground requests will all fail because of the playground's current CORS settings.

But even if those worked, if you didn't currently have internet acccess and tried to click the play button from the local copy of the book, the playground requests would also fail.

In these situations currently, the markup just shows "Running..." forever because there's only a success handler for the request. It would be nicer if an error message was displayed if something went wrong with the request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-HTMLArea: HTML RenderingA-JavaScriptArea: JavascriptC-enhancementCategory: Enhancement or feature requestC-papercutCategory: A small usability bugE-EasyExperience: Easy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions