Disclosure Triangle
Disclosure Triangle
Disclosure Triangleは、ツリーの一部を同じ場所で開いたり閉じたりする小さな矢印です。
もう一つの例
ファイルのツリーは、一つのフォルダーの中身を開きます。他のフォルダーは、今の開いたまま、閉じたままの状態を保ちます。
主な部分
- 01Window chrome
- 02Primary content region
- 03Platform control and state
以下の場合に使用します
各行が独自の子項目を開くことができ、ブランチを開いたままにすることで人々が比較しやすくなる場合に使用してください。
以下の場合は使用しないでください
ナビゲーションや一度きりのコマンドには使用しないでください。コンテンツには真の親子関係ツリーが必要です。
コードで使用する名前
NSOutlineView disclosure cell / SwiftUI DisclosureGroup 出荷前に
Check the supported macOS versions and AppKit or SwiftUI integration. Check standard focus and keyboard behavior. Also check VoiceOver, Full Keyboard Access, window resizing, and multi-window state. When needed, check restore, localization, and reduced motion.
Outcome:Complete the task with Disclosure Triangle (Disclosure Triangle)。 User context:ファイルのツリーは、一つのフォルダーの中身を開きます。他のフォルダーは、今の開いたまま、閉じたままの状態を保ちます。 macOS concept or control:Disclosure Triangle (Disclosure Triangle)。 Why it fits:各行が独自の子項目を開くことができ、ブランチを開いたままにすることで人々が比較しやすくなる場合に使用してください。 Do not use it when:ナビゲーションや一度きりのコマンドには使用しないでください。コンテンツには真の親子関係ツリーが必要です。 Platform requirements: List the supported macOS versions. Say whether AppKit or SwiftUI owns each part and how they connect. Define window, menu, focus, keyboard, saved state, restore, and multi-window behavior. Platform accessibility and resilience: Use the right accessibility APIs. Check VoiceOver and Full Keyboard Access. Support localization, contrast, and reduced motion when needed. Keep user state after a relaunch. Acceptance criteria: Check the behavior on supported macOS versions with a keyboard and VoiceOver. Window resizing, focus, state restore, and AppKit or SwiftUI integration work in the normal macOS way. Evidence and limits (evidence boundary):その情報源にとって公式です。他のプラットフォームやチームはその用語を別の方法で使用する場合があります。 Unknowns to confirm: Supported macOS versions, AppKit or SwiftUI structure, and window model. Also confirm sandbox and entitlement limits, save rules, and the accessibility goal.
このリクエストを確認する
Review how Disclosure Triangle (Disclosure Triangle) is used now. Definition: Disclosure Triangleは、ツリーの一部を同じ場所で開いたり閉じたりする小さな矢印です。 Release checks: Check the supported macOS versions and AppKit or SwiftUI integration. Check standard focus and keyboard behavior. Also check VoiceOver, Full Keyboard Access, window resizing, and multi-window state. When needed, check restore, localization, and reduced motion. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.