bbcmicrobit / bbcmicrobit/PythonEditor
blocks: prevent download when a block is incomplete
- Langage dominant
- JavaScript
- Étoiles
- 201
- Forks
- 126
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
In situations like the image below where a block that requires some other input doesn't have it:

...it would be kind to the user to stop them from downloading a broken hex file. (Broken in the sense that because the block is missing a required input, we know that the parser will fail to interpret the script)
Can we detect that a block is missing a required docked other block?
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par suivre la manière dont les blocs sont vérifiés avant que l’éditeur ne télécharge un fichier hex, puis reproduisez le cas de bloc incomplet présenté dans l’issue. Le travail est terminé lorsqu’un bloc auquel il manque une entrée dockée requise est détecté et que le fichier hex défectueux n’est pas téléchargé, le comportement qui en résulte pour l’utilisateur étant couvert de manière appropriée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- frontend
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100