Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

[CHORE]: Remove `Plotly.Snapshot.toImage`

Offen
#8,062 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
68/100
Issue-Typ
Refactoring
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
javascript

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

chore P3 plotly-internal size: 3 task
Description

Remove Plotly.Snapshot.toImage and its implementation in src/snapshot/toimage.js.

Why should this change be made?
  • Plotly.toImage replaced 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.Snapshot in src/core.js
  • We could add a deprecation notice first
Vorherrschende Sprache
JavaScript
Sterne
18.3k
Forks
2k
Ø Merge
2 T. 10 Std.
Gemergte PRs (30 T.)
30

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus plotly/plotly.js

Alle Issues in plotly/plotly.js

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.