Skip to content

fix(permissions): refresh status and update settings links - #169

Merged
wflixu merged 1 commit into
wflixu:devfrom
SonneFish:codex/pr166-permissions
Nov 2, 2026
Merged

wflixu merged 1 commit into
wflixu:devfrom
SonneFish:codex/pr166-permissions

Conversation

@SonneFish

@SonneFish SonneFish commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Update the System Settings entry points for Finder extensions and Accessibility, with version-specific guidance on the permissions page. The Accessibility button actively requests authorization. Refresh permission status when the settings window regains focus and periodically while the page is visible. Add translations for the new guidance.

This is an independent part of #166, split at the maintainer’s request and targeting dev.

Acceptance criteria

  • The Finder extension button opens Login Items & Extensions. The Accessibility button uses the PrivacySecurity Accessibility deep link, with a fallback to opening System Settings.
  • The Accessibility button requests AX authorization rather than only querying its status.
  • Permission status refreshes periodically and when a window becomes key.
  • New guidance has Spanish, French, Japanese, and Simplified Chinese translations. The missing Japanese entry for the existing RClick brand name is filled in.

Validation

  • Xcode 27 build-for-testing: the app, Finder extension, and test targets build independently (arm64, code signing disabled).
  • All 62 existing tests pass in the temporary SwiftPM library test host. Permission-page behavior still requires checks on real systems; no tests that merely duplicate URL constants were added.
  • scripts/check-localization.py --languages es fr ja zh-Hans passes for both catalogs. Existing catalog entries retain their formatting.
  • The combined branches build successfully; all 68 tests in 12 suites pass in the temporary library test host.
  • git diff --check passes. Fork-specific signing, bundle identifiers, App Groups, and packaging scripts are excluded.
  • GitHub Actions builds and tests complete for this branch: run 41402814696 is action_required, awaiting maintainer approval via Approve and run; tests have not executed.
  • On macOS 15, 26, and 27, verify both Settings button destinations, first-time authorization/list visibility, and status refresh after granting or revoking access.

Risks and limitations

Type checking cannot establish whether deep links and System Settings labels are correct on every supported macOS version. Those signed-app checks remain pending. The system may suppress AX prompts from sandboxed builds, so manual authorization in System Settings must remain available.

The regular local Xcode test host exited before executing tests. The temporary SwiftPM library host compiles the same production sources, excluding the app entry point; its results do not replace end-to-end testing of the signed app.

Related PRs

Split from #166 at the maintainer's suggestion:

Each PR targets dev and builds independently. Combining them in the order above was verified to merge without conflicts.

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.

2 participants