-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Currently, the tooltip for the save button is hardcoded to use the Mac Command key icon (&8984
), regardless of the user's environment. A better implementation would be to use the browser's user agent to determine the user's OS (using something like ua-parser-js
) and display an appropriate tooltip (Cmd-Enter for Mac OS and iOS, Ctrl-Enter for others).
Parsing OS information from the user agent isn't a perfect solution, but it's the best solution that will work across the vast majority of browser configurations. There is no way to determine if a user agent is accurate for the actual environment, so it will just have to be trusted.
rfaile313
Metadata
Metadata
Assignees
Labels
No labels