lightly-ai / lightly-ai/lightly-studio

[BUG] Undoing an annotation deletion does not restore the original annotation source

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

Nobody has claimed this yet.

bug good first issue help wanted
Dominant language
Python
Stars
889
Forks
37
Avg merge
1d 15h
Merged PRs (30d)
264

Description

### 🧠 Describe the Bug

Undoing an annotation deletion does not restore the annotation's original source, the restored annotation is assigned to the general annotation source instead.

### 🔁 Steps to Reproduce

- Delete an annotation that has a non-general annotation source.
- Undo the deletion.
- Observe the restored annotation's source.

### 📷 Screenshots

Image

### :raised_hands: Contributing

Please read the [contributing guide](https://github.com/lightly-ai/lightly-studio/tree/main?tab=contributing-ov-file) and the [coding conventions](https://github.com/lightly-ai/lightly-studio/tree/main/.agents/skills) before opening a PR

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

No file or test is named in the issue. Start by reproducing the deletion and undo flow for an annotation with a non-general source, then trace the annotation deletion and restoration entry points. Done means the restored annotation retains its original source rather than being assigned the general annotation source.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.