-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Feat: Recipe Library #2946
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
Feat: Recipe Library #2946
Conversation
remove comment
|
love it. needed |
|
Code LGTM. I think there might be some UI changes needed for wording at least, we don't have a concept of projects in Goose so maybe change it to available to current working directory or across all goose sessions? |
|
@spencrmartin any feedback on the UI? |
* main: Blog: Add video to container use blog (#3008) Use official logo in Goose web (#3012) fix shims for extensions on windows (#3009) fix powershell executions (#3006) Docs linux desktop (#3007) Platform Tool for Scheduler: Allow Goose to Manage Its Own Schedule (#2944) docs: container use blog and guide (#2962) Fix: Workflow syntax (#3002) Added just lint-ui for linting front end code (#2997) fix typo in secret name (#2994) feat(ui): add chain-of-thought panel above assistant messages (#2899) feat(cli): Add `--quiet /-q` flag to goose run (#2939) Feat: Recipe Library (#2946) Docs: Goose on Windows Installation (#2990) Fixes : Workflow error on issue comment (#2958) Add a setting for the quit confirmation dialog (#2901) Update bundle-desktop-windows.yml (#2988) feat: optional fast edit models (#2580) feat: Add lead-worker model selection and real-time model display in GUI (#2964)
# By Max Novich (4) and others # Via Alice Hau * ahau/tool-strategy: updated computercontroller and developer descriptions add additional strats to test Blog: Add video to container use blog (#3008) Use official logo in Goose web (#3012) fix shims for extensions on windows (#3009) fix powershell executions (#3006) Docs linux desktop (#3007) Platform Tool for Scheduler: Allow Goose to Manage Its Own Schedule (#2944) docs: container use blog and guide (#2962) Fix: Workflow syntax (#3002) Added just lint-ui for linting front end code (#2997) fix typo in secret name (#2994) feat(ui): add chain-of-thought panel above assistant messages (#2899) feat(cli): Add `--quiet /-q` flag to goose run (#2939) Feat: Recipe Library (#2946) Docs: Goose on Windows Installation (#2990) Fixes : Workflow error on issue comment (#2958) Add a setting for the quit confirmation dialog (#2901) Update bundle-desktop-windows.yml (#2988) # Conflicts: # Cargo.lock
| @@ -0,0 +1,339 @@ | |||
| import { Recipe } from './index'; | |||
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.
Why did we decide to have a different format for recipes for the frontend than what we have for the cli? We now store SavedRecipe instead of recipe.
What I think we should do here, is do this through the server and not have this code directly write to disk, same as we do for sessions. that way we can make sure that the command line and the desktop have the same idea about where to look for recipes and the format for a recipe.
Can we fix this ASAP?
Signed-off-by: Soroosh <soroosh.sarabadani@gmail.com>


More Menu
"Save Recipe" is only visible when a recipe is open/ actively being used.
Current functionality: "Go to Recipe Library" is always in the menu, even if you don't have any recipes saved
💻 Quick demo
Screen.Recording.2025-06-16.at.8.20.27.AM.mov
This pull request introduces a new "Recipe Library" feature, allowing users to save, manage, and reuse recipes within the application. It includes updates to the UI, functionality for saving and loading recipes, and a new
RecipesViewcomponent for browsing saved recipes.New Recipe Management Features:
RecipesViewComponent: Introduced a newRecipesViewcomponent for displaying saved recipes, allowing users to preview, load, and delete recipes. This includes error handling, a loading state, and a modal for previewing recipe details. (ui/desktop/src/components/RecipesView.tsx)MoreMenucomponent to save recipes with a user-provided name and location (global or project-specific). Includes a dialog for input and validation. (ui/desktop/src/components/more_menu/MoreMenu.tsx) [1] [2]UI Navigation Updates:
MoreMenuto navigate to the new Recipe Library view. (ui/desktop/src/components/more_menu/MoreMenu.tsx)recipesview type in theAppcomponent to support the Recipe Library. (ui/desktop/src/App.tsx) [1] [2] [3]Recipe Data Model Enhancements:
titleproperty to the recipe data model for better alignment with UI elements and user expectations. This change affects multiple components, includingChatViewandDeepLinkModal. (ui/desktop/src/components/ChatView.tsx,ui/desktop/src/components/ui/DeepLinkModal.tsx) [1] [2]These changes collectively enhance the application's usability by providing a dedicated interface for managing recipes and improving the overall recipe handling experience.