Skip to content

fix: Limit active-icon inversion to legacy nav design - #2585

Closed
nfebe wants to merge 1 commit into
masterfrom
fix/active-icon-inversion-tinted-bg
Closed

fix: Limit active-icon inversion to legacy nav design#2585
nfebe wants to merge 1 commit into
masterfrom
fix/active-icon-inversion-tinted-bg

Conversation

@nfebe

@nfebenfebe commented May 9, 2026

Copy link
Copy Markdown
Contributor

Summary

On Nextcloud 34+ the active app-navigation entry background is a soft tinted color rather than the previous solid primary. The existing icon-filter inverts to white assuming the old dark primary background, so on the new design active icons render white on a light tint.

This restricts the inverted filter to the legacy nav design (NC < 34), where the active background is still the solid primary and the inversion is correct. On the new design, active icons keep the regular background-aware filter.

Same fix shape as nextcloud/server#60243 for the equivalent regression in Settings.

Test plan

  • On Nextcloud 34+, open Activity, click any sidebar entry: active icon renders with normal contrast (not white-on-tint).
  • On Nextcloud < 34, active icon still renders white on the solid primary active background.

On the new tinted active background the inversion flips icons to
white on a light surface. Now scoped to the legacy design only.
Signed-off-by: nfebe <fenn25.fn@gmail.com>
@nfebe

nfebe commented May 9, 2026

Copy link
Copy Markdown
ContributorAuthor

Closing this — opened in error, not a fix that should live in this app. Apologies for the noise.

@nfebenfebe closed this May 9, 2026
@nfebe
nfebe deleted the fix/active-icon-inversion-tinted-bg branch May 9, 2026 00:03
@codecov

codecovBot commented May 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@cypress

cypressBot commented May 9, 2026

Copy link
Copy Markdown

ActivityRun #3729

Run Properties:status check passed Passed #3729git commitf5def95444: fix: Limit active-icon inversion to legacy nav design
ProjectActivity
Branch Reviewfix/active-icon-inversion-tinted-bg
Run statusstatus check passed Passed #3729
Run duration02m 02s
Commitgit commitf5def95444: fix: Limit active-icon inversion to legacy nav design
CommitterF. E Noel Nfebe
View all properties for this run ↗︎

Test results
Tests that failedFailures0
Tests that were flakyFlaky0
Tests that did not run due to a developer annotating a test with .skipPending1
Tests that did not run due to a failure in a mocha hookSkipped0
Tests that passedPassing9
View all changes introduced in this branch ↗︎

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@nfebe