[Espanso]: Add ability to display match labels to Search Matches command#9101
[Espanso]: Add ability to display match labels to Search Matches command#9101pernielsentikaer merged 22 commits intoraycast:mainfrom
Conversation
- added 'Toggle Espanso' command' - added 'Add Match' command - added commands to manifest - added action to paste snippet to front application - extracted types, messages from index.tsx - add utils.ts
- added function to get matches to replace call to espanso match exec -j - added some types - added the ability to display label in search
|
Thank you for your contribution! 🎉 🔔 @kud you might want to have a look. |
Done! |
|
Hey, thanks for the PR. Could you please update the title of the PR to make it meaningful? 🙏 Regarding the PR itself, to understand it better, instead of using the shell command, are you checking the espanso YAML files? It seems legitimate to me. However, I didn't notice initially that the previous PR added "Add match," but it's broken. The issue lies in assuming that people use the default folders. For some reason that I haven't explained (maybe a legacy one), I don't use them, but I use I will change it to use the default ones now. However, this means that the code is not secure enough. Could you please use something like |
Done!
Yes, exactly. I intended this both as a method to get the labels from the YAML files and to also allow for future addition of the displaying of variables in the list item detail view (since neither variables, forms, labels, etc are returned by
Will do! I forgot about |
|
@kud, those fixes have been made |
|
Thanks. It's really neat now! |
Thanks for your suggestions! Still getting the hang of writing neat code haha |
|
Hehe congrats! |
pernielsentikaer
left a comment
There was a problem hiding this comment.
Hi 👋
Looks good to me, approved 🔥
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
Description
Screencast
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder