Improve flow of working with Assistant generated text

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

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

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

評価

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

調査の方向性

Issue にはソースファイル、テスト、エントリーポイントが記載されていません。まず、JavaScript エディターで選択したテキストと一覧にあるアクションを対象とする Assistant ツールバーのフローを見つけてください。完了の条件は、選択したテキストから、進行状況が表示され、AI による生成であることが明確に示されたインラインの生成結果が、完全なダイアログを開かずに生成されることです。

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

説明

design enhancement

Is your feature request related to a problem? Please describe.
Right now if you e.g. want to summarize a piece of text, you need to:

  1. Select the text
  2. Click on the Assistant icon in the toolbar
  3. Click on "Summarize"
  4. Be overwhelmed by the full Assistant dialog opening
  5. Know you have to click "Summarize" again
  6. Wait for it to generate
  7. Copy it out manually
  8. Paste it in manually

Describe the solution you'd like
This flow we could simplify to:

  1. Select the text
  2. Click on the Assistant icon in the toolbar
  3. Click on "Summarize"
  4. See a placeholder (e.g. in an infobox-like element with heading "Summary generated by Nextcloud Assistant") get inserted below the text you are summarizing which shows a progress indicator and automatically pastes the summary.

That flow is vastly simpler and less daunting, while also still clearly communicating that it’s AI-generated.

Additional context
This could be done for the actions like:

  • Generate headline (insert above)
  • Summarize (insert below?)
  • Reformulate text (insert below?)
  • Translate (insert below?)
Image

One possible drawback is that you can not easily re-generate a result or have error handling. But as a follow-up we could also add a "re-generate" button.

主要言語
JavaScript
スター
665
フォーク
133
平均マージ
1日 17時間
マージ済み PR(30日)
172

環境構築

はじめの一歩

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

nextcloud/text のほかの issue

nextcloud/text の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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