-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Add Flashlang - an extension for quickly searching vocabulary by AI. #18185
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
base: main
Are you sure you want to change the base?
Conversation
- feat: update npm lock - fix: command title - fix: code style. - feat: update category. - fix: add to flashcards issue - fix: selected item issue when open by shortcut. - feat: fix review issue. - feat: add fuzzy-search - feat: implement flashcard and search history management - feat: read content from selection - feat: refine search flow. - feat: refactor translation command to use selected text and improve error handling - feat: enhance translation prompt for clarity and detail - feat: fix history function - feat: add review card function and refersh function. - chore: remove unnecessary logic - feat: add history function. - feat: refine instructions. - feat: store translation result into translation-history as a key of storage. - feat: refine prompt. - feat: update prompt in tool - feat: refine ux. - refine prompt. - feat: add prompt. - feat: rearrange language order. - feat: add language list. - init
Congratulations on your new Raycast extension! 🚀 You can expect an initial review within five business days. Once the PR is approved and merged, the extension will be available on our Store. |
- feat: lock the selectedItem when ai content is loading. - feat: lock the search text while ai content is loading.
- fix: image size. - feat: update image in readme. - feat: update image in readme. - feat: add readme and images. - feat: add logo. - fix: lint - feat: adjust order of action - chore: remove console. - feat: prevent updating to wrong word while loading. - feat: add delete action. - feat: add generatePromptByText - feat: add preferences setting.
- fix: image size - fix: image size - feat: update images
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.
PR Summary
The PR introduces the new flashlang extension integrating AI translation with a flashcard learning system.
• New extension added with commands for language settings, flashcard review, and translation history.
• CHANGELOG.md entry correctly ends with {PR_MERGE_DATE}.
• In /extensions/flashlang/src/tools/translate-the-vocabulary.ts, using replace may only target the first occurrence; consider replaceAll for multiple placeholder replacements.
• The [[learningLanguage]] placeholder in /extensions/flashlang/src/constants/prompts.ts may remain unreplaced.
• Consider awaiting Clipboard.clear() in /extensions/flashlang/src/utils/index.ts to ensure proper asynchronous handling.
💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!
19 file(s) reviewed, 5 comment(s)
Edit PR Review Bot Settings | Greptile
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Hey @moojing 👋 Thanks for your PR! 🎉 There's a default Raycast extension icon file. Could you either update it or remove it if it's not needed, please? |
Description
This is an extension that combines AI-powered translation with flashcard learning system.
You can search vocabulary you want to learn and add it to your flashcard deck,
then review your flashcards regularly to improve retention.
Commands
Screencast
Mar-27-2025.22-44-43.mp4
Checklist
npm run build
and tested this distribution build in Raycastassets
folder are used by the extension itselfREADME
are placed outside of themetadata
folder