redpanda-data / redpanda-data/console

Handle html responses

Open
#128 0 comments 0 reactions 1 assignee View on GitHub

@rikimaru0345 is already working on this.

Since Sep 8, 2020.

frontend
Dominant language
TypeScript
Stars
4.3k
Forks
432
Avg merge
3d 6h
Merged PRs (30d)
40

Description

Any query in the frontend can potentially receive html as a response (for example when using a proxy).
Instead of always trying to parse reponses as json, we should just check if the first character is a < and then show a proper error dialog.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.