Skip to content

Improve credential permission alert presentation - #1814

Merged
cyanzhong merged 1 commit into
mainfrom
develop
Oct 14, 2026
Merged

cyanzhong merged 1 commit into
mainfrom
develop

Conversation

@cyanzhong

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The denial test uses the third-button response even though denial is the second alert button.

1 open finding
What changed in this PR

Improves the credential-access alert to present permission requests more clearly.

Changes:

  • Uses an informational style, app icon, clearer message, and explicit actions.
  • Adds Simplified and Traditional Chinese translations.
  • Expands alert presentation tests.
File Description
EditorViewController+Delegate.swift Updates alert styling and actions.
AppResources.swift Defines revised localized strings.
Localizable.xcstrings Adds corresponding translations.
EditorDocumentTests.swift Tests the updated alert presentation.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread MarkEditMac/Tests/EditorDocumentTests.swift
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@cyanzhong
cyanzhong merged commit a713654 into main Oct 14, 2026
1 check 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.

2 participants