AO3: [Wrangling] Edit Tag page cleanup

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

Από την 01/08/2022. Δείτε την τελευταία έκδοση.

Δημιουργός
escctrl
Βαθμολογίες
0 0 0
Έκδοση
4.3
Δημιουργήθηκε την
23/06/2022
Ενημερώθηκε την
01/08/2022
Μέγεθος
6 KB
Άδεια
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