In the Pantry view, there are red Xs that can be used to remove items from the pantry:
At the moment if you click one of those, you get a dialog asking you to confirm that you want to remove that item. If you say "OK", it takes you back to the "all categories closed" pantry view:
This isn't a great user experience. At a minimum whatever category was open before should remain open.
The same thing happens in the product view, so we should fix that as well.
There's a similar but not identical problem in the shopping list view. It's different enough that I'm going to make it it's own issue, namely #24. Both are about saving some kind of state across deletion events, but the state to save is slightly different.
In the Pantry view, there are red Xs that can be used to remove items from the pantry:
At the moment if you click one of those, you get a dialog asking you to confirm that you want to remove that item. If you say "OK", it takes you back to the "all categories closed" pantry view:
This isn't a great user experience. At a minimum whatever category was open before should remain open.
The same thing happens in the product view, so we should fix that as well.
There's a similar but not identical problem in the shopping list view. It's different enough that I'm going to make it it's own issue, namely #24. Both are about saving some kind of state across deletion events, but the state to save is slightly different.