-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Improve frontend cache message #5019
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
base: main
Are you sure you want to change the base?
Conversation
When I ran across this, I was confused and found that other people are too: https://community.home-assistant.io/t/how-to-clear-the-frontend-cache/670491 This change uses "browser or app" because clearing a browser cache is known to more users (and more easily searchable).
|
This needs more effort, see previous attempt #4788 |
|
@ludeeus thanks for linking that. What would you say the previous attempt was missing? As an aside, I think that if we only modify this message, it will already be an improvement. If you think this will confuse people the other way round because the apps still say "frontend cache", we could tweak to "browser or app frontend cache". |
|
It should be consistent. |
|
@ludeeus Thanks. I'm guessing you're also saying the change in HACS depends on the apps' UI text. @bgoncal @TimoPtr @jpelgrom @dshokouhi Mobile apps: button renamed to: - "Reset client cache"
+ "Reset app cache"Then HACS integration update message: - "You need to manually clear the client cache after updating."
+ "You need to manually clear the browser or app cache after updating."cc @nethershaw |
|
The button is inside companion app settings > debugging... so, if the user is there usually it is not the average user, it's the admin/more technical user. Inside the debugging I prefer to have things more explicit, so I wouldn't call it "app cache", since it is not cache generate by the app and could lead people to think this would clean other type of caches that the app really have, perhaps "Reset web view cache" or "Reset browser cache". |
|
Would creating a deeplink to ask the app to clean web view cache be something interesting? Then any link could trigger that app action |
@bgoncal Yup, this is a good point. I forgot that while I don't consider myself a HA pro, I was doing admin stuff when I came across that message. In this case, a minimum viable change approach here would be to keep the app button labels, and only edit the HACS message to: - "You need to manually clear the client cache after updating."
+ "You need to manually clear the browser cache or mobile app client cache after updating."@ludeeus Would this work for you? |
When I ran across this, I was confused and found that other people are too: https://community.home-assistant.io/t/how-to-clear-the-frontend-cache/670491
This change uses "browser or app" because clearing a browser cache is known to more users (and more easily searchable).
Previous effort: