refactor(workspace): finish-audit fixes — off-main scan, parser edges, dead code out
Reviewers' findings on 804b588: scan moved off MainActor (Task.detached),
PostLibrary struct folded into Post.scan, hidden dirs and symlinked dirs
now actually skipped (test de-vacuated), unterminated frontmatter no longer
leaks as the Title, quoted YAML values unquoted, leading blank line before
--- tolerated, #-only body reads untitled, persisted Home validated
isFileURL. Dead code deleted: radiusLarge, editorMinWidth, homeKey,
PaneHeader trailing slot, Settings ScrollView, PostRow fill dance.
Tests 56/56, lint 0.
[Generated by AI]
This commit is contained in:
1 parent
804b5889f6
commit
765d32d4d4
10 files changed
+158
-101
No files matched your search
@@ -18,13 +18,12 @@ enum DesignTokens {
|
||||
static let accent = Color(red: 0xC9 / 255, green: 0x64 / 255, blue: 0x42 / 255)
|
||||
|
||||
static let radius: CGFloat = 10
|
||||
static let radiusLarge: CGFloat = 14
|
||||
|
||||
/// The workspace grid: rail | posts library | editor | mentor (grid-template-columns
|
||||
/// `56px 232px minmax(420px, 1fr) 356px`).
|
||||
/// `56px 232px minmax(420px, 1fr) 356px`). Editor min (420) has no enforcement
|
||||
/// yet — the editor column arrives with #19.
|
||||
static let railWidth: CGFloat = 56
|
||||
static let libraryWidth: CGFloat = 232
|
||||
static let editorMinWidth: CGFloat = 420
|
||||
static let mentorWidth: CGFloat = 356
|
||||
|
||||
/// The serif display face maps to the system serif design (export stack:
|
||||
|
||||
Reference in new issue
Block a user