Disabling Flashcards in Settings does not disable Flashcard shortcuts or tags
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
Research direction
Look for the feature toggle for Flashcards in the settings code. Then find where the shortcuts 'gf' and 'tc' are defined and where the '#card' and '#cards' tags are processed. The fix is to conditionally disable those handlers based on the feature flag. Check if there are existing tests for the Flashcards feature to understand the expected behavior.
Written by the indexing model from the issue text.
Description
Search first
- I searched and no similar issues were found
What Happened?
Even after disabling Flashcards under Settings → Features → Flashcards, the Flashcards shortcuts gf and tc still work.
The #card and #cards tags also continue to work as usual.
Reproduce the Bug
- Go to Settings → Features.
- Disable the Flashcards feature.
- Try using the Flashcards shortcuts
gfortc. - Use
#cardor#cards.
Expected Behavior
If disabling the Flashcards feature is intended to disable the Flashcards functionality, I would expect the related shortcuts and Flashcard functionality to be disabled as well.
Screenshots
No response
Files
No response
Browser, Desktop or Mobile Platform Information
windows 11
logseq 2.0.1-alpha+nightly.20260921
Additional Context
At the moment, the only difference I can observe when disabling the Flashcards feature is that the Flashcards entry can no longer be shown in the Navigation tab.
The shortcuts gf and tc still work, and #card and #cards also continue to work without any changes.
If the intention of this setting is simply to hide the Flashcards UI from users, I’m wondering whether a separate toggle in Settings is actually necessary. Even without a dedicated Flashcards toggle, users can already remove the Flashcards entry from Navigation and remove the related shortcuts themselves.
If the purpose of this toggle is also to disable the Flashcards functionality or the processes running behind the scenes, then it seems that those parts are not being disabled.
Are you willing to submit a PR? If you know how to fix the bug.
- I'm willing to submit a PR (Thank you!)
- Dominant language
- No language data
- Stars
- 28
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from logseq/db-test
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Table filter "does not contain" is case-sensitive while "contains" is notPossibly taken @tiensonqin claimed this 14 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Sorting a tag table by a checkbox gives the same order ascending and descendingPossibly taken @tiensonqin claimed this 14 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Potential Dataloss: Deleting an entry from the property page's node table has no confirmation dialogPossibly taken @tiensonqin claimed this 17 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Similar issues
-
area:tui enhancement platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
anthropics/claude-code#101490 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
pnp/cli-microsoft365#7639 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
[Linux] --calibrate combined with --model silently falls through to plain re-setup (setup.py:4958)Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
apache/rocketmq-dashboard#6318 ·
Maintainers usually reply within 5 days