Glowfic platform

Do you have a setting, character, plot, art, or other notion that you wish to put on the Internet? This is the Internet! Whee!
Marri
Posts: 1026
Joined: Mon Mar 31, 2014 7:47 am

Re: Glowfic platform

Post 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.)
Marri
Posts: 1026
Joined: Mon Mar 31, 2014 7:47 am

Re: Glowfic platform

Post 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)
User avatar
Ezra
Posts: 944
Joined: Tue Mar 25, 2014 11:15 am
Pronouns: he/him/his

Re: Glowfic platform

Post by Ezra »

What a nice feature. :)
User avatar
jalapeno_dude
Posts: 1184
Joined: Sat Mar 22, 2014 2:57 pm
Pronouns: He

Re: Glowfic platform

Post 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. :)
User avatar
jalapeno_dude
Posts: 1184
Joined: Sat Mar 22, 2014 2:57 pm
Pronouns: He

Re: Glowfic platform

Post 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.
Marri
Posts: 1026
Joined: Mon Mar 31, 2014 7:47 am

Re: Glowfic platform

Post 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.
User avatar
DanielH
Posts: 3745
Joined: Tue Apr 01, 2014 1:50 pm
Pronouns: he/him/his

Re: Glowfic platform

Post 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.
Marri
Posts: 1026
Joined: Mon Mar 31, 2014 7:47 am

Re: Glowfic platform

Post 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.
User avatar
jalapeno_dude
Posts: 1184
Joined: Sat Mar 22, 2014 2:57 pm
Pronouns: He

Re: Glowfic platform

Post 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.
Marri
Posts: 1026
Joined: Mon Mar 31, 2014 7:47 am

Re: Glowfic platform

Post 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)
Post Reply