cheeaun / cheeaun/phanpy

Save the last scroll post to enable resuming reading posts where you left off

Open
#741 0 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
1.5k
Forks
186
Avg merge
1d 36m
Merged PRs (30d)
11

Description

**Is your feature request related to a problem? Please describe.**

When I open Phanpy again, it will scroll to the latest post, and this will make me lose progress because I will need to scroll down again to find the last post I was scrolling, then start scrolling up.

**Describe the solution you'd like**

I would like if phanpy stored the last visible post, probably in localstorage. So that when I re-open phanpy again, it will show that same post, and show a message at the top that shows there are new posts above. This should make that I don't get lost everytime I open phanpy

**Describe alternatives you've considered**

---

**Additional context**

The Ice Cubes app implements this on iOS. When I launch it, it will show the last post I was looking at when I last closed it and it will show a post counter at the top corresponding to the new number of posts.

Here is a screenshot of it in action.

![IMG_1314](https://github.com/user-attachments/assets/d318936e-7837-4694-849f-865cbb02bfcc)

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named; start by locating the feed's scroll handling and any existing localStorage usage. Done means reopening Phanpy restores the last visible post and shows the number of newer posts above it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.