Problem with LS models being edited in tabs while also edited in real NetLogo instance
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Área
- desktop
Línea de trabajo
No se nombran archivos, pruebas ni puntos de entrada. Primero aclara el comportamiento previsto al guardar un modelo de LevelSpace cuando se ha editado un modelo secundario en otro lugar; después, identifica el código de guardado y de gestión de pestañas secundarias; el trabajo estará terminado cuando un comportamiento acordado evite sobrescrituras accidentales y esté cubierto por una prueba reproducible.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
This is borderline user-issue, and not really a code issue. But given that we want the IDE-part of LS to be good, I still think this is something we should consider:
I was working on a model this morning and had to create a LS child model. I realized pretty quickly that I had to edit the interface of the child model, and I therefore had to open it in a full-fledged NetLogo instance, so that's what I did.
I worked on the child model for a while in a separate instance, closed it down, and then shut down the NetLogo instance with the main model in it, which ALSO contained the child model in a separate tab.
I didn't think too much about it when NetLogo asked me if I wanted to save changes to the model, because I thought it was asking me about the main model. Unfortunately it meant the child model, and all the work I had done on it in the other instance was overwritten.
I am not totally sure how we should handle this, but the easiest way is to make very clear that saving a model will also save the child model, or to pop up a special "HEY USER, PAY ATTENTION!!!!" message when it tries to save a LevelSpace model.
Alternatively we could check if there is a .tmp file that has been saved more recently than the one that LevelSpace child-tab. I can see all kinds of horrible issues with this solution, but I also like it.
- Lenguaje dominante
- Scala
- Estrellas
- 20
- Forks
- 8
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de NetLogo/LevelSpace
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
NetLogo/LevelSpace#151 · 1 reacción ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
NetLogo/LevelSpace#146 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
NetLogo/LevelSpace#141 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
NetLogo/LevelSpace#133 · 4 comentarios ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
NetLogo/LevelSpace#132 · 3 comentarios ·
Todos los issues de NetLogo/LevelSpace
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
bug triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
propensive/soundness#2266 ·
Los mantenedores suelen responder en 1 día
-
Module: Form Builder
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
orbeon/orbeon-forms#7943 ·
Los mantenedores suelen responder en 2 días
-
bbb-web: concurrent joins lose RegisterUserReqMsg (HashMap race in Meeting.userCustomData)Posiblemente ocupada @Tainan404 la tomó hoy. Abiertomodule: core
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
bigbluebutton/bigbluebutton#26028 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día