Well, I think for now I am satisfied with the comment sections. There were a few things I toyed with. Like having replies to comments. But I decided that's not the type of thing I want on this. There are still things I will implement, like deleting and editing comments. I also tried to make the user experience better in terms of UI. Which is a thing that is sometimes hard to get right. Not too much of a designer. Just making sure things align right, are readable, and easy to use. A few challenges about the comments that I faced. First was getting the order to show newest first. Query this didn't seem to work right on the live version, but did fine in development. So I went with a solution of simply passing the argument in the url as a parameter. Then using webargs to parse it and sort it that way. GAE-Init, the boilerplate this is based off, made that incredibly and was only a few lines of code. The other added benefit was this made pagination much easier to deal with as well. Previously, I could not get pagination to sort correctly so it messed up the pages. Doing it this way fixed that. This will also allow me to sort oldest as well, which will come. I also toyed with a few versions on how to present it to the user. Such as having a separate comment section entirely. Ultimately, I decided to simply keep everything on the same page. I figure this would enhance experience as no one really like clicking a bunch of links if they don't have to. Thanks for taking the time to read.
Back