Skip to content

k at page top lands on the last story of the previous page - #33

Merged
Shaance merged 1 commit into
mainfrom
feat/jk-land-at-page-edge
Nov 5, 2026
Merged

Shaance merged 1 commit into
mainfrom
feat/jk-land-at-page-edge

Conversation

@Shaance

@Shaance Shaance commented Nov 5, 2026

Copy link
Copy Markdown
Owner

j/k-triggered page switches now carry an explicit landing target: j past the last story lands on the next page's first story, k at the top lands on the previous page's last story (previously both landed on the first story, since position memory is per-feed). Manual n/p keep the existing position-restore behavior. Based on fix/jk-no-stack-during-fetch (#32).

Going back with k used to land on the previous page's first story because
position memory is per-feed. j/k-triggered page switches now carry an
explicit landing target (Start for j, End for k) that set_stories_for applies
when the new page loads; manual n/p keep the existing position-restore
behavior.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
@Shaance
Shaance force-pushed the feat/jk-land-at-page-edge branch from e5b8433 to a963c8b Compare November 5, 2026 16:34
@Shaance
Shaance merged commit c0eca02 into main Nov 5, 2026
@Shaance
Shaance deleted the feat/jk-land-at-page-edge branch November 5, 2026 16:34
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