One generic error page serves all 46 error codes, with no sense of severity

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
typescript
Domain
frontend, security

Research direction

The issue does not name files or tests. Start by locating the generic error page and the documented definitions for the 46 error codes, then map the fetch, integrity, configuration, and enrollment cases to severity buckets. Done means the user-facing errors communicate whether checking failed, content may be tampered with, or site configuration is at fault.

Written by the indexing model from the issue text.

Description

The documented errors span many different situations, including various fetch, bundle, enrollment, manifest and other forms of configuration errors, in addition to file integrity errors.

At minimum, at least three user-facing buckets would help — e.g. “couldn't be checked” for transient/fetch errors,, “doesn't match / may be tampered with” for the security-critical case, and “site configuration problem” for header, CSP, and enrollment errors.

Dominant language
TypeScript
Stars
116
Forks
12
Avg merge
1d 5h
Merged PRs (30d)
10

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from freedomofpress/webcat

All issues in freedomofpress/webcat

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.