openedx / openedx/frontend-app-authoring
Fix click target in "Use from Library" and "Use existing" modals
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 17
- Forks
- 218
- Avg merge
- 9d 20h
- Merged PRs (30d)
- 20
Description
Description
Condition
When adding content from a library to a course via "Use Unit From Library" (or any other add flows) OR adding existing content into a container within libraries via "Add Existing" buttons within container pages,
Current behavior
In a course, if a user selects a component, the click target on the "add" button changes to just the add circle. See video:
https://github.com/user-attachments/assets/2e8dc560-0af4-48ca-bbf2-90a8a946692c
In a library container page (ie Section, subsection, or unit pages), the click target on the select button also changes:
Desired Behavior
In courses, the entire add button should trigger an add to course. In libraries, the entire select button should select the component .
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
No files or tests are named. Start by searching the frontend for the visible labels "Use Unit From Library", "Add Existing", "add", and "select" to locate the modal and button components. Done means the full add and select button areas trigger their intended actions in both course and library flows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100