learningequality / learningequality/studio

UNDO of Copy to Clipboard is pretty slow

Open
#2,718 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
191
Forks
307
Avg merge
5d 6h
Merged PRs (30d)
10

Description

Summary

In case of copying several topics (6) with 1133 resources and on click UNDO the topics disappear from the Clipboard pretty slow, one by one, about 3-5 seconds slowdown for each topic. Sometimes it’s even slower.

Category

BUG

Usage Details

  • Browser: Chrome, Firefox, Edge (latest versions)
  • Channel: Edraak (العربيّة)
  • Topic/Content Item: All content = 1133 resources

How to reproduce

  1. Login to the system
  2. Create a channel and import the Edraak (العربيّة) resources to it
  3. Click the channel to view it's contents
  4. Click the Clipboard floating icon in the bottom right corner to toggle the clipboard
  5. Click Select all to select all the resources in the channel
  6. On the toolbar menu click Copy to Clipboard icon
  7. Click the UNDO button in the snackbar confirmation
  8. Pay attention to the toggled clipboard and see how slow each resource disappear

Screenshots

ezgif-3-59fcb5fe8489
....gif is about a minute in length

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 issue with the Edraak channel and 1,133 resources, then trace the Clipboard floating icon's Copy to Clipboard and snackbar UNDO flow. Done means undo removes the copied topics and resources without the reported 3–5-second-per-topic delay in Chrome, Firefox, and Edge.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.