luckyframework / luckyframework/lucky
Restore scroll position after crystal build reloads
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Crystal
- Stars
- 2.7k
- Forks
- 172
- PR merge metrics
- No merged PRs in 30d
Description
The reload script for Bun restores the previous scroll position after a full reload, but Lucky's reload script does not. It's just a few lines of code to add that and it's a nice QOL improvement.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/lucky/tags/bun_reload_tag.cr at lines 19-23 to understand how the Bun reload script restores scroll position, then locate Lucky's corresponding reload script. Add equivalent scroll restoration and verify that a full reload preserves the previous scroll position.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- crystal
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 75/100