Skip to content

Improve launcher search rendering and pinyin matching#233

Open
murongg wants to merge 5 commits into
SuperCmdLabs:mainfrom
murongg:fix-launcher-search-render-artifacts
Open

Improve launcher search rendering and pinyin matching#233
murongg wants to merge 5 commits into
SuperCmdLabs:mainfrom
murongg:fix-launcher-search-render-artifacts

Conversation

@murongg

@murongg murongg commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • extract launcher command filtering into an indexed search helper to reduce per-keystroke work
  • keep visible launcher results synchronized with the current query and clear stale async calculator state
  • stabilize the launcher result list paint/layout in the glass surface to reduce transient stale-row artifacts
  • add pinyin and initials matching for Chinese launcher commands such as app names

Test Plan

  • npm run build:renderer
  • spot-check weixin / wxkf matches 微信开发者工具

@murongg

murongg commented Apr 13, 2026

Copy link
Copy Markdown
Contributor Author

Why did Claude's review fail?

@murongg murongg changed the title Fix launcher search result rendering artifacts Improve launcher search rendering and pinyin matching Apr 13, 2026
@shobhit99

Copy link
Copy Markdown
Contributor

@murongg is there any alternative to pinyin. the unpacked size is almost 1mb

@murongg

murongg commented Apr 16, 2026

Copy link
Copy Markdown
Contributor Author

@murongg is there any alternative to pinyin. the unpacked size is almost 1mb

This kind of library seems to be quite large.

@shobhit99

Copy link
Copy Markdown
Contributor

@murongg does pinyin support other languages, we have embeded the new calculator which supports calculation in multiple languages. it would be great if can do all in one library

@murongg

murongg commented Apr 20, 2026

Copy link
Copy Markdown
Contributor Author

@murongg does pinyin support other languages, we have embeded the new calculator which supports calculation in multiple languages. it would be great if can do all in one library

Pinyin is a Latin alphabet phonetic system used to represent the pronunciation of modern standard Mandarin Chinese. It is only valid for Chinese.

@shobhit99

Copy link
Copy Markdown
Contributor

@murongg can you make use of "transliteration" here, it will work with other languages as well

@shobhit99

Copy link
Copy Markdown
Contributor

@murongg I have used the transliteration, this is the branch name transliteration-integration can you see if it works for you and solves your use case?

@murongg

murongg commented Apr 22, 2026

Copy link
Copy Markdown
Contributor Author

@murongg I have used the transliteration, this is the branch name transliteration-integration can you see if it works for you and solves your use case?

ok, but i not found transliteration-integration

@shobhit99

Copy link
Copy Markdown
Contributor

@murongg the transliteration integration is live in main branch, and in version 1.0.17

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.

2 participants