Skip to content

[stable33] fix(Files): remove stale addStyle icons call from TemplateLoader#7642

Merged
vitormattos merged 1 commit intostable33from
backport/7641/stable33
May 6, 2026
Merged

[stable33] fix(Files): remove stale addStyle icons call from TemplateLoader#7642
vitormattos merged 1 commit intostable33from
backport/7641/stable33

Conversation

@backportbot-libresign
Copy link
Copy Markdown

Backport of PR #7641

The `Util::addStyle(Application::APP_ID, 'icons')` call was dead code:
- The file `css/icons.css` does not exist in the Vite build output.
- Its content (.icon-libresign) is already bundled inside `libresign-tab` via
  the `tab.ts` entry point importing `./style/icons.scss`.

Loading a non-existent CSS file caused a 404 on every Files page with the
sidebar open, and any unscoped rule in that file would bleed globally into
other Nextcloud apps.

Closes #7632

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap May 6, 2026
@backportbot-libresign backportbot-libresign Bot added this to the Next Patch (33) milestone May 6, 2026
@vitormattos vitormattos merged commit cd6c19c into stable33 May 6, 2026
69 checks passed
@vitormattos vitormattos deleted the backport/7641/stable33 branch May 6, 2026 14:01
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 4. to release

Development

Successfully merging this pull request may close these issues.

1 participant