Skip to content

Remember crafting details panel state between sessions#86276

Open
evilbananas wants to merge 2 commits intoCleverRaven:masterfrom
evilbananas:persistent-craft-menu
Open

Remember crafting details panel state between sessions#86276
evilbananas wants to merge 2 commits intoCleverRaven:masterfrom
evilbananas:persistent-craft-menu

Conversation

@evilbananas
Copy link
Copy Markdown

Summary

Interface "The new ImGui crafting UI will remember if recipe details are expanded/collapsed across play sessions"

Purpose of change

This is a compromise for the proposal in #86268. It allows the state of the details section of the crafting UI to be maintained across play sessions, similar to the crafting favorites, hidden recipes, etc.

Describe the solution

The state of the crafting details for a recipe being collapsed/expanded is stored in a similar way to other persistent data in the crafting UI.

Describe alternatives you've considered

Make the details expanded by default - debatable and my personal preference but default is still collapsed.

Testing

Compiled on Windows. Created a character, opened the crafting UI and expanded the recipe details. Saved and closed the game. Loaded game again and verified crafting details were still expanded.

Additional context

@github-actions github-actions bot added Info / User Interface Game - player communication, menus, etc. Crafting / Construction / Recipes Includes: Uncrafting / Disassembling [C++] Changes (can be) made in C++. Previously named `Code` new contributor labels Apr 5, 2026
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions github-actions bot added astyled astyled PR, label is assigned by github actions json-styled JSON lint passed, label assigned by github actions labels Apr 6, 2026
@esotericist
Copy link
Copy Markdown
Contributor

sorry for not seeing this go up earlier. from a quick review, looks like that was as simple as i hoped. i'll get to testing it shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

astyled astyled PR, label is assigned by github actions [C++] Changes (can be) made in C++. Previously named `Code` Crafting / Construction / Recipes Includes: Uncrafting / Disassembling Info / User Interface Game - player communication, menus, etc. json-styled JSON lint passed, label assigned by github actions new contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants