Closed tjhorner closed 2 months ago
@tjhorner Nice fix, thank you. After building a release for Chrome I had to fix service_worker.js, a function name was missing (registerHandlers).
@crittermike, when do you plan to publish a new release with this fix? I still see 4.1.3 from May in https://github.com/crittermike/shortkeys/releases
@tjhorner Nice fix, thank you. After building a release for Chrome I had to fix service_worker.js, a function name was missing (registerHandlers).
Ahh, the name was minified wasn't it? Nice catch
@tjhorner Yes, right. I'm going to create a PR to fix that and to add missing IDs upon update. Or may be you would like to do that?
This fixes #599.
The implementation is mostly complete (if a bit sloppy), but there is one missing piece: as part of this change, IDs for each shortcut are introduced. Shortcuts with missing IDs will be added on next save. This means users will need to go to the config page at least once before their JS shortcuts will work.
It's possible to perform this migration on extension update but I'm not sure how you wanted to go about it.