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: theme error page #39122

Merged
merged 1 commit into from
Feb 24, 2024
Merged

feat: theme error page #39122

merged 1 commit into from
Feb 24, 2024

Conversation

st3iny
Copy link
Member

@st3iny st3iny commented Jul 3, 2023

  • Resolves: (not yet reported)

Summary

The generic error page is not themed. Now it is. Perhaps this is a bit too hacky?

Why does it matter to theme an error page? Well, the generic error page (printErrorPage) is shown to users even if the instance works correctly. E.g. when a password expires via the password_policy app. So theming it should be worth it.

I kept the old unthemed page as a fallback in case dispatching the event fails.

Best reviewed with hidden white space changes: https://github.com/nextcloud/server/pull/39122/files?w=1

Before After
grafik grafik

TODO

  • ...

Checklist

@st3iny st3iny self-assigned this Jul 3, 2023
@st3iny st3iny force-pushed the enh/themed-error-page branch from 785342c to e6370d2 Compare July 4, 2023 06:17
@st3iny st3iny marked this pull request as ready for review July 4, 2023 06:25
@st3iny st3iny added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jul 4, 2023
@szaimen szaimen added this to the Nextcloud 28 milestone Jul 10, 2023
@st3iny st3iny force-pushed the enh/themed-error-page branch from e6370d2 to b184859 Compare July 26, 2023 18:18
@szaimen szaimen removed their request for review August 9, 2023 09:55
@skjnldsv skjnldsv mentioned this pull request Nov 1, 2023
This was referenced Nov 6, 2023
This was referenced Nov 14, 2023
@blizzz blizzz modified the milestones: Nextcloud 28, Nextcloud 29 Nov 23, 2023
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Feb 24, 2024
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
@st3iny st3iny force-pushed the enh/themed-error-page branch from b184859 to f2e6aba Compare February 24, 2024 17:32
@skjnldsv skjnldsv merged commit 1d09dec into master Feb 24, 2024
160 checks passed
@skjnldsv skjnldsv deleted the enh/themed-error-page branch February 24, 2024 18:27
@blizzz blizzz mentioned this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish enhancement feature: theming
Projects
Development

Successfully merging this pull request may close these issues.

5 participants