openedx / openedx/frontend-app-authoring

Standardize deletion and removal confirmations

Open
#1,691 1 comment 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

When deleting a library object, we want to make sure users understand that it will be:

Spec

  • When a library object that has already been used in a course is deleted in a library, the warning that course objects will be unlinked should be included
    • The warning can link to the specific course, or list multiple courses
  • When a library object not used in a course is deleted, the warning should be omitted.

Rough mockup (copy to be adjusted)

Image

UX/UI tasks

  • Generate spec/mockups of confirmation dialog conditional on: course reuse, library reuse, library object level
  • Edit copy

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 reviewing the deletion confirmation flow and the linked frontend-app-authoring issue 1685. Define the dialog states for course reuse, library reuse, and library-object level, then update the copy and verify that course-unlink warnings appear only when applicable.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.