-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scope the appdata theming storage for global and users #34599
Conversation
2aca8e0
to
11173a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 for @skjnldsv's part, please also review what I pushed
I've pushed a fix that adds cache busting also for the CSS variables to make sure we load the correct background in apps. |
$this->urlGenerator = $urlGenerator; | ||
$this->themesService = $themesService; | ||
$this->defaultTheme = $defaultTheme; | ||
$this->config = $config; | ||
if ($userSession->getUser() !== null) { | ||
$this->userId = $userSession->getUser()->getUID(); |
Check notice
Code scanning / Psalm
PossiblyNullReference
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See
2022-10-14-134652.mp4
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
8a5b526
to
acc7a2c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works but didn't review the code
I've retested admin vs user background and no more shift+refresh is needed, it works smoothly and as expected. Shipit! |
I've raised the lower priority #34606 to clean up the old theme cache data since we now moved everything into "appdata*/theming/global/" |
/rebase |
Signed-off-by: John Molakvoæ <[email protected]>
Signed-off-by: John Molakvoæ <[email protected]>
Signed-off-by: John Molakvoæ <[email protected]>
Signed-off-by: John Molakvoæ <[email protected]>
Signed-off-by: Vincent Petry <[email protected]>
acc7a2c
to
19f35f4
Compare
rebased for CI and manual backport to save some time... #34612 |
|
Fix #34596