Create a demo viewer app
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
Comienza comparando traitsui.extras.demo con TraitsUI examples/tutor.py y revisando cómo están estructurados Envisage Tasks y la integración existente con IPython. Divide el visor solicitado en partes con alcance independiente antes de proponer una arquitectura. Se considera completado cuando estén implementados y probados el descubrimiento de demos, la edición, la ejecución, la sincronización, los puntos de extensión y el comportamiento opcional de búsqueda enumerados en la issue.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
This is a large issue that should take some time to complete, and have multiple sub-parts. The goal is to create a comprehensive demo application that is an improved version of traitsui.extras.demo and TraitsUI examples/tutor.py that has the following features:
- is an Envisage + Tasks application
- the Task has a basic layout of:
- a dockpane tree view of examples/demos
- a dockpane showing an HTML description of the selected item in the tree view
- a dockpane showing the source code of the selected item in the tree view (if any). This should be user editable, and changes applied to the example/demo when it is next run.
- a dockpane with an IPython prompt (this can be more-or-less taken from Envisage)
- a central pane with editors that show the content of running demos (if they are embeddable).
- dockpanes with stdout, stderr and logging information for the active editor
- if an item is activated in the tree view (usually double-click on it) or if a run action is fired while an item is selected, the example/demo is executed:
- some items may be descriptive only, in which case the run action should be disabled
- some items may not have any UI component (especially Traits examples) and so may make sense to just run in the IPython kernel
- some items may run an external script in a sub-process (eg. a more complex application)
- some items may pop up a modal or non-modal dialog
- but many will create an object that can be displayed in an editor in the central pane.
- appropriate values from the example/demo's namespace will be populated into the IPython kernel so users can inspect/interact with them
- if the active editor is changed, the selection should track that (so the description and code dockpanes are synchronized with the active editor).
- the examples/demos are contributed via extension points so new libraries can make their own demos available to the application
- plugins should be able to contribute new example/demo types (eg. the Kiva example plugin should be able to contribute a new example/demo type for displaying a graphics context that the example code draws into).
If done well, this application should be useable without Envisage, so we can use a basic Tasks-only version of the application for Pyface/TraitsUI demos/examples, and then have better extensions for Enable and Chaco examples. This may mean that significant parts of the code live in TraitsUI, Enable and Chaco.
Icing on the cake would be to add example search via something like Whoosh.
- Lenguaje dominante
- Python
- Estrellas
- 5
- Forks
- 3
- 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 enthought/ets-examples
-
More Cellular Automata testsAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 38/100
enthought/ets-examples#21 ·
-
Cellular Automata GUIAbiertoenhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
enthought/ets-examples#12 ·
-
Snapshot exampleAbiertoenhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
enthought/ets-examples#11 ·
-
Update Github PagesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 38/100
enthought/ets-examples#10 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
Todos los issues de enthought/ets-examples
Issues similares
-
intake mcp-intake needs-ac needs-human-review priority:medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Ikalus1988/MisakaNet#3848 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
521xueweihan/HelloGitHub#4105 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
igormcsouza/bookloud#54 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
aws-samples/sample-per-model-bedrock#526 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ok-oldking/ok-wuthering-waves#1802 ·
Los mantenedores suelen responder en 2 días