Prevent language switching from clearing input fields

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
64/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript, ruby
領域
frontend

調査の方向性

Start by locating the language switcher in the TryRuby UI and the handler it calls; trace what happens to the lesson editors when the locale changes, since the reset is presumably tied to re-rendering or re-initializing lessons. Read how editor input is stored (per lesson, in memory or in storage) and decide whether to keep that state across the switch or rehydrate it afterwards. Done looks like: switching language leaves typed input intact for every visited lesson, and a manual pass through the lessons confirms nothing else about the switch breaks.

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

説明

When using Try Ruby, users may want to revisit previous lessons to review or experiment with code they have already written. However, switching languages clears all input fields across lessons, causing their work to be lost. I consider it can improve the UX.

In short, my suggestion is: switching languages should preserve the content of all input fields.

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

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

ruby/TryRuby のほかの issue

ruby/TryRuby の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

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

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