openedx / openedx/frontend-app-authoring

Disable copying for unpublished blocks

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

Current
Found by the OpenCraft team in PR Add top-level parent logic to Upstream/Dowstream links [FC-0097] : A block that has never been published can still be copied to clipboard
Proposed Changes
For blocks that have never been published, "Copy to clipboard" should be greyed out on the overflow menu.

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 tracing the overflow menu and its "Copy to clipboard" action in the frontend-app-authoring code, then compare the behavior for published and never-published blocks. The issue's proposed change is complete when copying is visibly disabled for blocks that have never been published; use the referenced upstream/downstream links PR for context.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.