Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contexts and Projects that are found only in hidden todos are still clickable in the attributes drawer #769

Open
mshuflin opened this issue Jan 24, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@mshuflin
Copy link

Bug Report

App Version: sleek v2.0.17-rc.1

Platform: macOS

Installation Method: Direct Download

Expected Behavior:
I would expect that the contexts visible in the drawer would only be those that have at least one visible todo. This is true for todos with a future threshold date, but not true for todos hidden with h:1

Actual Behavior:
If a context is in a todo that is hidden using h:1, that context shows up and is clickable in the attributes menu in the drawer. However, when you click it, there are no todos displayed.

Steps to Reproduce:

  1. Create a todo like 2025-01-24 testing this issue @randomContextName h:1 where the context only exists in this todo
  2. Set the filter options to not show hidden todos
  3. Observe that the Attributes menu still shows @randomContextName and the number 1 next to it
  4. Click @randomContextName and observe that nothing is shown
@mshuflin mshuflin added the bug Something isn't working label Jan 24, 2025
@github-project-automation github-project-automation bot moved this to Backlog in sleek 2.x Jan 24, 2025
@mshuflin mshuflin changed the title Contexts found (only) in hidden todos are clickable in the attributes drawer Contexts and Projects that are found only in hidden todos are still clickable in the attributes drawer Jan 24, 2025
@mshuflin
Copy link
Author

I first noticed this with contexts, but it is also true of priorities, dues dates, and threshold dates (if they have passed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant