[Bug] Restore feature not properly resetting zoom feature
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 52/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- typescript
調査の方向性
Zoom と Restore の toolbox ボタンを使用して、公式の line-aqi ECharts サンプルでリグレッションを再現し、ECharts 6.0.0 と動作を比較します。Zoom/Restore のインタラクションと datazoom リスナーの動作を調査します。Restore によってチャート、toolbox の状態、マウスアイコンがリセットされ、Restore を繰り返しても datazoom の出力が蓄積されなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
Version
6.1.0
Link to Minimal Reproduction
All echarts official example demos with Zoom/Zoom Reset and Restore toolbox buttons, e.g: https://echarts.apache.org/examples/en/editor.html?c=line-aqi
Steps to Reproduce
- Run any echarts example demo that has Zoom/Zoom Reset and Restore toolbox buttons
-- for example: https://echarts.apache.org/examples/en/editor.html?c=line-aqi - Move the mouse over the chart
-- Mouse icon will NOT display the zoom icon ("+")
-- good - Click on the Zoom toolbox button and then move the mouse over the chart
-- The Mouse icon will change to "+" the zoom icon
-- good - Click and drag the mouse on the chart
-- The chart will zoom in
-- good - Click the Restore toolbox button
-- Both the chartand the toolbox buttons/icons will reset
-- good - Move your mouse over the chart
-- Mouse icon is the "+" zoom icon
-- bad
Current Behavior
The Restore toolbox button fails to fully restore when the Zoom button is pressed followed by pressing the Restore toolbox button
See the video listed below
https://github.com/user-attachments/assets/675eb9c7-339b-4f4c-86f4-8bd05ae9e6d1
Expected Behavior
After pressing the Restore toolbox button, the chart and the toolbox buttons and the mouse icon are all restored to the original defaults
Environment
- OS: N/A
- Browser: N/A
- Framework: N/A
This issue can be reduced with Echarts Demo Examples. The issue is independent of my development environment or the browser used in testing.
Any additional comments?
This is a regression in ECharts 6.1.0. The restore feature worked properly in ECharts 6.0.0.
In addition, if you add a listener for the zoom action:
myChart.on('datazoom', (params) => {
console.log("data zoom params", params);
})
You can see that the restore button is not properly resetting zoom.
The video listed below shows the following:
1). Adding the zoom listener to the official echarts example demo
2) Repeating the following steps
-- click the zoom button, zoom in using the mouse, click the restore
3). Every time 2) is repeated, the zoom listener results in an incremental increase of multiple console output
https://github.com/user-attachments/assets/bcc7b260-a3bf-4187-be1b-cdfaf9442998
- 主要言語
- TypeScript
- スター
- 67.7k
- フォーク
- 19.9k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/echarts のほかの issue
-
[Bug] String formatter templates only replace the first occurrence of `{a}`/`{b}`/`{c}`対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンen pending
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
-
[Bug] Inverse axis collapses the grid with outerBoundsContain when a tick is near the axis edge対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンen pending
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
en pending
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
en pending
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
[Bug] The zoom cursor in the toolbox area is incorrect対応中かも @waterWang が 98 日前に担当しました。 オープンbug en pending
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
似ている issue
-
Stop retrying permanent GitHub API failures in retry.sh対応中かも @muspi-merol-review が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
promplate/code-review#113 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
サムネイルの Storage のバケット(`thumbnails`)に、大きさの上限(1 MiB)と許可する種類(JPEG、PNG、WebP)を設定する対応中かも @ykzts が今日担当しました。 オープンtech: supabase
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
inabagumi/shinju-date#7147 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
elecnix/your-attention#129 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
umami-software/umami#4780 ·
メンテナーはふだん 3 日以内に返信