Turn Welcome page setup into a step-by-step Get Started card

Aperta
#17,522 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
ai, frontend

Direzione di ricerca

Start with the Welcome page and the existing environment health card, which becomes step 1, and check how the workbench.experimental.uiRevamp flag gates the page. Step 2 needs an open decision resolved first: whether it is hidden or shows a Turn On AI Features button when ai.enabled is false. Done means the flag-on card walks through steps with Skip, Back, and Next/Finish, the step 2 calls to action open the named command and the ai.mcp.enabled setting, and the flag-off page is unchanged.

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

Descrizione

area: assistant area: welcome usability

Part of #17419. Behind workbench.experimental.uiRevamp.

Design: Welcome Page, "1. Welcome page setup steps"

Problem

The Welcome page only shows environment health. Nothing on it points new users to the AI features: signing in to a model provider, or setting up Positron's MCP server so external coding agents can use Positron. Users who do not already know about these features may never find them.

Proposal

Add a Get Started card to the Welcome page. It walks the user through setup one step at a time. The step names sit at the top of the card, with Skip Setup, Back, and Next beside them, so the buttons stay in the same place on every step. The last step's Next button reads Finish.

Step 1: Check your environment

The environment health card becomes this step. It shows what Positron found for Python and R, and lets the user fix anything that needs attention or move on and come back later.

Step 2: Set up AI agents

This step has two calls to action:

  • Choose a Provider: opens the Configure Language Model Providers modal (workbench.action.positronAssistant.configureProvidersFromAccounts).
  • Set Up the MCP Server: opens the Settings editor at ai.mcp.enabled. That setting lets external coding agents, such as Claude Code or Codex, run code in this window's Python and R sessions through Positron's MCP server.
Decision needed: step 2 when AI features are off

When ai.enabled is false, step 2 has two options:

  • Hide step 2. The card has two steps, and new users who have AI features off never hear about them from the Welcome page.
  • Keep step 2 and ask the user to turn AI features on. The step shows a Turn On AI Features button. After the user turns AI features on, the step shows the provider and MCP server calls to action. The design shows this as frame "2b. Step 2 when AI features are off: ask to turn them on".

With either option, step 2 stays hidden when an admin turned AI features off, for example through Posit Workbench's enforced settings. Read ai.enabled live, because it can change without a reload.

After setup

After the user finishes or skips setup, the card shrinks to a one-line summary the next time the Welcome page opens. For example: "Python ready, R: 1 fix left, Assistant: not set up". A Review Setup button brings the steps back.

Notes

  • After step 1, environment problems only show in the summary row, so the summary must make them clear.
  • A step-by-step setup can feel slow to experienced users, so Skip Setup must be easy to see.
  • A layout step and first-run changes to which views are shown are out of scope here. A later version with a layout step is drawn in "2. Welcome page setup steps with a layout step (later)".
  • When the flag is off, the Welcome page looks as it does today.
Lingua principale
TypeScript
Stelle
4.4k
Fork
207
Merge medio
1g 7h
PR unite (30g)
341

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 posit-dev/positron

Tutte le issue di posit-dev/positron

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.