Component page actions: take inputs and show a result

Aperta
#2,035 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
5
Fork
4
Merge medio
1g 20h
PR unite (30g)
140

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di HarperFast/studio

Tutte le issue di HarperFast/studio

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.