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
Nicer traceback formatting #2667
Commits on Jan 24, 2023
Commits on Jan 25, 2023
Commits on Jan 26, 2023
Commits on Jan 27, 2023
-
Add a header bar with Sanic logo. Remove duplicate title element. Avo…
…id escaping in style element and add new styles.
-
-
-
-
-
-
-
-
-
HTML error formatting rebuilt on top of BasePage, and using external …
…module niceback to do the tracebacks.
-
Refactored to sanic.pages.error module. Traceback and style tuning. P…
…rint also headers, and for other than 500 errors as well. 500 error message text UX workaround.
Commits on Jan 28, 2023
-
-
-
Define colors for light/default mode as well.
The background is not always white by default (e.g. when in an iframe), so it needs to be defined or text may become invisible (just had this problem today). I've taken the opportunity to make it slightly less bright as well.
Commits on Jan 31, 2023
Commits on Feb 2, 2023
Commits on Feb 4, 2023
-
Minor style changes, loading TraceRite style and css properly, printi…
…ng exception extra data.
Commits on Feb 5, 2023
-
-
-
-
-
-
-
Merge branch 'niceback-error-handling' of github.com:sanic-org/sanic …
…into niceback-error-handling
Commits on Feb 6, 2023
-
-
-
-
-
Some Sanic branding to error page (#2673)
* Some Sanic branding to error page * Simplify logo compat
-
Commits on Feb 7, 2023
Commits on Feb 8, 2023
Commits on Mar 1, 2023
-
Color tweaks for Error Handling. (#2676)
* Add color sections for dark mode * Tweak colors for light mode * Tweak colors for dark mode * Remove tab styling * Remove forced hanging emoji from error header * Add padding for main container so text doesn’t touch screen boundary * invalid text justify css * Tweak color scheme for dark themes * Add margins for h3. Probably should be done in the tracerite package. * Add tracerite tab color with new sanic-tab variable. * Soften lightmode text color * Define sanic-background, sanic-text as top-level colors. Restructure color schemes to top of definition. * Define highlight and tab colors as variables * Add tab hover shadow definition. Intended to have better hover accents for light theme. * Ensure sanic brand color be the same in dark mode. * Add header background, change all dark theme grays to neutral grays. * Switch blue to code block orange in sanic docs. Add sanic highlight override. Add darker sanic background (111) as option but in the comments so we can switch back if need be. * Add sanic id to top level document. * Use hsl and rgba for dark themed background so that they can be easily changed and nudged. * Change colors to Adam’s preferences. * Remove important from css after adding sanic as id, * Remove remnants of “important” for pre and code tags. Add Meslo in font.
-
Commits on Mar 6, 2023
-
-
-
-
-
* tracerite var colors * Simplified parse_content_header escaping (#2707) * Move comments, darken bg color, move debug links to contextmanager * Lineup H2s * Make pretty --------- Co-authored-by: L. Kärkkäinen <98187+Tronic@users.noreply.github.com>
-