learningequality / learningequality/studio

Legacy clipboard nodes cause considerable code complexity needs mitigation

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

Nobody has claimed this yet.

DEV: frontend P1 - important TAG: tech update / debt
Dominant language
Python
Stars
191
Forks
307
Avg merge
5d 6h
Merged PRs (30d)
10

Description

Summary

To handle clipboard nodes created in production Studio, the frontend clipboard logic has two separate data flows to deal with new and old clipboard nodes.

It may be better to simply write a data migration task to handle these old clipboard nodes (whether in the frontend or the backend) to resolve this and only have to maintain one smaller set of data logic in future.

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 frontend clipboard logic and how legacy clipboard nodes created in production Studio are represented. Determine whether the migration belongs in the frontend or backend, then define the migration scope and verify that the separate old-node and new-node data flows can be replaced by one maintained flow.

Written by the indexing model from the issue text.

Assessment

Domain
full-stack
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.