X Tutup
Skip to content

Fix settings menu icons theming #38245

Closed
VicDeo wants to merge 1 commit intomasterfrom
fix-theme-detection
Closed

Fix settings menu icons theming #38245
VicDeo wants to merge 1 commit intomasterfrom
fix-theme-detection

Conversation

@VicDeo
Copy link
Member

@VicDeo VicDeo commented Dec 22, 2020

Description

Firstly URLGenerator is instantiated when user session is loaded and the theme is not available yet on this stage.
So an empty theme is cached into the URLGenerator instance for a while.

Related Issue

Motivation and Context

Fixes resolution of images added into the settings navigation

How Has This Been Tested?

  1. Enable any app-theme.
  2. Override users icon in the top right menu in your app-theme (settings/img/users.svg)

Expected

users.svg from theme is loaded

Actual users.svg from core is loaded.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@VicDeo VicDeo added this to the development milestone Dec 22, 2020
@VicDeo VicDeo self-assigned this Dec 22, 2020
@update-docs
Copy link

update-docs bot commented Dec 22, 2020

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@VicDeo VicDeo changed the title Defer theme resolving to the image path resolution stage Fix settings menu icons theming Dec 22, 2020
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@VicDeo
Copy link
Member Author

VicDeo commented Dec 22, 2020

superseded by #38246

@VicDeo VicDeo closed this Dec 22, 2020
@VicDeo VicDeo deleted the fix-theme-detection branch December 22, 2020 15:11
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.

1 participant

X Tutup