Skip to content
This repository was archived by the owner on Jun 25, 2026. It is now read-only.

fix(screener): correct icon, restrict move/add, batch triage requests (backport #616)#617

Merged
krantheman merged 2 commits into
frappe:v0from
krantheman:backport/screener-bugs-v0
Jun 25, 2026
Merged

fix(screener): correct icon, restrict move/add, batch triage requests (backport #616)#617
krantheman merged 2 commits into
frappe:v0from
krantheman:backport/screener-bugs-v0

Conversation

@krantheman

Copy link
Copy Markdown
Member

Backport of #616 to v0.

  • Icon: the Screener's eye icon is now authoritative in getIcon, so a stray Mailbox Settings icon can't make it render as a generic folder.
  • Move/Add: the Screener (a system folder) is excluded from the move-to / add-to target lists and from the Folders management list.
  • Batching: Block/Allow now batch into one request per burst, so screening senders in quick succession no longer fires concurrent automation-sieve rebuilds that race on the shared script (CannotChangeConstantError).

Also renames SCREENING_MAILBOX_NAMESCREENER_MAILBOX_NAME and mailboxIds.screening.screener for naming consistency.

🤖 Generated with Claude Code

- getIcon: the Screener's 'eye' icon is authoritative, so a stray Mailbox
  Settings icon can't make it render as a generic folder
- exclude the Screener (a system folder) from move/add target lists and from
  the Folders management list
- batch Block/Allow so rapid triage no longer fires concurrent sieve rebuilds
  that race on the shared automation script (CannotChangeConstantError)
- rename SCREENING_MAILBOX_NAME -> SCREENER_MAILBOX_NAME and
  mailboxIds.screening -> .screener for naming consistency

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@krantheman krantheman requested a review from s-aga-r as a code owner June 25, 2026 09:34
Submit the allow and screen-out requests independently so a failure in one
doesn't skip the other (a burst can mix both across different senders, all
already optimistically removed). Addresses review on frappe#616.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@krantheman krantheman merged commit 773e1bd into frappe:v0 Jun 25, 2026
2 of 3 checks passed
@krantheman krantheman deleted the backport/screener-bugs-v0 branch June 25, 2026 09:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant