Menu Bar Extra
Menu Bar Extra
Menu Bar Extra は、macOS メニューバーにある小さなステータス項目だよ。メインのアプリのウインドウを開かずに、絞り込まれたメニューや小さなウインドウを開けるよ。
もう一つの例
タイマーはメニューバーに残り、残り時間を表示します。クリック1回で一時停止や停止ができます。
主な部分
- 01Current location
- 02Destination labels
- 03Focus order
- 04Responsive behavior
以下の場合に使用します
人々が一目で確認できるステータスに使用します。メインウィンドウなしで必要な一般的な操作だけを少数追加してください。
以下の場合は使用しないでください
複数ステップの作業、文書編集、混雑したダッシュボードには使用しないでください。すべてのアイコンは一時的なメニューバーのスペースではなく、持続的な価値を提供する必要があります。
コードで使用する名前
AppKit NSStatusItem / SwiftUI MenuBarExtra 出荷前に
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 Menu Bar Extra (Menu Bar Extra)。 User context:タイマーはメニューバーに残り、残り時間を表示します。クリック1回で一時停止や停止ができます。 macOS concept or control:Menu Bar Extra (Menu Bar Extra)。 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 Menu Bar Extra (Menu Bar Extra) is used now. Definition: Menu Bar Extra は、macOS メニューバーにある小さなステータス項目だよ。メインのアプリのウインドウを開かずに、絞り込まれたメニューや小さなウインドウを開けるよ。 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.