openedx / openedx/frontend-app-authoring
Make content block creation behavior consistent
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 17
- Forks
- 218
- Avg merge
- 9d 20h
- Merged PRs (30d)
- 20
Description
Description
Currently, if a user selects a common block from the "Add Content" sidebar, the component editor opens automatically. If a user decides to cancel from the edit model, the block is not created.
Contrastingly, if a user selects an advanced block/ drag drop from the "Add Content" sidebar, the component is created, and the editor is not opened automatically.
Proposed Changes
Create consistency for all block types. Change the behavior for all blocks to follow the behavior of common blocks.
- Upon selecting any block from the "Add Content" sidebar, the component editor should open automatically
- If a user decides to cancel from there, the component should not be created.
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 tracing the Add Content sidebar flows for common blocks, advanced blocks, and drag-and-drop creation, then inspect how the component editor handles cancellation. Done means every block type opens the editor after selection and cancellation prevents the component from being created.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100