Skip to content

[stable-0.1] Restoring ability to use custom css - #433

Merged
AndyScherzinger merged 2 commits into
stable-0.1from
backport/432/stable-0.1
Oct 23, 2026
Merged

AndyScherzinger merged 2 commits into
stable-0.1from
backport/432/stable-0.1

Conversation

@backportbot

@backportbot backportbot Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Backport of #432

Warning, This backport had conflicts that were resolved with the ours merge strategy and is likely incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Remove all the empty commits
  • Amend HEAD commit to remove the line stating to skip CI

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (N/A)

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot Bot added bug Something isn't working AI assisted This PR contains AI-assisted commits 3. to review regression labels Oct 23, 2026
@backportbot backportbot Bot added this to the v0.1.5 milestone Oct 23, 2026
The editor linked themes/<theme>/apps/files_mindmap/css/style.css on
every instance, and without a theme as /themes//apps/..., so most
instances requested a missing file each time a mind map opened. It also
read the theme through the private OC_Util.

Work out the stylesheet in the controller instead: read the theme from
the system config, fall back to the default theme as the server does,
and pass the URL to the template only if the file exists, with its
modification time so changes to it are not cached.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Felix <felix.nz@hotmail.de>
The theme stylesheet came before the template's inline styles, so for
rules of equal specificity, such as #menu-header .btn, the inline
styles won and the theme could not override them. Link it last.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Felix <felix.nz@hotmail.de>
@AndyScherzinger
AndyScherzinger force-pushed the backport/432/stable-0.1 branch from c404ff4 to 0171784 Compare October 23, 2026 23:18
@AndyScherzinger
AndyScherzinger marked this pull request as ready for review October 23, 2026 23:26
@AndyScherzinger
AndyScherzinger merged commit 1fa73b6 into stable-0.1 Oct 23, 2026
7 checks passed
@AndyScherzinger
AndyScherzinger deleted the backport/432/stable-0.1 branch October 23, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review AI assisted This PR contains AI-assisted commits bug Something isn't working regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant