Launcher: strip the window back to what's worth reading
A pass for less prose and fewer boxes. - Header shows the version and node; the port is already in the addresses below it, and the module list belonged in the log. - Settings: "Network" over the port (no explanation under it), "Startup" instead of "Starting up", and no node chooser — the path stays visible, since which node runs is the first thing worth knowing when it won't. - Permissions: one line per permission — a status dot, its name, and the one thing you can do about it. The standing explanation is gone and the modules' own reasons moved to each row's tooltip. Local network results still appear under their row after a check, with a short line and a link only when nothing answered at all. Re-check sits centred at the bottom, outside the group. The app-level "notify me" switch goes with it: macOS's own per-app notification setting already does that job, so notifications now follow the permission alone, asked for by the row's Enable button rather than on first run. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
1dbd55aa24
commit
e1bceb3e60
@@ -40,10 +40,9 @@ final class Notifier {
|
||||
|
||||
/// Posting never asks for permission: a prompt that appears because
|
||||
/// something just failed, unattended, is the worst possible moment for it.
|
||||
/// Authorization is asked for on first run and when the setting is turned
|
||||
/// on; until then this quietly does nothing.
|
||||
func post(title: String, body: String, if enabled: Bool) {
|
||||
guard enabled, available, authorized else { return }
|
||||
/// It is asked for from the Permissions tab; until then this does nothing.
|
||||
func post(title: String, body: String) {
|
||||
guard available, authorized else { return }
|
||||
let content = UNMutableNotificationContent()
|
||||
content.title = title
|
||||
content.body = body
|
||||
@@ -92,4 +91,5 @@ enum SystemSettings {
|
||||
static let microphone = "x-apple.systempreferences:com.apple.preference.security?Privacy_Microphone"
|
||||
static let localNetwork = "x-apple.systempreferences:com.apple.preference.security?Privacy_LocalNetwork"
|
||||
static let notifications = "x-apple.systempreferences:com.apple.Notifications-Settings.extension"
|
||||
static let privacy = "x-apple.systempreferences:com.apple.preference.security?Privacy"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user