FlowFuse / FlowFuse/node-red-function-gpt

Insert at Cursor

オープン
#11 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
size:S type:feature
主要言語
HTML
スター
31
フォーク
5
PR マージ指標
30日以内にマージされた PR はありません

説明

### Description

Currently, the response from the API populates the entire active tab contents, overwriting anything already present. It would be nice to have a toggle option alongside the "Ask ChatGPT" button that permits the response to "insert", rather than replace. This should insert at the position of the active cursor, or at least, the last place the cursor was selected in that text box, given that browser focus will be in the CHatGT text input, or on the "Ask ChatGPT" button.

### Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

"Ask ChatGPT" ボタンの UI コードとアクティブなタブに内容を入力するロジックを見つけ、次にテキストエリアのカーソルまたは選択範囲がどのように追跡されているかを調べます。トグルによって、タブ全体の内容を置き換えるのではなく、アクティブなカーソル位置または最後に選択した範囲にレスポンスを挿入できるようになれば完了です。

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

評価

技術スタック
html
領域
frontend
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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