Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Editing the name of a specimen pollutes the browser URL history

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

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

評価

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

調査の方向性

Start at the Gallery specimen name input and trace how edits update the browser URL history. The issue suggests pushing a URL only when editing is complete, perhaps when the input loses focus, but leaves the exact behavior open. Verify that typing a name creates a single useful history entry rather than one per keystroke, and that browser navigation still reaches previous specimens.

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

説明

question ui

To reproduce, go to the Gallery and select (say) the "Thue Trellis" specimen. Then click to the right of the name "Thue Trellis" in the specimen bar at the top. Then backspace seven times to erase "Trellis" and type "Fractal". Indeed, the name of the specimen is now "Thue Fractal". However, if you now right-click on the back button (or whatever you do in the browser of choice) to display the URL history of that browser window, you will see there are 14 URLs, identical except for the names "Thue Trelli", "Thue Trell", ..., "Thue Fracta", "Thue Fractal". This is excessive, and makes navigation to actual previous specimens cumbersome.

My recommendation is that a new URL should be pushed only when "input is complete" -- perhaps we can detect that by the input bar for the name losing focus? Anyone have suggestions on exactly how to do this?

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

環境構築

はじめの一歩

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

numberscope/frontscope のほかの issue

numberscope/frontscope の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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