bbcmicrobit / bbcmicrobit/PythonEditor

Moving between versions should preserve contents of buffer

オープン
#19 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
JavaScript
スター
201
フォーク
126
PR マージ指標
30日以内にマージされた PR はありません

説明

Since 0.1.0 we've been able to move between different versions of the editor. Hooray!

However, currently the contents of the script buffer (IE the users' code) gets lost between this version migration. In the case that the user entered with a script in the URL we will preserve that script but not any subsequent changes.

I believe the following rule is good:

> Whenever moving between editor versions, put the buffer contents into the URL bar so that the script migrates between versions

Implementation-wise there are a few privacy gotchas - If we put their script in the URL bar then it can/could end up in server logs. If we put it in a cookie we have to mention that we will use cookies in privacy policy.

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

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

調査の方向性

まず、エディターのバージョン変更によって現在のスクリプトバッファがどのように扱われるか、また URL に入力されたスクリプトがどのように保持されるかを追跡します。アプローチを選択する前に、URL と Cookie に関するプライバシーへの影響を確認してください。完了条件は、示されているプライバシー上の懸念を未解決のままにすることなく、エディターのバージョン間の移行後もユーザーの編集内容が保持されることです。

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

評価

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

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

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