Add a source file to an existing project from Explorer

Aperta
#16 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
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
react, typescript

Direzione di ricerca

Start by inspecting the Explorer file actions and the existing multi-file import and project save/reopen flows; the payload does not name specific files or tests. Reproduce the reported workflow on a recorded engine and build, then check how adding a file interacts with duplicates, invalid source, cancellation, drafts, and the last valid model. Done means a separate file can be added to the open project and the complete project survives save and reopen.

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

Descrizione

enhancement

Source and status

WP26 feedback report — Bug 3; suggestion 7. Session dated 2026-11-10, using the hosted editor as served that day; deployed commit was not identified. The report does not establish current develop or current deployment behavior.

Reported by Zargham in WP26; not independently reproduced by maintainers.

Problem

The editor imports multiple files, but the reported Explorer menu had no way to add another source file to the open project. This is a missing editing capability, not a one-file project-format limit.

Reproduction / requested workflow

  1. Open a one-file project.
  2. Inspect Explorer file actions.
  3. Try to add a separate views file without replacing the current project.

Acceptance / investigation criteria

  • Offer an explicit add/create/import-file action within the current project.
  • Handle duplicate names, invalid source and cancellation without replacing existing source or drafts.
  • Save/reopen preserves the complete multi-file project.

Evidence

Model files at the reported revision.

Preserve unapplied drafts and the last valid model. Record exact engine/build identity and distinguish a reported observation from a newly reproduced result.

Lingua principale
TypeScript
Stelle
2
Fork
0
Merge medio
13h 40m
PR unite (30g)
17

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 Open-MBEE/sysml_view_editor

Tutte le issue di Open-MBEE/sysml_view_editor

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.