openedx / openedx/frontend-app-authoring

Move "Discard Changes" to only apply to a Component

Open
#3,014 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
17
Forks
218
Avg merge
9d 20h
Merged PRs (30d)
20

Description

We currently allow people to "Discard Changes" at the library level, with the following UI:

Image

This could cause havoc for large libraries, with people accidentally discarding other people's work.

A more scoped version of this could be to take the same UI but apply it to only work at the Component level.

Contributor guide

Open the contributing guide

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 existing "Discard Changes" UI and the library-level action in the frontend. Trace how the current context can be scoped to a Component; done means discarding is available only for that Component and cannot affect unrelated library work.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.