scottohara / loot

An implementation of some of the core MS Money features in Ruby on Rails
MIT License
4 stars 3 forks source link

Recently used subcategories should show parent #137

Open scottohara opened 5 years ago

scottohara commented 5 years ago

It is possible for a top-level category and a subcategory (for a different parent) to have the same name, e.g.

Miscellaneous (top-level category) Bank Charges > Miscellaneous (subcategory)

If both are accessed, the recently used categories dropdown shows what appears to be duplicate values, e.g. image

A better UX would be to distinguish between them, by including the parent for any recently used subcategories, e.g.

Category List
Recent categories
Bank charges > Account Fee
Bank charges
Bank charges > Miscellaneous
Miscellaneous

(This would, however, mean that we need to change how items are added to the recently used list, as currently we just serialise the category JSON, which only has the parent_id and not it's description)