graphql / graphql/graphql.github.io

New GraphQL.js redirects do not work internally, and some links are broken

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

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

主要言語
TypeScript
スター
889
フォーク
1.5k
平均マージ
4日 12時間
マージ済み PR(30日)
21

説明

### Description

GraphQL.js webpages are still included in the website, and are still searchable and navigable. However, when you reload the page you are sent to GraphQL-js.org and the webpage doesn't necessarily exist.

### Steps to Reproduce

1. Visit https://graphql.org/
2. Enter "Running an Express GraphQL Server" into the search bar and press the top link
3. Notice that you have been directed to `https://graphql.org/graphql-js/running-an-express-graphql-server/` and a web page is rendered
4. Reload the page (or visit `https://graphql.org/graphql-js/running-an-express-graphql-server/` directly)
5. Notice that you have been redirected to `https://www.graphql-js.org/running-an-express-graphql-server/` and greeted with a 404.

### Expected Result

In step 3 you should be directed to graphql-js.org (or the search result should not appear in the first place?)

If you visit `https://graphql.org/graphql-js/running-an-express-graphql-server/` directly, you should be redirected to an extant page on `graphql-js.org`

### Actual Result

Old content rendered in step 3.

404 rendered in step 5.

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

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

はじめの一歩

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

調査の方向性

issue に記載されている graphql.org のホームページ、検索結果、直接 URL を使ってリダイレクトを再現します。/graphql-js/running-an-express-graphql-server/ パスに対する Web サイトのルーティングと検索処理を追跡します。完了の条件は、古いページが提供されなくなり、直接アクセスが既存の graphql-js.org ページに解決されることです。

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

評価

技術スタック
typescript
領域
search, web-dev
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

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

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