lightly-ai / lightly-ai/lightly-studio
[BUG] Undoing an annotation deletion does not restore the original annotation source
Nobody has claimed this yet.
- 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
### :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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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