makinacorpus / makinacorpus/django-mapentity
Switch navigation history to full JS
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 46
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
Currently, it is mixup of JS and Django session code :
https://github.com/makinacorpus/django-mapentity/blob/develop/mapentity/decorators.py#L12
https://github.com/makinacorpus/django-mapentity/blob/develop/mapentity/views/base.py#L168
It should be done 100% in JS using local storage lawnchair or whatever.
Contributor guide
No contributing guide indexed for this repository
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 mapentity/decorators.py, mapentity/views/base.py, and mapentity/static/mapentity/mapentity.history.js, then review the linked Geotrek issue for context. Trace how navigation history currently uses Django session code and JavaScript; done means the history is handled entirely in JavaScript with client-side storage instead of the existing mix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, javascript
- Domain
- full-stack
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100