openedx / openedx/frontend-app-authoring
Move "Discard Changes" to only apply to a Component
Open
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:
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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