Page 16 of 23

Re: Glowfic platform

Posted: Thu Feb 11, 2016 11:45 pm
by Marri
I put it in the v2 section. Though I think part of the problem is that the If-Not-Modified type stuff gets set before it can check if you're logged in? Maybe? Haven't dug much yet. (If you're interested in tech details.)

Re: Glowfic platform

Posted: Thu Feb 18, 2016 9:34 pm
by Marri
Updates:
  • Fixed a couple bugs
  • Ran out of database space again, got told by a friend who used to be at Heroku that it might not actually shut off after a week, tried it, it totally shut off, gave up and just upgraded
  • Built an Unread Threads section. Page is here, doesn't work if you're logged out, includes the options to mark things as read or to straight up hide things from the unread page (where 'things' may be replaced with 'a single post' or 'an entire continuity'). Unhiding is not a website button yet but I can do it for you manually if you would like such a thing before I get a button up. (And oh god if you have suggestions for a better UI for it I am all e-ears)

Re: Glowfic platform

Posted: Thu Feb 18, 2016 10:39 pm
by Ezra
What a nice feature. :)

Re: Glowfic platform

Posted: Fri Feb 19, 2016 2:16 am
by jalapeno_dude
Built an Unread Threads section. Page is here, doesn't work if you're logged out, includes the options to mark things as read or to straight up hide things from the unread page (where 'things' may be replaced with 'a single post' or 'an entire continuity'). Unhiding is not a website button yet but I can do it for you manually if you would like such a thing before I get a button up. (And oh god if you have suggestions for a better UI for it I am all e-ears)
Cool. Now all I need is a "go to first unread comment" button/link and I'll be totally happy. :)

Re: Glowfic platform

Posted: Fri Feb 19, 2016 3:54 pm
by jalapeno_dude
Actually, now I'm a little confused about how the Unread Threads page works.

1. The last time I visited the board was at the time of my last post above, and the Recently Updated section tells me that two threads have updated today, but only one of them (Full House, Blessings filled with Curses) is showing up in Unread Threads.
2. Also, looks like a thread is removed from Unread Threads the second you visit it, even if you haven't actually seen the new post (to test, I changed my posts per page to 1 and clicked on Full House, Blessings filled with Curses, which removed it from the page). Not the behavior I'd expect.

Re: Glowfic platform

Posted: Fri Feb 19, 2016 7:54 pm
by Marri
1. Which post do you expect to show up that isn't showing up? That sounds like a bug I'd want to look into but there's at least four that updated today (I'm probably just late in getting to this).

2. I haven't put in per-page stuff yet. I have a plan that should be straightforward to implement, but it's not yet done and should arrive when the Go To Unread Post thing does. Right now it's just "have you opened this post", you're right.

Re: Glowfic platform

Posted: Fri Feb 19, 2016 8:43 pm
by DanielH
Is there a way to mark posts as unread? In sights that lack that feature (like these forums) I sometimes open things up, then decide I don’t want to read them right yet but can’t close them without them because they count as read.

Re: Glowfic platform

Posted: Fri Feb 19, 2016 10:12 pm
by Marri
Unread now takes pages (naively*) into account and I added a button in the top right of a post to (naively**) mark it as unread.

* Because I just store a timestamp per post, it may get confused if someone goes back to edit a post on an earlier page. Example: I write page A, then write page B, then edit something on page A, the most recent thing is now on page A, so someone will go to the page and read page A and then the code will think they've read everything, because they have read up to the most recent post.

** It will say you have read nothing, it doesn't have a "unread after this point" option.

Re: Glowfic platform

Posted: Sat Feb 20, 2016 4:43 am
by jalapeno_dude
Marri wrote:1. Which post do you expect to show up that isn't showing up? That sounds like a bug I'd want to look into but there's at least four that updated today (I'm probably just late in getting to this).
My last visit was roughly when I made my last post above (Feb 19th 2:54 PM in my time zone).

Here is what the relevant portion of Recent Threads looks like for me. And here is what Unread Threads looks like for me.

I would have expected that all six of the threads that updated since my last visit would be listed in Unread Threads, but instead only two are.

EDIT: Also, clicking the "Mark Unread" button returns a message saying "Post has been marked as unread" as expected, but the thread does not actually show up in Unread Threads after that. Seems unlikely that this is browser-dependent but I checked that I get the same (lack of) results in both Chrome and Firefox.

Re: Glowfic platform

Posted: Sat Feb 20, 2016 11:15 am
by Marri
Hmmm, something weird for sure :) I'll take a look when I'm home. (My guess off the top of my head is, stupidly enough, that I am mucking up user ids somehow)