Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for proxito error pages #442

Merged
merged 12 commits into from
Sep 6, 2024
Merged

Add support for proxito error pages #442

merged 12 commits into from
Sep 6, 2024

Conversation

agjohnson
Copy link
Contributor

@agjohnson agjohnson commented Aug 8, 2024

These pages are minimal error pages compared to the dashboard pages, and don't
have a header, footer, our JS, or our icons.

Also tunes up dashboard error pages to match, right before the pages were
copied.

@agjohnson
Copy link
Contributor Author

I finally had a chance today to get back to this work and wrap it up. I have tested this a good amount, including the underlying, required PRs. Here is where this all is right now.

The errors are centered in the window and are pretty minimal in comparison to what the error pages are now. The lack of major branding, header, and footer are all intentional.

The global search input was dropped for now too, as was most of the content from the contextualized 404 pages that seemed to target maintainers instead of project readers. The DNS 404 error still targets project maintainers however.

On desktop:

image

On mobile:

image

Errors

400

image

401

image

403

image

404 (unrecognized custom domain)

image

404 (page not found)

image

404 (translation not found)

image

404 (version not found)

image

404 (project not found)

image

410

image

418

image

429

image

500

image

504

image

@agjohnson agjohnson marked this pull request as ready for review September 6, 2024 03:04
@agjohnson agjohnson requested a review from a team as a code owner September 6, 2024 03:04
This just uses 410.html, but the views still reference the named
`spam.html` template.
Copy link
Member

@humitos humitos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great 💯

@agjohnson agjohnson merged commit c6c883c into main Sep 6, 2024
4 checks passed
@agjohnson agjohnson deleted the agj/proxito-errors branch September 6, 2024 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error pages use inline JS Pages: add documentation/user error pages
2 participants