Skip to content

Reader modernization step 2#1676

Open
siliconfeces wants to merge 4 commits into
Difegue:devfrom
siliconfeces:reader_header_footer
Open

Reader modernization step 2#1676
siliconfeces wants to merge 4 commits into
Difegue:devfrom
siliconfeces:reader_header_footer

Conversation

@siliconfeces

Copy link
Copy Markdown
Contributor

Electric bogaloo!

This step focuses on migrating the header/footer parts of the reader to preact, while touching up some code that ended up very related.

It also (somewhat/partially?) fixes the page 2 bug in #1675.

@siliconfeces
siliconfeces marked this pull request as draft July 12, 2026 19:12
@siliconfeces

Copy link
Copy Markdown
Contributor Author

I just noticed some async issues have popped up again, some of my changes didn't mesh well with some previous fiddling with the double-page rendering.

@siliconfeces
siliconfeces marked this pull request as ready for review July 12, 2026 20:12
@siliconfeces

Copy link
Copy Markdown
Contributor Author

Okay, so a lot of the issue was that I had repaired/preserved the function where a loading spinner appears if it takes more than 0.5s to load the image. That had broken earlier during some bug fixing, so things became weird.

That spinner can appear again now, and I haven't managed to get the async issue to reappear. So, this PR is part preactification and part restoring the loading spinner. Double-page mode MIGHT be more efficient now as well, as both images are loaded concurrently now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant