popcodeorg / popcodeorg/popcode
Support multi-page sites
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- JavaScript
- Estrellas
- 191
- Forks
- 143
- Merge medio
- 4 d 11 h
- PR fusionados (30 d)
- 5
Descripción
REPL.it does it, so why can’t we?
Popcode should allow coders to create sites with multiple HTML pages. Definitely a bunch of unanswered questions about how this should work, but a few parameters come to mind:
- Multi-page functionality should distract from the simple/common use case of just working on a single page. E.g. an always-on tab bar is probably not a good outcome.
- We only support multiple HTML pages. They all share the same CSS and JavaScript.
- By default, the preview shows the main HTML page. Coders can link to other pages (meaning the other pages will need “filenames”). We should probably have a validation to ensure that relative links point at valid “filenames”.
Unanswered questions:
- What happens when you’ve navigated to another page and then you start editing again? Does it keep you on the page you were on, or take you back to the
indexpage? Repl.it takes you back, but it also doesn’t live-update. - Do we need to build a back button? Does the browser back button work when navigating within the project preview? (Repl.it’s answers: no, yes)
Accommodating multi-page site workflows would be a major goal of the layout overhaul proposed in https://github.com/popcodeorg/popcode/issues/779
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
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.
Línea de trabajo
Empieza revisando la renovación del diseño propuesta en el issue 779 y el flujo de vista previa existente. Define la finalización en torno a varias páginas HTML que compartan CSS y JavaScript, una vista previa predeterminada de la página principal y la validación de que los enlaces relativos apunten a nombres de archivo válidos; resuelve las cuestiones de navegación y edición antes de la implementación.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- css, html, javascript
- Área
- frontend, web-dev
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 20/100