You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Slack is an Electron app, so its accessibility tree stays asleep until something sets AXManualAccessibility. Cotabby never did, which left Slack stuck on "No focused Accessibility element" and produced no suggestions.
This adds Slack's bundle id (com.tinyspeck.slackmacgap) to the Electron priming allowlist, the same way #882 did for Claude and #892 did for Signal.
Tested locally: after installing a build with this change, Cotabby now completes in Slack.
No actionable comments were generated in the recent review.
Walkthrough
The Electron editor allowlist now includes Slack’s bundle ID. Documentation describes Slack’s accessibility behavior, and tests verify its classification, accessibility priming requirement, and exclusion from browser classification.
Changes: Slack Electron editor detection
Layer / File(s)
Summary
Slack classification and priming Cotabby/Support/Focus/Applications/BrowserAppDetector.swift, CotabbyTests/Support/Focus/Applications/BrowserAppDetectorTests.swift
The detector documentation describes Slack’s dormant accessibility tree. Slack’s bundle ID is added to the Electron editor allowlist. The test checks that Slack requires web accessibility priming and is not classified as a browser.
FuJacob/cotabby#892 — Adds Signal Desktop to the same Electron editor allowlist using the same accessibility-priming mechanism.
FuJacob/cotabby#882 — Adds Claude Desktop to the same Electron editor allowlist using the same accessibility-priming mechanism.
Suggested reviewers:7hdmm9pp2w-code, fujacob
Merge Risk: Minimal · up to c5b0e
This adds Slack to the apps whose accessibility tree Cotabby primes, so suggestions should work there. No merge-blocking risk was found.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "Prime Electron accessibility for Slack" matches the main change. The PR adds Slack's bundle ID (com.tinyspeck.slackmacgap) to the Electron editor allowlist so Cotabby primes Slack's accessi…
Linked Issues check
[#776] The issue asks that Cotabby provide suggestions in Slack on macOS. The reviewed head adds "com.tinyspeck.slackmacgap" to electronEditorBundleIdentifiers in Cotabby/Support/Focus/Applications/Br…
Out of Scope Changes check
The PR changes are limited to the Electron editor allowlist in BrowserAppDetector.swift: one Slack bundle id entry, a doc comment that describes the Slack case and references #756, #776, and #822, and…
Full details: Title check
Explanation
The title "Prime Electron accessibility for Slack" matches the main change. The PR adds Slack's bundle ID (com.tinyspeck.slackmacgap) to the Electron editor allowlist so Cotabby primes Slack's accessibility tree. The summary and objectives both describe this change, and the test file adds matching Slack expectations. The title is short, specific, and free of noise.
Full details: Linked Issues check
Explanation
[#776] The issue asks that Cotabby provide suggestions in Slack on macOS. The reviewed head adds "com.tinyspeck.slackmacgap" to electronEditorBundleIdentifiers in Cotabby/Support/Focus/Applications/BrowserAppDetector.swift. isElectronEditor matches case-insensitively, and needsWebAccessibilityPriming returns true for that bundle id. This routes Slack into the existing Electron web-accessibility priming path, which is the mechanism the issue needs, because Slack's accessibility tree stays dormant until AXManualAccessibility is set. The PR summary reports that the test file adds Slack expectations (Electron editor, web priming required, not a browser). I did not read the test file directly because the diff tool was unavailable. The end-to-end result in Slack is reported by the author as a local manual test. It is not verified in the repository. No coding requirement from #776 is left unmet by this change.
Full details: Out of Scope Changes check
Explanation
The PR changes are limited to the Electron editor allowlist in BrowserAppDetector.swift: one Slack bundle id entry, a doc comment that describes the Slack case and references #756, #776, and #822, and a trailing comma added to the Signal entry. The PR summary also reports a test expectation for Slack in BrowserAppDetectorTests.swift. All of these support the Slack allowlist change. No unrelated behavior change was reported. The test file content was not read directly, so this verdict relies on the PR summary for that file.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
This branch has not been deployed
No deployments
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
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.
Slack is an Electron app, so its accessibility tree stays asleep until something sets
AXManualAccessibility. Cotabby never did, which left Slack stuck on "No focused Accessibility element" and produced no suggestions.This adds Slack's bundle id (
com.tinyspeck.slackmacgap) to the Electron priming allowlist, the same way #882 did for Claude and #892 did for Signal.Tested locally: after installing a build with this change, Cotabby now completes in Slack.
Fixes #776
Refs #756, #822
Summary by CodeRabbit
Confidence Score: 5/5

The PR appears safe to merge.Summary
Adds Slack’s exact bundle identifier to the Electron accessibility allowlist.
Reviews (1) · Last reviewed commit: "Prime Slack's Electron accessibility tre..." · Reviewed by Greptile