Skip to content

fix(peers): preserve loaded peer list on back navigation - #361

Merged
trtajim merged 1 commit into
mainfrom
fix/peers-list-history-state
Sep 22, 2026
Merged

trtajim merged 1 commit into
mainfrom
fix/peers-list-history-state

Conversation

@trtajim

@trtajim trtajim commented Sep 22, 2026

Copy link
Copy Markdown
Member

Summary of Changes

  • Uses Inertia's useRemember hook for peerList and nextPageUrl in Peers/Index.vue so that pagination / loaded peers persist across browser history navigation.
  • Removes duplicate watchers for props.peers and props.filters.

Testing

  • Navigating to /peers, clicking 'Load More', navigating to a profile, and clicking back maintains the full loaded list.

@coderabbitai

coderabbitai Bot commented Sep 22, 2026

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Repository: hscstack/platform/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 54b3c751-3f39-4f70-aaeb-7389f2cd7f50

📥 Commits

Reviewing files that changed from the base of the PR and between 34b6e4b and 264fba3.

📒 Files selected for processing (1)
  • resources/js/pages/Peers/Index.vue
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@trtajim
trtajim merged commit f365531 into main Sep 22, 2026
5 of 6 checks passed
@trtajim
trtajim deleted the fix/peers-list-history-state branch September 22, 2026 16:38
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