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
The icon to the right of the text box displays "Command K" by default, even for users on Windows and Linux operating systems. This leads to confusion among users who are not familiar with macOS keyboard shortcuts.
Additionally, the icon remains as "Command K" while typing, with no indication of what users are supposed to do if their input does not match any article names. Ideally, the icon should dynamically adjust based on the user's operating system and change to something like "Return," "Enter," or a "Search" icon when searching is expected.
Steps to Reproduce:
Go to Anubhav homepage.
Focus on the text box with the "Command K" icon to the right.
Start typing in the text box.
Notice that the "Command K" icon remains unchanged, regardless of the operating system or input provided.
Expected Behavior:
The icon should dynamically adjust based on the user's operating system (e.g., "Ctrl K" for Windows/Linux).
When the user starts typing and no matching articles are found, the icon should change to a relevant action, such as "Return," "Enter," or a "Search" icon, indicating that the user can press Enter or tap on the icon to search.
Steps to Fix:
Detect the user's operating system and update the "Command K" icon accordingly:
macOS: "Command K"
Windows/Linux: "Ctrl K"
While the user is typing, if there is no matching article, update the icon to indicate an actionable behavior such as "Return," "Enter," or a "Search" icon.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: