Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Feature request - handle text/json response #3212

Closed
@pehrlich

Description

@pehrlich

Currently, any unexpected response to loadpage will render a blank page saying "undefined". It would be really nice (and I think quite simple) to turn this in to an extension point instead. When responseHeaders are not html, trigger a custom handler with the data.

In concert with this, the code which shows the yellow error dialog could be move in to its own accessible method. Which could, in turn, be used by such a handler.

This could be used by json data returned from server errors or in a more lightweight form validation.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions