Component page actions: take inputs and show a result

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript

調査の方向性

Start with ActionButton in src/features/instance/extensions/content/SectionsContent.tsx and the action types in manifest.ts; compare the proposed inputs with the existing form field definitions and trace how page requests pass through checkPageRequest. Done means actions can collect inputs in a dialog and render the declared json, table, code or download result shape while requests remain bounded.

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

説明

Problem

A component page's action button sends a fixed request and shows only a success toast (#2031). Plugin workflows need to ask for input first and show what came back: purge by tag or URL, a transform preview against a URL, a search playground, generated CDN property rules, "run this connector now".

Proposal

Let an action declare inputs (the same field definitions forms use), filled in a dialog before the request is sent, and a result shape that Studio renders: json, table, code or download. The request stays an operation the page declared, so checkPageRequest still bounds it.

Context

Raised in review of #2031 (comment). Code: ActionButton in src/features/instance/extensions/content/SectionsContent.tsx, and the action types in manifest.ts.

🤖 Generated by Claude Code (Claude Opus 5.5); posted via @dawsontoth.

主要言語
TypeScript
スター
5
フォーク
4
平均マージ
1日 19時間
マージ済み PR(30日)
144

環境構築

はじめの一歩

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

HarperFast/studio のほかの issue

HarperFast/studio の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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