Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

refactor: use inline SVG icons on error and guest pages - #67410

Merged
skjnldsv merged 1 commit into
nextcloud:masterfrom
skjnldsv:refactor/templates-legacy-icons
Dec 2, 2026
Merged

skjnldsv merged 1 commit into
nextcloud:masterfrom
skjnldsv:refactor/templates-legacy-icons

Conversation

@skjnldsv

@skjnldsv skjnldsv commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Summary

The 403, 404, 418, profile not found and attendance pages still drew their icon with generated icon-* classes from icons.css. They're now inline MDI SVGs filled with currentColor, at the old sizes, so the guest box text color handles light and dark.

The maintenance page had an icon that never showed, since icons.css isn't loaded there. I removed it.

The search providers still return icon-folder, icon-contacts and so on. The Android client matches on those names, so they get their own PR.

Page Before After
403 (light)
403 (dark)
404 (light)
404 (dark)
418 (light)
418 (dark)
profile-404 (light)
profile-404 (dark)
attendance (light)
attendance (dark)
maintenance (light)

Checked in Chromium only.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

👾 This pull request was assisted by Claude Code, commits carry an Assisted-by trailer.

The 403, 404, 418, profile not found and attendance updated pages used
generated icon-* classes from icons.css. Draw the icons as inline MDI
SVGs filled with currentColor instead, so they follow the guest box
text color in light and dark themes. Sizes match the old icons.

The maintenance page icon never rendered (icons.css is not loaded
there), so drop it.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
@skjnldsv skjnldsv added this to the Nextcloud 36 milestone Dec 2, 2026
@skjnldsv skjnldsv self-assigned this Dec 2, 2026
@skjnldsv
skjnldsv marked this pull request as ready for review December 2, 2026 08:07
@skjnldsv
skjnldsv requested review from a team as code owners December 2, 2026 08:07
@skjnldsv skjnldsv removed the 2. developing Work in progress label Dec 2, 2026
@skjnldsv
skjnldsv requested review from CarlSchwan and marcoambrosini and removed request for a team December 2, 2026 08:07
@skjnldsv skjnldsv added the 3. to review Waiting for reviews label Dec 2, 2026
@skjnldsv
skjnldsv requested review from kristian-zendato, pringelmann and salmart-dev and removed request for a team December 2, 2026 08:07
@skjnldsv
skjnldsv merged commit 0982e39 into nextcloud:master Dec 2, 2026
172 of 177 checks passed
@skjnldsv
skjnldsv deleted the refactor/templates-legacy-icons branch December 2, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants