matrix-org / matrix-org/matrix-viewer

Add error page

Open
#97 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

T-Enhancement
Dominant language
JavaScript
Stars
84
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Currently, we just use the default Express error handler which dumps the error text plainly to the page.

We should add a error page that has a bit of styling, shows off the status code, and some details on how to report bugs, etc.

We should also include the same explanation about why we show so many details, see https://github.com/matrix-org/matrix-public-archive/pull/96

Todo
  • Add a error page that has a bit of styling, shows off the status code, and some details on how to report bugs, etc
  • If we're showing a 403 Forbidden for a room, we can still show a matrix.to link to the room if people want to jump to a real client instead

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.

Research direction

Start at the default Express error handler and review the explanation referenced in pull request #96. Define the styled error page around the status code, bug-report guidance, and that explanation; for room-specific 403 responses, verify that a matrix.to link is shown when available.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, javascript
Domain
backend, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.