popcodeorg / popcodeorg/popcode

Add the ability to make certain panes read-only.

Open
#1,627 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature help wanted
Dominant language
JavaScript
Stars
191
Forks
143
Avg merge
4d 11h
Merged PRs (30d)
5

Description

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).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Ace editor setup and review the linked Ace read-only API. Determine how the classroom's individual panels are selected, then verify that selected panels cannot be edited while other panels remain editable. Done means the requested panel-level locking works for the described classroom exercise.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.