AO3: [Wrangling] Edit Tag page cleanup

Removes descriptions and some fields from Edit Tag pages to avoid wrangling accidents

Автор
escctrl
Щоденних встановлень
0
Всього встановлень
55
Рейтинги
0 0 0
Версія
4.5
Створено
23.06.2022
Оновлено
01.07.2023
Ліцензія
MIT
Відноситься до

Purpose: reduce the visual overwhelm on the Tag Edit pages and avoid accidentially using a field in a circumstance when it shouldn't be.

  • hides all of the descriptive text
  • removes several fields in situations they're not needed
    • metatag fields on anything other than canonical tags are unnecessary
    • fields to add synonyms and subtags to a canonical (you can easily disable that! check the comments in the code, it tells you which line to comment out)
    • hide the unwrangleable checkbox on canonicals and synonyms
    • hide the canonical checkbox on synonyms and unwrangleable tags
    • the field to syn a tag is not needed if it's set as unwrangleable
  • the canonical checkbox is disabled while the tag's still attached to a metatag.
  • on Synonym tags, the button for editing its canonical is removed. Instead the name of the tag itself is a link to its Tag Edit page.
  • on unfilterable tags, the input focus jumps to the synonym field
  • if the tag is still in draft, the "Draft (x)" in the sidebar/on top is highlighted
  • if a synned tag is no longer in use, the "Taggings Count (x)" in the sidebar/on top is highlighted