popcodeorg / popcodeorg/popcode
Support multi-page sites
オープン
まだ誰も着手していません。
feature
- 主要言語
- JavaScript
- スター
- 191
- フォーク
- 143
- 平均マージ
- 4日 11時間
- マージ済み PR(30日)
- 5
説明
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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず issue 779 で提案されているレイアウトの全面的な見直しと、既存のプレビューフローを確認します。CSS と JavaScript を共有する複数の HTML ページ、デフォルトのメインページプレビュー、および相対リンクが有効なファイル名を指していることの検証を完了の基準として定義し、実装前にナビゲーションと編集に関する問題を解決します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- css, html, javascript
- 領域
- frontend, web-dev
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100