Add the ability to define a relationship between two tags. I think this could be an elegant solution to a few of our tagging problems:
Things that mean the same thing - "Illithid" and "Mind Flayer", "Set" and "Bundle", "Mage" and "Sorcerer"
Things that can be "parented" - "Gold Dragon" is a "Dragon", "Scimitar" is a "Sword", Something that lives in the "Ocean" is by definition "Aquatic"
Schema could basically be: ID, TagId1, TagId2, Relationship. Relationship being an enum with something like "Synonym" and "Parent" to start, more probably could be added later.
[x] Add the TagPair concept
[x] When adding a MiniTag, look for TagPairs to add - We're doing this on add because that's async and we can be greedy with this search if the search tree gets complex.
[x] Cascade the search of pairs
[x] Handle deleting and re-adding a tag
Add pair management page for moderators - Two select boxes with all tags listed, and a middle select box with the relationship type or "replace" which cleans up one of the tags.
Tag Categories page should link out to an "Edit Tag" page that has:
[x] Tag Name
[x] Category (modifiable)
[x] Some way to replace or delete the tag
[x] Number of Minis (linking to all the tagged Minis)
[x] List of all pairs with the option to remove it
[x] Pair list should have a link to the edit tag page for the other tag and a way to change the PairType
[x] Rework Tag Manager page
[x] Add new child as a new pair option
Future work:
[x] Do #186
[ ] Do #207
[ ] Make a bunch of useful pairs
[ ] Write a helper to go through all existing Minis and propose TagPairs
[ ] When viewing a Mini, make TagPairs clear with common region principle
Add the ability to define a relationship between two tags. I think this could be an elegant solution to a few of our tagging problems:
Schema could basically be: ID, TagId1, TagId2, Relationship. Relationship being an enum with something like "Synonym" and "Parent" to start, more probably could be added later.
Add pair management page for moderators
- Two select boxes with all tags listed, and a middle select box with the relationship type or "replace" which cleans up one of the tags.Tag Categories page should link out to an "Edit Tag" page that has:
Future work:
Make a bunch of useful pairsWrite a helper to go through all existing Minis and propose TagPairsWhen viewing a Mini, make TagPairs clear with common region principle