aluhrs13 / TheMiniIndex

Crowd-sourced library of 3d models (minis, terrain, scatter, etc.) for D&D, Pathfinder, and other tabletop games.
https://www.TheMiniIndex.com/
28 stars 5 forks source link

Add ability to pair tags #197

Closed aluhrs13 closed 4 years ago

aluhrs13 commented 4 years ago

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:

  1. Things that mean the same thing - "Illithid" and "Mind Flayer", "Set" and "Bundle", "Mage" and "Sorcerer"
  2. 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.

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: