v0.5.0
What's Changed
Code Quality & Cleanup
- Deduplicated key rendering logic - Extracted shared
renderModifierIcons,renderKeyContent,renderSeqElem, andrenderKeySeqhelpers intoKeyElements.tsx, reducing ~100 lines of duplicate code across SequenceModal, LookupModal, Kbd, and ShortcutsModal - Removed deprecated APIs - Removed
parseCombinationId(useparseHotkeyString) and thecombinationfield fromRecordHotkeyResult(usesequence) - Fixed
navigator.platformdeprecation - Now usesnavigator.userAgentData.platformwith fallback touserAgent - Consolidated
isMacdetection - Single implementation inutils.tsinstead of duplicates
Bug Fixes
- Fixed void function return value being used with
??operator in ShortcutsModal - Removed unused
matchStateparameter from internaltryExecuteKeySeqfunction
Internal
- Simplified score calculation in fuzzy search (removed redundant
* 1) - Added comment explaining
--kbd-bgCSS override in site styles (demonstrates theming customization)
Full Changelog: v0.4.0...v0.5.0