Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

feature: For ft. DragTarget() component adds event throttling,Very important

オープン
#6,491 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
flutter, python

調査の方向性

まず、Python と Flutter の通信経路全体で、ft.DragTarget() の on_move および on_accept イベントと、ft.Draggable() の on_drag_complete イベントを追跡します。イベントのスロットリングがどのように機能すべきかを定義します。特に、1 回だけ発生する on_accept の結果を on_move の更新から独立させます。複雑なドラッグアンドドロップページが応答性の高い更新を受け取り、最終的な受け入れまたは完了イベントを遅延させないことを完了条件とします。

索引モデルが issue の本文から書いたものです。

説明

feature request
Duplicate Check
Describe the requested feature

The dragging of the ft.Draggable() component is very smooth, but due to the communication latency between Python and Flutter, the data return of the on_move and on_accept events of the ft.DragTarget() component, as well as the on_drag_complete event of the ft.Draggable() component, suffers from very severe delays in complex page scenarios. This directly impairs the usability of the components. I hope to add throttling to the returned data of these events—for example, returning data every xx milliseconds—which can greatly improve the usability of the components. This provides a very powerful improvement for smooth usage. Ideally, the data return of the on_accept event should be isolated from the on_move event, because on_accept only needs to return data once, whereas on_move needs to return data in real time. Currently, the on_accept data return delay is very serious, and I suspect it is affected by the on_move delay.
This is a very important optimization, as it can deliver a very smooth experience with the simplest adjustment.

Suggest a solution

No response

Screenshots

No response

Additional details

No response

主要言語
Python
スター
17.1k
フォーク
708
平均マージ
1日 17時間
マージ済み PR(30日)
46

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

flet-dev/flet のほかの issue

flet-dev/flet の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。