openedx / openedx/frontend-app-authoring

Fix click target in "Use from Library" and "Use existing" modals

Open
#2,736 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

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:
Image

Desired Behavior
In courses, the entire add button should trigger an add to course. In libraries, the entire select button should select the component .
Image

Image

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.