[CHORE]: Remove `Plotly.Snapshot.toImage`
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 68/100
- Issue 類型
- 重構
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- javascript
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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
- 主要語言
- JavaScript
- 星號
- 18.3k
- 分支
- 2k
- 平均合併
- 1 天 14 小時
- 30 天內合併 PR
- 21
環境準備
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
plotly/plotly.js 的其他 Issue
-
chore P3 plotly-internal size: 3 task
難度 2/5 1-3 小時 新手友好度 77/100
維護者通常 1 天內回覆
-
chore P1 plotly-internal size: 1 task
難度 1/5 1 小時以內 新手友好度 82/100
維護者通常 1 天內回覆
-
chore P3 plotly-internal size: 1 task
難度 2/5 1-3 小時 新手友好度 65/100
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 65/100
plotly/plotly.js#7648 · 3 則留言 ·
維護者通常 1 天內回覆
-
bug infrastructure P2
難度 1/5 1 小時以內 新手友好度 65/100
維護者通常 1 天內回覆
相似的 Issue
-
refactor
難度 2/5 半天 新手友好度 84/100
維護者通常 5 天內回覆
-
translation
難度 2/5 1-3 小時 新手友好度 78/100
ciderapp/translations#87 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 67/100
維護者通常 1 天內回覆
-
component: split-view platform: windows
難度 2/5 1-3 小時 新手友好度 74/100
zen-browser/desktop#15616 · 1 個 reaction ·
維護者通常 1 天內回覆