-
Notifications
You must be signed in to change notification settings - Fork 6k
Add english-conjugation extension #27298
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
Closed
younesbenallal
wants to merge
2
commits into
raycast:main
from
younesbenallal:ext/english-conjugation
Closed
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "root": true, | ||
| "extends": ["@raycast"] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| node_modules | ||
| dist | ||
| raycast-env.d.ts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "printWidth": 120, | ||
| "singleQuote": false | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # AGENTS | ||
|
|
||
| ## Docs | ||
|
|
||
| - `docs/english-conjugation.md` — Overview of the Raycast command, conjugation flow, and development commands. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # Changelog | ||
|
|
||
| ## [Initial Version] | ||
|
|
||
| - Added a Raycast command to look up the essential conjugated forms of English verbs. | ||
| - Added common collocations for supported verbs. | ||
| - Added screenshot metadata for the store listing. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| # English Verb Conjugation | ||
|
|
||
| A Raycast extension to look up English verb forms and common collocations in a clean, minimal interface. | ||
|
|
||
| ## What it shows | ||
|
|
||
| - Infinitive | ||
| - Third-person singular | ||
| - Simple past | ||
| - Past participle | ||
| - Present participle | ||
| - Common collocations for supported verbs | ||
|
|
||
| ## How to use | ||
|
|
||
| - Open `Conjugate Verb` in Raycast. | ||
| - Type an infinitive such as `go`, `write`, `take`, or `make`. | ||
| - Browse the essential forms in the list and review usage notes and collocations in the detail pane. | ||
|
|
||
| ## Development | ||
|
|
||
| ```bash | ||
| npm install | ||
| npm run dev | ||
| ``` | ||
|
|
||
| ## Notes | ||
|
|
||
| - The main input is the Raycast search bar. | ||
| - The command also accepts an optional `verb` argument from Raycast root search. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions
38
extensions/english-conjugation/docs/english-conjugation.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # English Conjugation | ||
|
|
||
| ## Purpose | ||
|
|
||
| This project is a Raycast extension that lets the user type an English infinitive and immediately see the essential conjugated forms with a minimal UI. | ||
|
|
||
| ## Main Files | ||
|
|
||
| | File | Responsibility | | ||
| | ------------------------ | ------------------------------------------------------------------ | | ||
| | `package.json` | Raycast manifest, command configuration, scripts, and dependencies | | ||
| | `src/conjugate-verb.tsx` | Main Raycast command UI using a `List` with detail pane | | ||
| | `src/conjugation.ts` | Input parsing and form-building logic | | ||
| | `src/collocations.ts` | Curated common-collocation dataset for frequent verbs | | ||
| | `src/eng-verber.d.ts` | Local type declaration for the conjugation package | | ||
|
|
||
| ## Main Flow | ||
|
|
||
| 1. Raycast opens the `conjugate-verb` command. | ||
| 2. The command seeds the search bar from the optional `verb` argument. | ||
| 3. Every search-bar update is treated as the current infinitive input. | ||
| 4. `src/conjugation.ts` strips a leading `to`, keeps the first token, and asks the conjugation package for verb forms. | ||
| 5. The helper also looks up curated common collocations for frequent verbs. | ||
| 6. The UI renders the five essential forms as list items and shows lightweight usage guidance plus collocations in the detail pane. | ||
| 7. Each item offers copy actions for the selected form, the collocations when available, or the full set. | ||
|
|
||
| ## UX Notes | ||
|
|
||
| - The list uses custom filtering because the search bar is the verb input itself. | ||
| - The right-side detail pane keeps the main list compact and readable. | ||
| - Collocations live in the detail pane so the primary list stays minimal. | ||
| - Empty state stays explicit so the extension feels guided instead of blank. | ||
|
|
||
| ## Config | ||
|
|
||
| - `npm run dev` starts Raycast development mode. | ||
| - `npm run lint` runs Raycast linting. | ||
| - `npm run build` validates the production build with `ray build -e dist`. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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_MERGE_DATE}placeholderThe changelog entry is missing the required date placeholder and uses "Initial Version" instead of the conventional "Initial Release". Per Raycast convention, the date is auto-populated on merge — omitting it means the release will have no date in the store.
Rule Used: What: In Raycast extension changelogs, `{PR_MERGE_... (source)
Prompt To Fix With AI