logseq / logseq/db-test

Deleting a flashcard #card tag while looking at the flashcard crashes Logseq

Open
#1,088 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
28
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Search first

- [x] I searched and no similar issues were found

### What Happened?

Deleting a flashcard #card tag while looking at the flashcard crashes the logseq UI

### Reproduce the Bug

1.- Create a new flashcard using the "#card" tag
2.- Go to flashcards and look at the created flashcard
3.- Move the mouse over the card tag
4.- Delete the card tag

### Expected Behavior

_No response_

### Screenshots

_No response_

### Desktop or Mobile Platform Information

_No response_

### Additional Context

_No response_

### Are you willing to submit a PR? If you know how to fix the bug.

- [ ] I'm willing to submit a PR (Thank you!)

Contributor guide

No contributing guide indexed for this repository

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 reproducing the crash in the flashcards UI using the four listed steps, then trace the code handling deletion of the #card tag while the flashcard is open. Done means deleting that tag no longer crashes the Logseq UI; add or update a regression test if the relevant test area is found.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.