one-click-extensions-manager icon indicating copy to clipboard operation
one-click-extensions-manager copied to clipboard

Auto-trim extension names

Open fregante opened this issue 1 year ago • 1 comments

Context

A lot of extensions have long names that include a description, and don't care to set a short_name

Examples:

  • https://chromewebstore.google.com/detail/grammarly-ai-writing-and/kbfnbcaeplbcioakkpcpgfkobkghlhen
  • https://chromewebstore.google.com/detail/loom-–-screen-recorder-sc/liecbddmkiiihnedobmlmillhodjkdmb
  • https://chromewebstore.google.com/detail/tango-create-how-to-guide/lggdbpblkekjjbobadliahffoaobaknh

Others include unnecessary words like "Extension" and "Chrome Extension" in the name:

  • https://chromewebstore.google.com/detail/zoom-chrome-extension/kgjfgplpablkjnlkjmjdecgdpfankdle

Proposal

Trim anything after ' - ', ' — ' (em-dash, used by Loom) and ': ' in extension names, as well any trailing Extension, Chrome Extension, Browser Extension, for Chrome etc

This could be done via option (ON by default), or let's just do it without option first and wait for complaints (if any) to come in.

Related

  • Like https://github.com/hankxdev/one-click-extensions-manager/issues/117, but controlled by us.

fregante avatar Aug 14 '24 04:08 fregante