The Glowfic Constellation

Do you have a setting, character, plot, art, or other notion that you wish to put on the Internet? This is the Internet! Whee!
User avatar
Ezra
Posts: 944
Joined: Tue Mar 25, 2014 11:15 am
Pronouns: he/him/his

Re: The Glowfic Constellation

Post by Ezra »

It has been like a week or two since I've had "visited" link colors on page numbers. It's a small inconvenience.
Marri
Posts: 1026
Joined: Mon Mar 31, 2014 7:47 am

Re: The Glowfic Constellation

Post by Marri »

The page numbers that appear when reading a post or the ones that appear in [brackets] when selecting the post from a list or both?
User avatar
Ezra
Posts: 944
Joined: Tue Mar 25, 2014 11:15 am
Pronouns: he/him/his

Re: The Glowfic Constellation

Post by Ezra »

The ones at the tops and bottoms of pages in threads. I've been accessing them via Daily Report links, if it matters.
Throne3d
Posts: 1282
Joined: Sat Oct 10, 2015 1:11 pm
Pronouns: He/him/his
Location: United Kingdom

Re: The Glowfic Constellation

Post by Throne3d »

Ezra wrote:The ones at the tops and bottoms of pages in threads. I've been accessing them via Daily Report links, if it matters.
It's probably due to the fact those URLs are on /replies/id#reply-id, and that varies based on each and every single reply link for the thread, so it won't show up in your history properly.
I'm not sure of a nice way to fix this, except maybe telling the Javascript all the reply IDs in a thread, telling it the thread ID, then getting it to poll your history for all pages you've seen on that thread based on those replies? But that would be ugly and difficult to implement, as well as probably slow and buggy, because you'd also have to work out what pages the individual replies are on?

Unless I'm over-complicating things, it seems like it'd be difficult to fix.
User avatar
DanielH
Posts: 3745
Joined: Tue Apr 01, 2014 1:50 pm
Pronouns: he/him/his

Re: The Glowfic Constellation

Post by DanielH »

Can’t you tell JS that the page you are currently on is really a different page? Then it would just automatically show up correctly.
User avatar
Adelene
Posts: 678
Joined: Fri Mar 21, 2014 5:18 pm
Pronouns: they

Re: The Glowfic Constellation

Post by Adelene »

Throne3d wrote:
Ezra wrote:The ones at the tops and bottoms of pages in threads. I've been accessing them via Daily Report links, if it matters.
It's probably due to the fact those URLs are on /replies/id#reply-id, and that varies based on each and every single reply link for the thread, so it won't show up in your history properly.
I'm not sure of a nice way to fix this, except maybe telling the Javascript all the reply IDs in a thread, telling it the thread ID, then getting it to poll your history for all pages you've seen on that thread based on those replies? But that would be ugly and difficult to implement, as well as probably slow and buggy, because you'd also have to work out what pages the individual replies are on?

Unless I'm over-complicating things, it seems like it'd be difficult to fix.
And I don't think there's a way for me to do the DR links that doesn't trigger that. If there is, or there could be made to be, I can switch, though.
Utility Admin
Throne3d
Posts: 1282
Joined: Sat Oct 10, 2015 1:11 pm
Pronouns: He/him/his
Location: United Kingdom

Re: The Glowfic Constellation

Post by Throne3d »

DanielH wrote:Can’t you tell JS that the page you are currently on is really a different page? Then it would just automatically show up correctly.
Well it could, but I think that would mess up people's histories and, to be honest, I think you might as well just have the /replies/id thing be a permalink to the applicable page of the thread? But people didn't seem to like that idea before.
Adelene wrote:And I don't think there's a way for me to do the DR links that doesn't trigger that. If there is, or there could be made to be, I can switch, though.
You probably couldn't do it very easily, since you'd have to link to a specific page of a thread to get the reply on the page, and that has the previous issue of different per_page settings – I think it'd have to be fixed on the Constellation's end.
User avatar
Ezra
Posts: 944
Joined: Tue Mar 25, 2014 11:15 am
Pronouns: he/him/his

Re: The Glowfic Constellation

Post by Ezra »

Could the links be page-based, even when the initial URL is reply-based?
Marri
Posts: 1026
Joined: Mon Mar 31, 2014 7:47 am

Re: The Glowfic Constellation

Post by Marri »

I feel like the easy way to fix it is to try and force the pagination to use the /posts link rather than the /replies link. Then the DR can keep using the /replies link but the pagination will display Already Read correctly. I'll put it on the issues list.

EDIT: Yes, totally what Ezra said.
Marri
Posts: 1026
Joined: Mon Mar 31, 2014 7:47 am

Re: The Glowfic Constellation

Post by Marri »

Pushed a thing that should force pagination to use /posts instead of /replies when viewing a post. Let me know if you see weird behavior.
Post Reply