popcodeorg / popcodeorg/popcode

Support multi-page sites

Aperta
#786 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

feature
Lingua principale
JavaScript
Stelle
191
Fork
143
Merge medio
4g 11h
PR unite (30g)
5

Descrizione

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 index page? 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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia esaminando la revisione del layout proposta nell’issue 779 e il flusso di anteprima esistente. Definisci il completamento in base a più pagine HTML che condividono CSS e JavaScript, a un’anteprima predefinita della pagina principale e alla validazione che i link relativi puntino a nomi di file validi; risolvi le questioni relative alla navigazione e alla modifica prima dell’implementazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
css, html, javascript
Ambito
frontend, web-dev
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.