ChoicescriptIDE / ChoicescriptIDE/main

Review the inability to create scenes with reserved names

Aperta
#108 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
JavaScript
Stelle
36
Fork
8
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Seeing as 'startup.txt' and 'choicescript_stats.txt' are compulsory scene files in a ChoiceScript game, CSIDE is quite strict with their handling (to prevent newbie authors making silly and frustrating mistakes like deleting or overriding them).

Whilst some of these decisions I stand-by (e.g. preventing deletion inside the application), some don't make sense, for example:
![image](https://user-images.githubusercontent.com/3001447/97114182-dbbfc780-16e6-11eb-80a0-266b860fec9c.png)

Which was recently re-highlighted by Vendetta.

The only time you'd want to rename a scene to startup is if you didn't already have a startup scene. If you did have a startup already, then the rename will fail anyway:
![image](https://user-images.githubusercontent.com/3001447/97114171-cf3b6f00-16e6-11eb-9850-f6088e18f11f.png)

So this check probably doesn't have much value, and is prone to causing frustrations of its own, as it makes it impossible to re-create these files from within the application (outside of creating a brand new project).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia riproducendo il comportamento di creazione e ridenominazione delle scene in CSIDE per i file riservati startup.txt e choicescript_stats.txt. Traccia il punto in cui questi nomi vengono rifiutati, quindi verifica il comportamento previsto rispetto al caso esistente di una scena duplicata; il lavoro è completo quando l'applicazione non blocca più inutilmente la ricreazione di una scena obbligatoria mancante, preservando al contempo le salvaguardie indicate.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.