Well, it is football season. And I realized my userbar wasn’t displaying correctly. Seems I commented out the pictures during my last fix. Oops. Fixed again.
I’ve been slowly killing off my old subdomains. I still get traffic to my ZX81 site, but usually it is a deep link to an article. Google is doing a good job of not serving up those old links but I still see a few hits. To force the transition, I added redirects in all my old articles. These point to the correct article on my main site. Anyone hitting one of those old links should end up in the right space. I’ll let this run for another month and see if I can finally retire that old domain.
Spent some time fixing up the code for verifying and publishing articles that aren’t auto-published. Generally something I haven’t used, but started to play with it while working on another routine. Nothing members will notice but I did find a couple bugs to fix. Tags will now work properly. It uses the standard editor to publish articles. Lastly, it supports the standard status prompts.
Apparently when I added in the validation modal’s for a deletion, I left in the default heading. I’m not sure how I missed it saying “Modal Heading” in each of the forms. I corrected the heading as well as styled some of anchor tags differently. Nothing too noticeable but let me know if something doesn’t work for you.
I had a bit of fun today reworking the the updates for number of site features. For users, this will be mostly seen when you make a change to a race. Over time I’ll add the feature to other areas. The main goal was to avoid accidental changes when resubmitting a page. To fix that, I used an old—but new to me—pattern of Post-Redirect-Get.
Where I have updated thus far (Races, Programs and Changes), when you add/edit/delete an entry it will now redirect on completion. That redirect sends a response to tell you if the action was successful or not. The advantage of this solution is that it will no longer accidentally do a submit if you refresh the page.