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

feat: Make nginx error pages more user-friendly #1850

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

MoritzWeber0
Copy link
Member

@MoritzWeber0 MoritzWeber0 commented Sep 27, 2024

The new 401 error page:

image

The new 502 error page:

image

This also fixes a bug that an "500 - Internal server error" page was displayed when the user tried to access a session without session token.

This comment has been minimized.

Copy link

codecov bot commented Sep 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.36%. Comparing base (35cf89e) to head (82c81a1).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1850   +/-   ##
=======================================
  Coverage   84.36%   84.36%           
=======================================
  Files         195      195           
  Lines        6487     6487           
  Branches      720      720           
=======================================
  Hits         5473     5473           
  Misses        855      855           
  Partials      159      159           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This comment has been minimized.

@MoritzWeber0 MoritzWeber0 force-pushed the modernize-nginx-error-pages branch 2 times, most recently from 920a087 to b4d2e13 Compare September 30, 2024 12:11

This comment has been minimized.

Copy link

github-actions bot commented Sep 30, 2024

A Storybook preview is available for commit ac5f236.
➡️ View Storybook
➡️ View Chromatic build

This comment has been minimized.

Copy link

sonarcloud bot commented Sep 30, 2024

Copy link

This report was generated by comparing ac5f236 with 35cf89e.
If you would like to check difference, please check here.

change detected

ArtifactName: reg

item count
pass 301
change 1
new 0
delete 0
📝 Report

Differences

Model Components_Model Sources_Git_Invalid URL_desktop.png

actual Actual
expected Expected
difference Difference

@MoritzWeber0 MoritzWeber0 merged commit a236bcf into main Sep 30, 2024
32 checks passed
@MoritzWeber0 MoritzWeber0 deleted the modernize-nginx-error-pages branch September 30, 2024 15:39
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.

2 participants