pallets-eco / pallets-eco/flask-debugtoolbar
Update Codemirror files
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 978
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
We're currently on a very old version:
https://github.com/pallets-eco/flask-debugtoolbar/blob/efe447fb5fa53258c2e289c579179542bfa0036d/src/flask_debugtoolbar/static/codemirror/codemirror.js#L1
Latest version is the 6.x series: https://codemirror.net/
Some upgrade notes:
- https://codemirror.net/5/doc/upgrade_v3.html
- https://codemirror.net/5/doc/upgrade_v4.html
- https://codemirror.net/5/doc/releases.html#v5
However, a quick look makes me think upgrading should be relatively straightforward.
Alternatively, we could switch to a different editor, but I suspect that'd be significantly more work.
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/flask_debugtoolbar/static/codemirror/codemirror.js and compare the current CodeMirror files with the CodeMirror 5 upgrade notes and the CodeMirror 6 documentation linked in the issue. Determine which bundled editor files are affected, then verify that the debug toolbar still provides its editor functionality after the upgrade.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100