pallets-eco / pallets-eco/flask-debugtoolbar

Update Codemirror files

Open
#240 0 comments 0 reactions 0 assignees View on GitHub

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:

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.