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#616
Merged
Conversation
- 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>
Contributor
Confidence Score: 5/5This looks safe to merge.
|
| Filename | Overview |
|---|---|
| frontend/src/pages/ScreenerView.vue | Adds delayed batching for Screener allow and screen-out actions, with independent handling for each action type. |
| frontend/src/stores/user.ts | Renames the derived Screener mailbox id key and maps it from the Screener mailbox name. |
| frontend/src/components/Settings/FolderSettings.vue | Filters the Screener out of the folder management list. |
| frontend/src/utils/index.ts | Makes the Screener eye icon take priority over stored custom folder icons. |
| mail/api/mail.py | Updates backend screening mailbox lookups to use the renamed Screener constant. |
| mail/api/sieve.py | Renames the Screener mailbox constant and applies it to mailbox creation and folder-path lookup. |
Reviews (3): Last reviewed commit: "style(sieve): apply ruff-format to backf..." | Re-trigger Greptile
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
added a commit
to krantheman/mail_client
that referenced
this pull request
Jun 25, 2026
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>
Satisfies the Frappe Linter (ruff-format --all-files) on frappe#616. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
krantheman
added a commit
that referenced
this pull request
Jun 25, 2026
fix(screener): correct icon, restrict move/add, batch triage requests (backport #616)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes a few Screener bugs:
eyeicon is now authoritative ingetIcon, so a stray Mailbox Settings icon can't make it render as a generic folder.CannotChangeConstantError).Also renames
SCREENING_MAILBOX_NAME→SCREENER_MAILBOX_NAMEandmailboxIds.screening→.screenerfor naming consistency.🤖 Generated with Claude Code