-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Google icons do not belong to the right web #49
Comments
I'm still seeing this too |
The source of the bug is that the favIconsCache uses the link's "hostname" as a cache key: logseq-awesome-links/src/modules/favIcons/favIcons.ts Lines 42 to 49 in 9db3577
When there's a cache hit, it skips the special-cased path checks specific to Google Docs at: logseq-awesome-links/src/modules/favIcons/favIcons.ts Lines 119 to 136 in 9db3577
I also observed that if you refresh the Logseq window (e.g. Cmd+R) we display the correct icons, because there's a race with the cache being empty. I'm not clear on whether the intent of the favIconsCache is to exclusively skip the HTTP fetches, or if there's observable compute savings for the local inlined Thoughts @yoyurec? |
Info:
Description:
All the link regarding google.com (documents, presentations, spreadsheets, etc) have the same icon. It looks like they are taking it from the last google page or something like that. When I open the app, they look right, but after going to any page, they update is wrong. Moreover, google drive have the "Google" icon instead of the google-drive icon.
Screenshots
The text was updated successfully, but these errors were encountered: