Skip to content
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

Patch preferences shortcut #261

Merged
merged 1 commit into from
Nov 19, 2023
Merged

Patch preferences shortcut #261

merged 1 commit into from
Nov 19, 2023

Conversation

SimonAlling
Copy link
Owner

@SimonAlling SimonAlling commented Nov 19, 2023

I believe it was broken by the Dark Mode update.

👉 https://www.sweclockers.com/artikel/37572-antligen-halebop-fixar-morkt-tema-pa-sweclockers

The vanilla notification icons use xlink:href values like this one:

/gfx/iconmap.svg?v=20230629#icon_quote

I assume that the purpose of ?v=20230629 is cache invalidation. We could probably extract it from one of the vanilla icons and use it for the preferences shortcut as well, but it doesn't feel worth it. If it ever breaks due to caching, then we can reconsider.

💡 git show --color-words='pw-notifications|.'

I believe it was broken by the Dark Mode update.

👉 https://www.sweclockers.com/artikel/37572-antligen-halebop-fixar-morkt-tema-pa-sweclockers

Regarding icons, SweClockers use `xlink:href` values like this one:

    /gfx/iconmap.svg?v=20230629#icon_quote

I assume that the purpose of `?v=20230629` is cache invalidation. We
could probably extract it from one of the default notification icons and
use it for the preferences shortcut as well, but it doesn't feel worth
it. If it ever breaks due to caching, then we can reconsider.

💡 `git show --color-words='pw-notifications|.'`
@SimonAlling SimonAlling added the update Feature broken or obsolete due to host site changes label Nov 19, 2023
@SimonAlling SimonAlling merged commit 7df2ab9 into master Nov 19, 2023
1 check passed
@SimonAlling SimonAlling deleted the preferences-shortcut branch December 27, 2023 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
update Feature broken or obsolete due to host site changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant