Skip to content
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

Allow naming and saving custom inventories via local storage #2

Open
taesungh opened this issue Oct 29, 2024 · 0 comments
Open

Allow naming and saving custom inventories via local storage #2

taesungh opened this issue Oct 29, 2024 · 0 comments

Comments

@taesungh
Copy link
Owner

When using the inventory editor, the modified inventory is available only for the active session and lost when closing the tab/window. To make it easier to manage multiple custom inventories across sessions, the inventories can be saved to local storage to be available for future sessions. There will need to be a mechanism to name and recall them. Ideally there should also be a warning when selecting another inventory while there are unsaved changes.

  • Create a hook for using local storage
  • Add a button to save an inventory with a given name
  • Show the local inventories in the Select menu along with the default inventories
  • Provide a way to delete custom inventories
    • Renaming would also be nice but might be more complicated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant