Rethink routing of projects/organizations

オープン
#1,570 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript
領域
frontend, web-dev

調査の方向性

まず、既存の /:slug/projects ルートと /organizations/:slug ルート、およびそれぞれが提供する動作を比較します。参照されている PR の議論を確認し、単一の namespace を提案する前に、プロジェクトルートを引き続き目標とするかどうかを判断します。合意された routing の方向性が定まり、影響を受けるルートとファイルが連携して書き換えられた時点で完了とします。

索引モデルが issue の本文から書いたものです。

説明

needs clarification

Problem

Per @begedin in a PR:

The current layout of /:slug/projects is strange and seems to be lacking. On the other hand /organizations/:slug seems the way to go.

The thing is, having both seems a bit redundant. Is there any specific reasoning to have two, or did it just somehow happen along the way.

Merging the "good" behavior from both places into a single namespace under /:organization_slug seems like the way to go.

It also looks like we started off with /:slugged_route_slug with the impression of users being able to have projects at some point to. Is that still a goal? If not, I think we could rewrite our router and organize our files in a clearer, more understandable way, but it would involve a lot of changed files to do so.

This needs some discussion.

主要言語
JavaScript
スター
120
フォーク
75
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

code-corps/code-corps-ember のほかの issue

code-corps/code-corps-ember の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。