Problem Editor "New problem template" is missleading

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

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
perl
Ambito
frontend

Direzione di ricerca

The misleading option is the "New problem template" choice in the problem editor, which opens assets/pg/newProblem.pg unless a saved temp file exists. Find where the editor picks between the template and the temp file, and check what label it shows. Before editing, settle the desired behavior: the reporter suggests either a label that reflects the temp-file case or two separate options. Done means the chosen wording or option matches what loads.

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

Descrizione

When selecting "New problem template" in the problem editor, the current behavior is to start editing the template assets/pg/newProblem.pg, but if any previous edits have been done and saved as a temp file, then the temp file is loaded instead.

Now I prefer the current behavior as I use this for testing, I just think the option is misleading because someone may select a "New problem template" and not get that. Would it be possible to adjust the text based on if a temp file exists or not, or give multiple options, one to continue editing the previous temp file and the next to actually start with a new problem template (though of course this will cause any unsaved edits to be lost).

I don't have a solution, just a minor thing I noticed.

Lingua principale
Perl
Stelle
164
Fork
167
Merge medio
6g 7h
PR unite (30g)
27

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

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 openwebwork/webwork2

Tutte le issue di openwebwork/webwork2

Issue simili

Altre issue su Perl

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.