[CHORE]: Remove `Plotly.Snapshot.toImage`
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 68/100
- Type d'issue
- Refactorisation
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- javascript
- Domaine
- data-visualization
Piste de recherche
Start with src/snapshot/toimage.js and the references at src/snapshot/index.js:11, devtools/test_dashboard/devtools.js:86, and src/snapshot/svgtoimg.js. Trace how the public API is exposed through src/core.js and confirm there are no remaining callers under src/. Done means the implementation and existing references are removed consistently, with the breaking-change and deprecation decision resolved for the next major release.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Description
Remove Plotly.Snapshot.toImage and its implementation in src/snapshot/toimage.js.
Why should this change be made?
Plotly.toImagereplaced it in 2016 (642ddbaee5)- The old function has no caller under
src/and no test coverage
Scope
- Delete
src/snapshot/toimage.js - Update/remove the existing references (
src/snapshot/index.js:11,devtools/test_dashboard/devtools.js:86,src/snapshot/svgtoimg.js)
Notes
- This is a breaking change, so save it for the next major release
- This removes a public API through
exports.Snapshotinsrc/core.js - We could add a deprecation notice first
- Langage dominant
- JavaScript
- Étoiles
- 18.3k
- Forks
- 2k
- Merge moyen
- 2 j 10 h
- PR mergées (30 j)
- 30
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de plotly/plotly.js
-
bug
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
-
chore P3 plotly-internal size: 3 task
Difficulté 2/5 1-3 heures Accessibilité débutants 77/100
-
chore P1 plotly-internal size: 1 task
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
-
chore P3 plotly-internal size: 1 task
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Toutes les issues de plotly/plotly.js
Issues similaires
-
Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
Automattic/safe-publish#594 ·
-
内部文件键(绝对路径的 base64)泄漏到界面标签 Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
dream-num/dsh-univer-office#104 ·
-
comp/dashboard invalid P3
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
NousResearch/hermes-agent#121143 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
avniproject/avni-webapp#1811 ·
-
area/auroraboot area/webui bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100