Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch nearby blocks in full block view #2871

Open
marcolilli opened this issue Jan 3, 2023 · 0 comments
Open

Fetch nearby blocks in full block view #2871

marcolilli opened this issue Jan 3, 2023 · 0 comments

Comments

@marcolilli
Copy link

marcolilli commented Jan 3, 2023

How I personally use Are.na most of the time is by opening a channel's first block and then right-arrow-clicking through the channel. For each new image block, I have to wait a few seconds until it's loaded and displayed.

Proposal

In the full block view: We could reduce the wait time to zero if we'd not only fetch the current block, but also the previous and next one and – if they are image blocks – also download the image.

I had a quick look into the code and noticed that something similar is already implemented but not in full: When hovering over the left arrow in the top right corner, the content of the previous block gets requested. The image is not being downloaded, though. Also, this doesn't happen for the right arrow, which seems odd to me because I'd assume it is the more common action a user would take.

I'm a big Are.na fan and would love to contribute, therefore I don't hesitate with creating a PR for this optimization myself. I just wanted to hear from the maintainers if such a PR would be accepted. If yes, I'd need the env variables.

Screenshot 2023-01-03 at 15 28 31

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

No branches or pull requests

1 participant