AFFiNE
AFFiNE copied to clipboard
fix: add macOS hotkey support for pendant-modify-panel component
when i edit options of a tag by the panel, I found the tooltip shows ' ctrl + backspcae' . And 'command + backspcae' can not delete a extra option. The PR make tooltip of closeIcon show '⌘ + backspace' in macOS and respond to it correctly.
☁️ Nx Cloud Report
CI is running/has finished running commands for commit 199498c4d2af76d6451e3b2cb8de5cb7366be2ae. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this branch
✅ Successfully ran 4 targets
Sent with 💌 from NxCloud.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Excuse me, the PR can work as expectation in Windows?
Unfortunately this pr can't be adopted, the command + backspace shortcut combination is already used to quickly clear the input internal text
But the ctrl + backspace shortcut is also a shortcut of system to remove last word in Windows, and control is not a common key in macOS. Perhaps the command key is not a better substitute, but the ctrl key does not fit the user's operating habits