forum Improved: the template editor can now reorder categories and fields (and a bit more)
Started by @andrew health_and_safety flash_onAdmin
tune

people_alt 100 followers

@andrew health_and_safety flash_onAdmin

The template editor for worldbuilding pages has been improved.

  • You can now reorder categories. Simply grab them by the reorder icon and drag them to the position you'd like them to be in. The reorder icon is the three grey horizontal bars to the left of the category icon.
  • You can now reorder fields within categories, too. It works the exact same way. :)
  • You can now rename categories. No need to hide them and create a new one anymore.
  • You can now rename fields. It works the exact same way – no need to delete a field and remake it anymore. :)
  • You can now delete entire categories at once. You can't delete categories that have a required field in them (e.g. the page's "Name" field or the "Universe" field), but any other category is fair game.

As usual, please let me know if anything looks weird or not right with this update. I expect this same code to power reordering pages like characters and scenes very soon, but I wanted to roll it out on this page first to make sure there weren't any bugs before a more widespread release. So.. you can look forward to that, too!

There's also a bunch of smaller bugfixes in this release, including:

  • Fixed a couple errors that could occur on the dashboard for people that filter to a universe with no pages in it.

  • The "General worldbuilding" forum now no longer links to Language pages in the navbar.

  • The checkboxes for managing your forum settings are no longer invisible, and forum settings can be edited again.

  • "Changelog" no longer appears in the sidebar when editing a page, since it's now in the navbar.

  • The recently-edited page (listing all your recently-edited stuff) should now always be up to date.

@Riorlyne pets

YES!! Thank you so much for this update! This is one that I have been looking forward to and I’m so excited to be able to tweak the worldbuilding templates even further. :D

Also, I know this pertains to the previous update, but I LOVE that the Changelog is now no longer lumped with the rest of the template. It’s a great feature, but I found its placement unhelpful and it’s so much better now.

I’ll keep an eye out for bugs but at the moment I’m all bubbly excitement. Off to do some serious reorganising!

@Riorlyne pets

I don’t know if this is just me being touchscreen-illiterate, but how does one reorder on a touchscreen? I will be able to try it with laptop and mouse tomorrow, but I’m limited to an iPad screen for the moment.

@andrew health_and_safety flash_onAdmin

Oof, not your fault. It worked on my touchscreen laptop while I was testing, so I just assumed it'd work on all touchscreen devices – but I now see it doesn't work on my phone either, so it might just be because my laptop has a mouse while touching. I'll look into how to hook up touch-only actions also.

@TeamMezzo group

You. Are. The. Freaking. Best. This is going to be SO freaking helpful!!
As for the touchscreen-compatibility issue, it's definitely because the iPad doesn't have a mouse. The code(probably?? I can't decipher coding for the life of me!) is working on mouse click, not nessicarrily touch. Just kinda thinking… but maybe that's why?

@andrew health_and_safety flash_onAdmin

(I believe) that was exactly it – the code that triggers was triggering on "click", but I needed some extra logic to trigger on "touch" also (because, apparently, they're not the same thing!). Just pushed up what I think should fix it (or, at least, fixes it on my Android phone and Android tablet). Anyone else want to check it and see if it works on an iPad/iPhone? Thanks! :)