Skip to content
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

Maint: Show Cmd + K for macOS users #1389

Merged
merged 3 commits into from
May 26, 2024

Conversation

luckrnx09
Copy link
Contributor

No description provided.

@@ -12,6 +12,10 @@ export interface TreeSearchProps {
feeds: Subscription[]
}

function isMacOS() {
return navigator.platform.toUpperCase().includes("MAC")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@luckrnx09 luckrnx09 force-pushed the luckrnx09-cmd-k-for-macos-users branch from 6c4b4c0 to 884516b Compare May 15, 2024 13:42
@Athou
Copy link
Owner

Athou commented May 21, 2024

Thank you, that's a nice addition. Could you update the Keyboard Shortcuts help page in KeyboardShortcutsHelp.tsx too please?

Also, there seems to be a helper in mantine to detect the user OS, I think it would be nice to use it since it seems to be more robust.

@luckrnx09
Copy link
Contributor Author

Thank you, that's a nice addition. Could you update the Keyboard Shortcuts help page in KeyboardShortcutsHelp.tsx too please?

Also, there seems to be a helper in mantine to detect the user OS, I think it would be nice to use it since it seems to be more robust.

Thanks @Athou , mantine is great! I used the useOs hook to determine os type in this PR.

@Athou
Copy link
Owner

Athou commented May 26, 2024

Awesome, thank you!

@Athou Athou merged commit 24311df into Athou:master May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants