Skip to content

fix: event pinning fast follow#267

Merged
williscool merged 6 commits intomasterfrom
fix/event_pinning_fast_follow
Apr 9, 2026
Merged

fix: event pinning fast follow#267
williscool merged 6 commits intomasterfrom
fix/event_pinning_fast_follow

Conversation

@williscool
Copy link
Copy Markdown
Owner

@williscool williscool commented Apr 7, 2026

  • fix: pin menu message
  • fix: mute message
  • fix: event pinning fast follows

Note

Medium Risk
Changes the selection logic for bulk mute/pin/unpin/snooze to apply current search/filter criteria, which could unintentionally include/exclude events if matching logic is wrong. Also moves pin updates in ViewEventActivityNoRecents to a background thread, which may introduce ordering/race issues with UI state vs DB writes.

Overview
Bulk actions now respect the current search query and active filters: muteAllVisibleEvents, pinAllVisibleEvents, unpinAllVisibleEvents, and snoozeAllEvents route their per-event checks through a new shared matcher FilterState.matchesSearchAndFilters() (plus FilterState.matchesEvent()), so operations apply only to what the user is currently viewing.

The main menu/confirmation copy is updated to reflect filtered vs unfiltered bulk actions (new …_filtered strings and dynamic menu titles/messages). Pin/unpin from ViewEventActivityNoRecents is changed to update the in-memory event immediately and persist the DB change asynchronously. Unit tests were extended to cover filter/search-aware bulk mute/pin/unpin behavior.

Reviewed by Cursor Bugbot for commit a07c51c. Bugbot is set up for automated code reviews on this repo. Configure here.

@williscool williscool enabled auto-merge (squash) April 7, 2026 04:09
@williscool williscool disabled auto-merge April 7, 2026 04:09
@williscool williscool changed the title fix/event pinning fast follow fix: event pinning fast follow Apr 7, 2026
@williscool williscool enabled auto-merge (squash) April 7, 2026 04:09
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

Code Coverage Report

Overall Project 27.68% -0.23%
Files changed 53.29%

File Coverage
FilterState.kt 93.55% 🍏
ApplicationController.kt 60.44% 🍏
ViewEventActivityNoRecents.kt 48.33% -1.87%
MainActivityModern.kt 48.05% -5.46%

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

📊 Code Coverage Summary

Coverage Type Coverage
Overall null
Changed Files 100

View detailed coverage report

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

Build artifacts for PR #267 (commit 5921e5f) are available:

You can download these artifacts from the "Artifacts" section of the workflow run.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

📊 Code Coverage Summary

Coverage Type Coverage
Overall 27.79
Changed Files 55.12

View detailed coverage report

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

Build artifacts for PR #267 (commit 068a047) are available:

You can download these artifacts from the "Artifacts" section of the workflow run.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

📊 Code Coverage Summary

Coverage Type Coverage
Overall 27.81
Changed Files 55.08

View detailed coverage report

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a07c51c. Configure here.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

Build artifacts for PR #267 (commit a07c51c) are available:

You can download these artifacts from the "Artifacts" section of the workflow run.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

📊 Code Coverage Summary

Coverage Type Coverage
Overall 27.68
Changed Files 57.59

View detailed coverage report

@williscool williscool merged commit 688541c into master Apr 9, 2026
14 of 17 checks passed
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