openedx / openedx/frontend-app-authoring

Course outline — issue when editing Section/Subsection/Unit name, and executing an action on the page

Open
#1,056 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

When editing a Section/Subsection/Unit name and clicking on an action on the page (such as New Section, New Subsection, or New Unit) without exiting the editing interface, some unexpected issues occur.

Expected Result

  • The new name for the Section/Subsection/Unit that the user entered is saved when the user clicks outside of the text field.
  • If the user clicks on the action button while editing a name for a course outline element, the name value should be saved, and the action should be executed correctly.

Actual Result

Editing Section Name and Executing Other Actions in the Current Section
  • When the user edits a Section name and clicks on actions in this section (such as New Section, New Subsection, or New Unit), the action is executed, but the new Section name isn't saved (the old value is displayed).
Editing Section/Subsection Name and Executing Actions in a Different Section
  • When the user edits a Section name and clicks on actions in different sections (such as New Section or New Subsection), the action isn't executed, but the new Section name is saved (the new value is displayed).
  • When the user edits a Section name and clicks on the New Unit action, the new Section name is saved (the new value is displayed), but the user sees a blank page.
Screenshot 2024-05-29 at 22 07 30

Additional details

Video:

https://github.com/openedx/frontend-app-course-authoring/assets/22370912/0dfc6003-7328-4a98-8332-3271748d8d01

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 reproducing the course-outline name-editing flows shown in the issue, including actions in the current and different sections. Trace how editing loses focus when New Section, New Subsection, or New Unit is clicked. Done means the entered name is saved and each action executes correctly without a blank page.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.