Adding crafting ingredients lists#157
Adding crafting ingredients lists#157FracturedShader wants to merge 11 commits intocommunitycenter:mainfrom
Conversation
|
@FracturedShader is attempting to deploy a commit to the stardew Team on Vercel. A member of the Team first needs to authorize it. |
9a8085e to
f2f08a7
Compare
|
Opened this as a draft because while the functionality is there and fully working, the specifics of the design and component breakdown are just an initial idea to prove the concept. How this list should fit into the pages, what can be made into more common components, and what of such is in the scope of this PR in particular (e.g. filtering by season or known/unknown can be a component, but may be better as separate self-contained PRs) is entirely open for discussion and critique. |
|
Moving out of "draft" state because I couldn't think of a better way to organize/structure this while mulling it over for the past week. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
f2f08a7 to
2e05774
Compare
Added collapsed-by-default "Needed Ingredients" sections to cooking and crafting pages with support for filtering by recipe state and season. **Motivation and goals:** Crafting every item requires a tremendous number of ingredients, some of which can only be obtained in certain seasons. Having a full list to reference makes it easy to plan ahead. Being able to filter by season makes near term planning much more tractable. **Features:** - Support for cooking and crafting recipes - Expands recipe ingredients recursively to make planning easier - Familiar card layouts with Wiki links - Custom Wiki links for non-specific ingredients (e.g. "Any Fish") - Filtering by known/unknown (crafted/cooked excluded to avoid clutter) - Filtering by season
2e05774 to
b3b9978
Compare
|
Rebased onto the updated |
Sorting of ingredients is done alphabetically by name and text search leverages the same patterns as text search in other areas. Co-authored-by: Denys Grybov <denys.grybov@hellofresh.com>
demo.mp4Here's a short video sample showing this in action. There was no save uploaded here, so the ingredients lists are quite large (all recipes). |
Fish have much more particular requirements for obtaining than crops and are not a shipping item in and of themselves (so season data was not being pulled). This commit brings in the information and displays from the Fishing page so that filtering fish by season works and information about catching them is readily available.
Used tabs for "All Recipes" and "Ingredient Tracker" as well as a prompt to show beta features to enable the "Ingredient Tracker"
There was a problem hiding this comment.
This PR is being reviewed by Cursor Bugbot
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
The recent `FishSeet` modifications inadvertently hid the link to the wiki page when hiding buttons to set caught/uncaught state. This has been fixed.
The `BooleanCard` was the wrong thing to use in the `IngredientList` just to get the `FishSheet`. This unifies the usage paths for the list, but still opens the full panel for fish.
|
This PR is live at https://stardew-app.plantingcode.net/ for as long as this PR is open. That should make validation of functionality easier. There is no database hooked up, but that won't affect testing these changes. |



Added collapsed-by-default "Needed Ingredients" sections to cooking and crafting pages with support for filtering by recipe state and season.
Motivation and goals:
Crafting every item requires a tremendous number of ingredients, some of which can only be obtained in certain seasons. Having a full list to reference makes it easy to plan ahead. Being able to filter by season makes near term planning much more tractable.
Features:
Testing/Validation Notes:
Note
Introduces a beta ingredient tracking workflow alongside existing recipe tracking.
IngredientListandIngredientCardaggregate and display needed ingredients by recursively expanding recipe inputs; supports categories, big craftables, and fish with wiki links, 1.6 blur/new badges, and countsAll Recipes|Ingredient Tracker), filtering (unknown/known), season filter, and ingredient search; tab routing preserved viatrackingTabqueryBetaFeaturesDialogand extendPreferenceswithshowBetaFeatures(localStorage) plus Account toggle to enable/disable beta features; tabs are gated behind this settingFishSheetwith optionalshowCaughtto hide caught controls in ingredient contextbaseline-browser-mapping,caniuse-liteWritten by Cursor Bugbot for commit c54f5b2. This will update automatically on new commits. Configure here.