popcodeorg / popcodeorg/popcode

Add the ability to make certain panes read-only.

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

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

feature help wanted
主要言語
JavaScript
スター
191
フォーク
143
平均マージ
4日 11時間
マージ済み PR(30日)
5

説明

In our classroom, we did a Do Now this morning that involved our students changing the text of a div tag in JavaScript from "something" to "something else". They, being the growth hackers that they are, proceeded to change the text in html 🤦🏻‍♀️ instead of writing $("div").text("something else");. It'd be useful to add the ability to lock editing in certain panels. Looks like this is possible in Ace with editor.setReadOnly(true) (https://github.com/ajaxorg/ace/issues/406).

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

まず Ace エディターのセットアップ箇所を見つけ、リンク先の Ace 読み取り専用 API を確認します。教室の個々のパネルがどのように選択されるかを特定し、選択されたパネルは編集できない一方で、他のパネルは編集可能なままであることを確認します。説明されている教室の演習で、要求されたパネル単位のロックが機能すれば完了です。

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

評価

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

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

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