One more thing, currently the box doesn’t fully fit on my screen vertically when it’s open (I’m using a laptop that doesn’t have a high resolution). Is there a way to make the open box fit on the screen?
I have a kinda-opposite problem. There’s a “wide mode” but not a “tall mode”, and for reasons beyond my understanding the box with the actual content in it is about half the height of my browser window. I can understand why you wouldn’t make it full-width by default—very wide text can be hard to read—but I can’t think of any reason for preferring less than (full height minus reasonable margins).
Personally, for width I would prefer something intermediate between normal and “wide” (given the actual dimensions of my browser window, which occupies half of quite a large monitor) and for height I would prefer All The Pixels. Would it be difficult to have a “manual control” mode where you can set width, height and font size arbitrarily?
I see it’s some way behind the current state of the story. Is that because there’s some background thing that fetches only every so often, or because there’s a cacheing layer that might be stale, or what?
[EDITED to add:] I guess it’s reading from the epub on Dropbox?
Yeah probably a stale caching layer, what fic were you reading? Glowflow doesn’t read from an epub, it’s reading html from the site itself.
Lemme try rebooting to see if that refreshes. That’s obviously not sustainable… I didn’t expect people to actually use it for a live, updating fic lol.
Edit: added a “Clear cache” button, hope that solves it!
Currently some way behind again; clicking “clear cache” does do something that looks like reloading but doesn’t make it not be some way behind.
[EDITED a couple of days later to add:] No change to what the reader is showing since then even though there have been updates on glowfic.com. The “clear cache” button doesn’t appear to help. Forcibly reloading the page also doesn’t appear to help.
Right now, what happens when I go there is that I get “Oh no. Error running app. If this keeps happening, please contact support.” (In both Firefox and Chrome, on Linux. It was OK earlier today. I have Firefox configured to disable most Javascript but have whitelisted the domains I think the app actually needs, and again it was working OK earlier today, and Chrome doesn’t have any of the JS-blocking stuff.)
The only possibly-useful-looking thing in the Javascript console says “INITIAL → (10, 0, undefined) → ERROR”.
This is how it looks now when I increase the width. The outer box doesn’t widen together with the text and background, and the text doesn’t stay centered. Also, dark mode seems to have stopped working.
Hm, do you have “dark mode” toggled on the sidebar? (There’s two settings unfortunately due to how Streamlit is set up):
The outer box doesn’t widen together with the text and background, and the text doesn’t stay centered
Yeah unfortunately this is mostly working-as-implemented. The box size isn’t a thing I can change; “Wide Mode” lets it the box be big, otherwise it’s small.
Text centering might be possible if you’re in “Wide Mode”—I’ll look into that.
Awesome! Thanks!
One more thing, currently the box doesn’t fully fit on my screen vertically when it’s open (I’m using a laptop that doesn’t have a high resolution). Is there a way to make the open box fit on the screen?
Hrm, I think I could code in a way to specify the height of the box… lemme look into it.
Thanks for all your suggestions, btw!
I have a kinda-opposite problem. There’s a “wide mode” but not a “tall mode”, and for reasons beyond my understanding the box with the actual content in it is about half the height of my browser window. I can understand why you wouldn’t make it full-width by default—very wide text can be hard to read—but I can’t think of any reason for preferring less than (full height minus reasonable margins).
Personally, for width I would prefer something intermediate between normal and “wide” (given the actual dimensions of my browser window, which occupies half of quite a large monitor) and for height I would prefer All The Pixels. Would it be difficult to have a “manual control” mode where you can set width, height and font size arbitrarily?
Done! Thanks for the feedback. Hoping 2000px is plenty but it’s easy to increase lol.
(Having too many options is sometimes a symptom of bad UX design, but it seems reasonable for a web reader to support these all of these.)
Nice!
I see it’s some way behind the current state of the story. Is that because there’s some background thing that fetches only every so often, or because there’s a cacheing layer that might be stale, or what?
[EDITED to add:] I guess it’s reading from the epub on Dropbox?
Yeah probably a stale caching layer, what fic were you reading? Glowflow doesn’t read from an epub, it’s reading html from the site itself.
Lemme try rebooting to see if that refreshes. That’s obviously not sustainable… I didn’t expect people to actually use it for a live, updating fic lol.
Edit: added a “Clear cache” button, hope that solves it!
Currently some way behind again; clicking “clear cache” does do something that looks like reloading but doesn’t make it not be some way behind.
[EDITED a couple of days later to add:] No change to what the reader is showing since then even though there have been updates on glowfic.com. The “clear cache” button doesn’t appear to help. Forcibly reloading the page also doesn’t appear to help.
I was, unsurprisingly given context :-), trying to read the latest Planecrash: https://share.streamlit.io/akrolsmir/glowflow/main?post=5930
Right now, what happens when I go there is that I get “Oh no. Error running app. If this keeps happening, please contact support.” (In both Firefox and Chrome, on Linux. It was OK earlier today. I have Firefox configured to disable most Javascript but have whitelisted the domains I think the app actually needs, and again it was working OK earlier today, and Chrome doesn’t have any of the JS-blocking stuff.)
The only possibly-useful-looking thing in the Javascript console says “INITIAL → (10, 0, undefined) → ERROR”.
Sorry about that—had some configuration issues. It should work now!
Yup, all working (and apparently up to date) now. Thanks!
This is how it looks now when I increase the width. The outer box doesn’t widen together with the text and background, and the text doesn’t stay centered. Also, dark mode seems to have stopped working.
Hm, do you have “dark mode” toggled on the sidebar? (There’s two settings unfortunately due to how Streamlit is set up):
Yeah unfortunately this is mostly working-as-implemented. The box size isn’t a thing I can change; “Wide Mode” lets it the box be big, otherwise it’s small.
Text centering might be possible if you’re in “Wide Mode”—I’ll look into that.
Text centering should now be live!