-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update empty-screenshots extension #12358
base: main
Are you sure you want to change the base?
Conversation
- Updates to preferences, functionality and language - Initial commit
Thank you for your contribution! 🎉 🔔 @chanceaclark you might want to have a look. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @robotdestroy thanks for contributing to this extension! I have a few comments regarding this change but overall I love this addition!
🍹 = Optional or discussion comments so feel free to disregard them if you feel passionately about it.
Additionally, I am about to get married/go on my honeymoon for the next two weeks so I won't be able to respond much after this message. After this review, I will defer the approval of this PR to the Raycast team or valid approver. Hopefully this doesn't impact the resolution time too much 🙏
Co-authored-by: Chancellor Clark <chancellorclark@gmail.com>
Co-authored-by: Chancellor Clark <chancellorclark@gmail.com>
Co-authored-by: Chancellor Clark <chancellorclark@gmail.com>
Is this ready for another review? |
Yup! |
|
||
try { | ||
const files = await readdir(folder); | ||
|
||
const screenshots = files | ||
.filter((file) => file.endsWith(".png") || file.endsWith(".mov")) | ||
.filter((file) => | ||
prefixString ? file.startsWith(prefixString) : file.startsWith("CleanShot") || file.startsWith("Screen"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just tried to change language to danish and the name here is Skærmbillede 2024-05-22 kl. 09.08.22.png
- this will never be removed, so maybe it's better to do as before and only filter if custom prefixString
has been set (which we could make to a comma seperated list)
Description
Screencast
Checklist
npm run build
and tested this distribution build in Raycastassets
folder are used by the extension itselfREADME
are placed outside of themetadata
folder