Design review: polish #224

open cmc opened this on 2026-11-22 07:52 UTC · feature · milestone 1 Reviews and cleanup

Discussion

cmc 2026-11-22 07:52 UTC

From the design review, docs/review-2026-11-22-design.md (#97).

Mac: route echo-area, alert, inspector and modeline strings through the catalog

Severity: medium. Fits 1.2.x: yes.

AppCommands.show takes a String, so literals such as "No file is open", "Not an org file", "Keymap reloaded" (Sources/Orgstar/ContentView.swift:563, :1248, :1313) are missing from l10n/Localizable.xcstrings. So are the unsaved-changes alert (Sources/Orgstar/OrgstarApp.swift:279-283, :299-303), the inspector's tabs and spans (Sources/Orgstar/InspectorPane.swift:16-17) and the modeline notes (Sources/Orgstar/ModeLine.swift:158-160). Use String(localized:) and run scripts/sync-strings.sh.

Platforms: Mac.

Widgets, Controls and complications: localized fallbacks

Severity: medium. Fits 1.2.x: yes.

The Today widget's empty rows pass a String to Text (Sources/OrgstarWidgets/TodayWidget.swift:88-90). Controls use English literals (Sources/OrgstarWidgets/Controls.swift:12, :26, :91), as do complications (Sources/OrgstarWatchWidgets/WatchWidgets.swift:62-76). Replace "In: %@" with "Clock In to %@" as the watch app says.

Platforms: iOS widgets, Watch.

iOS: plural variants in the string catalog

Severity: medium. Fits 1.2.x: yes.

Plurals are built in code: "copy"/"copies" (Sources/OrgstarMobile/EditorScreen.swift:444), "entry"/"entries" and "was"/"were" (Sources/OrgstarMobile/AgendaScreen.swift:871), "Archive N entries?" (:206). " / month" and " / year" are plain strings (Sources/OrgstarMobile/ProScreen.swift:157-158). Use catalog plural variants.

Platforms: iOS.

German: agenda title, gutter labels and long clock strings

Severity: medium. Fits 1.2.x: yes.

The Mac agenda title truncates to "22 Nov. – 1 Dez. 2…" at the default window width (Sources/Orgstar/AgendaView+Toolbar.swift). On iPhone "2d überfällig" is scaled down beside "vor 3d" (Sources/OrgstarMobile/AgendaScreen.swift:1042-1044). "Zeiterfassung beenden" and "Version auf der Festplatte verwenden" are long for their buttons (Sources/OrgstarWidgets/ClockActivityWidget.swift:69, Sources/Orgstar/VersionViews.swift:23). Drop the current year from the title and shorten the two strings. Screenshots: mac-agenda-de.png, ios-agenda-de.png.

Platforms: Mac, iOS.

Widgets: tinted and accented rendering

Severity: medium. Fits 1.2.x: no. Needs a device.

widgetAccentable is used only in Sources/OrgstarWidgets/UpNextWidget.swift:52-66 and the watch widgets. In tinted mode the habit graph's four colours collapse to one (Sources/OrgstarWidgets/HabitsWidget.swift:133-144). Mark headers accentable and encode habit state by opacity in accented mode.

Platforms: iOS widgets.

Manual: screenshots

Severity: medium. Fits 1.2.x: no.

docs/manual has no images. Add one each for the Mac window, the iOS editor with the key bar, and the agenda. The site is English only (docs/manual/orgo.toml:7).

Platforms: manual.

Agenda time grid: drop redundant lines

Severity: low. Fits 1.2.x: no.

Grid labels stack in 10 to 14 pt rows, and a grid line repeats under an entry at the same time (Sources/Orgstar/AgendaView.swift:476-486, Sources/OrgstarMobile/AgendaScreen.swift:1081). Omit a line whose time an entry shows and give the rest row spacing.

Platforms: Mac, iOS.

Capture heading, outline column, board column widths

Severity: low. Fits 1.2.x: yes.

The Mac capture window says "Capture" twice (Sources/Orgstar/OrgstarApp.swift:461, Sources/Orgstar/CaptureView.swift:77). The empty "Links to this file / None" pane takes a fifth of the outline column (Sources/Orgstar/BacklinksPane.swift:32, :41). The board's Scheduled column truncates at its default width (Sources/Orgstar/BoardView.swift:106). Screenshots: mac-capture.png, mac-main.png, mac-board.png.

Platforms: Mac.

Quick Look: other encodings

Severity: low. Fits 1.2.x: yes.

The preview reads UTF-8 only and throws a generic error otherwise (Sources/OrgstarQuickLook/PreviewProvider.swift:13); content size is fixed at 800 by 800 (:16). Fall back to Latin-1.

Platforms: Mac, iOS.

App Store screenshots: one appearance, demo dates, a readable editor shot, German

Severity: low. Fits 1.2.x: no.

The Mac editor shot is dark with November dates; the others are light with the October demo dates CONTRIBUTING.org describes. ios/AppStore/screenshots/iphone-6.9/03-editor.png shows raw markup with the key bar cut off. All sets are English.

Platforms: App Store.

iOS: move the notification clean-up out of App.init

Severity: low. Fits 1.2.x: yes. Check on a device first.

MobileModel.init calls clock.remindAtEffort (Sources/OrgstarMobile/MobileModel.swift:102), which calls removePendingNotificationRequests synchronously (Sources/OrgApp/ClockModel.swift:259, Sources/OrgApp/ReminderScheduler.swift:113) before the first frame. On a freshly booted, heavily loaded simulator this held a blank screen for 15 to 30 seconds on two launches; later launches took about a second. Run it after the first frame.

Platforms: iOS.

Platforms: Mac, iOS, iPadOS, watchOS, widgets, manual, App Store.

referenced in commit 2c99274b57 by cmc: German: agenda title and gutter labels

2026-11-22 21:34 UTC

referenced in commit d4c865455d by cmc: Agenda time grid: drop redundant lines

2026-11-22 21:34 UTC