learningequality / learningequality/studio

UNDO the deletion from Clipboard does not bring back the deleted item unless page is refreshed

Open
#2,755 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

DEV: frontend P2 - normal
Dominant language
Python
Stars
191
Forks
307
Avg merge
5d 6h
Merged PRs (30d)
10

Description

Summary

When the user deletes an item from the Clipboard and clicks UNDO from the confirmation snackbar, the deleted item isn't brought back to the Clipboard immediately. The user needs to refresh the page in order for the deleted item to be seen back in the Clipboard.

Category

BUG

Usage Details

  • Browser: Chrome, Firefox (latest)
  • Channel: Maths (France)

How to reproduce

  1. Login to Studio
  2. Click a channel
  3. Select some resources and add them to the Clipboard
  4. Click the floating Clipboard icon in the bottom right corner
  5. Browse the resource tree and select a single resource
  6. Click the Delete button in the Selection toolbar that appears
  7. See the item deleted from Clipboard and the snackbar notification
  8. Click the UNDO button of the snackbar notification
  9. Pay attention to the Clipboard to see that the item is not immediately brought back
  10. Refresh the page and click the floating Clipboard icon again
  11. Address the item you previously deleted to see it back in the Clipboard

Screenshots

Video-2021-01-13-123445

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

Reproduce the deletion and UNDO flow in Studio using the steps above, then trace the Clipboard selection and snackbar undo behavior from the affected UI entry point. Done means the deleted resource reappears in the Clipboard immediately after clicking UNDO, without refreshing the page.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
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.