Skip to content

fix: add ignored field to timelineEvents query for proper reactivity#3632

Open
devin-ai-integration[bot] wants to merge 3 commits intomainfrom
devin/1770189257-fix-ignore-event-reactivity
Open

fix: add ignored field to timelineEvents query for proper reactivity#3632
devin-ai-integration[bot] wants to merge 3 commits intomainfrom
devin/1770189257-fix-ignore-event-reactivity

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Feb 4, 2026

Summary

Fixes an issue where clicking "Ignore this event" in the context menu sometimes doesn't work.

The timelineEvents TinyBase query was using the ignored field in its WHERE clause but not selecting it. This could prevent TinyBase from properly tracking changes to the ignored field, causing the query to not re-run when an event is ignored.

Change: Added select("ignored") to the timelineEvents query definition.

Review & Testing Checklist for Human

  • Test the fix: Right-click on a calendar event in the timeline and click "Ignore this event" - verify the event disappears immediately and consistently
  • Test multiple times: The bug was intermittent, so test ignoring several events to confirm it works reliably
  • Check for regressions: Verify the timeline still displays events correctly and no other functionality is affected

Notes

This is a hypothesis-based fix that wasn't tested locally. The root cause analysis suggests TinyBase may not track fields used in WHERE clauses unless they're also selected, but this should be verified by testing.

Requested by: @ComputelessComputer
Link to Devin run: https://app.devin.ai/sessions/e6a2d44e1e704b1b90fdecdf969dc281

…ivity

The TinyBase query was using 'ignored' in its WHERE clause but not selecting it,
which could cause the query to not properly react to changes in the ignored field.
This fixes the issue where clicking 'Ignore this event' sometimes didn't work.

Co-Authored-By: john@hyprnote.com <john@hyprnote.com>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@netlify
Copy link

netlify bot commented Feb 4, 2026

Deploy Preview for hyprnote-storybook canceled.

Name Link
🔨 Latest commit 98650cf
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/6982f76b0270c0000797fd57

@netlify
Copy link

netlify bot commented Feb 4, 2026

Deploy Preview for hyprnote ready!

Name Link
🔨 Latest commit 98650cf
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/6982f76b8882d500087830f6
😎 Deploy Preview https://deploy-preview-3632--hyprnote.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@devin-ai-integration devin-ai-integration bot changed the title fix: add ignored field to eventsWithoutSession query for proper reactivity fix: add ignored field to timelineEvents query for proper reactivity Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant