matrix-org / matrix-org/matrix-viewer
Add error page
Nobody has claimed this yet.
- 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 Forbiddenfor a room, we can still show amatrix.tolink to the room if people want to jump to a real client instead
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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