You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a copy to clipboard fails, a toast still appears saying "Copied!" as a success message, which is conveying false information to the user.
Errors are still logged to the console about the copy failing.
This occurs, e.g., when the user is connected insecurely to a website and the browser rejects copy to clipboard requests, but also happens anytime a copy command fails.
This is especially relevant for fresh Mealie instances which do not have TLS (SSL) configured yet.
Steps to Reproduce
Navigate to a Mealie instance using http for an unsecured connection
Click a copy button
E.g., /admin/manage/users -> click a user -> "Generate Password Reset Link" -> click the copy button
Please provide relevant logs
N/A
Mealie Version
No response
Deployment
Docker (Linux)
Additional Deployment Details
Not easily reproducible on the demo site since it forces https.
The text was updated successfully, but these errors were encountered:
I do not on hand. If I recall correctly, it was just a stack trace of minified JS, so not very useful.
I would just catch the call to window.navigator.writeText
@clarkwmcd are you meaning if you copy the ingredient list you can copy from the shopping list or from somewere else?
because the shopping list should catch if copy is supported.
First Check
What is the issue you are experiencing?
When a copy to clipboard fails, a toast still appears saying "Copied!" as a success message, which is conveying false information to the user.
Errors are still logged to the console about the copy failing.
This occurs, e.g., when the user is connected insecurely to a website and the browser rejects copy to clipboard requests, but also happens anytime a copy command fails.
This is especially relevant for fresh Mealie instances which do not have TLS (SSL) configured yet.
Steps to Reproduce
/admin/manage/users
-> click a user -> "Generate Password Reset Link" -> click the copy buttonPlease provide relevant logs
N/A
Mealie Version
No response
Deployment
Docker (Linux)
Additional Deployment Details
Not easily reproducible on the demo site since it forces https.
The text was updated successfully, but these errors were encountered: