Can't change populated values back to null
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 45/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- typescript
- Domaine
- frontend
Piste de recherche
Start by locating the map editor’s event property editing code for JSON fields and boolean checkboxes, then trace how edited values are saved. Check whether the editor exposes a way to clear a property back to null; done means both fields can be cleared and the change is covered by an appropriate test. The issue gives no file or test path, so first identify the relevant entry point.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Once a json field has a value, you cannot set it back to null in the map editor. For example, if you create a SHOW_CHOICE event step, all the fields are initially blank/null. Once you enter a value, save it, then close the event editor, it is no longer able to go back to null. You cannot delete this value because it map editor will re-populate it.
In the screenshot above, if I want to set the forceWidth field to a null value again, I either need to make an entirely new SHOW_CHOICE event step or I need to remove it manually in json.
This also works for boolean checkbox properties. In the screenshot below, the top SET_CAMERA_POS is a freshly-created event step, thus all values are currently null. Once you touch the checkbox for the wait property, you can only set it to true or false. You can't get rid of it from the editor now.
This is all just a minor annoyance, not anything critical. I can always still manually work around this.
- Langage dominant
- TypeScript
- Étoiles
- 59
- Forks
- 19
- Merge moyen
- 32 min
- PR mergées (30 j)
- 2
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de CCDirectLink/crosscode-map-editor
-
Keybind conflict with "Tileset"Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
-
Difficulté 3/5 1-2 jours Accessibilité débutants 68/100
-
refactor json input autoscalingOuverteinternal
Difficulté 3/5 1-2 jours Accessibilité débutants 52/100
-
Difficulté 3/5 1-2 jours Accessibilité débutants 39/100
Toutes les issues de CCDirectLink/crosscode-map-editor
Issues similaires
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
formbricks/formbricks#9918 ·
Les mainteneurs répondent en général sous 1 jour
-
Chat: Resize question overlayOuverteenhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
thecodacus/pithagoras#364 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 72/100
openclimatefix/quartz-frontend#823 ·
Les mainteneurs répondent en général sous 4 jours
-
area:agent-manager community needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
`contacts.create` posts to `/audiences/undefined/contacts` when `audienceId` is undefinedPeut-être pris @RaphaelFakhri l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
resend/resend-node#1176 ·
Les mainteneurs répondent en général sous 1 jour