Skip to content

Add Journal settings and reading font preferences - #223

Open
RCmerci wants to merge 6 commits into
mainfrom
devin/1796311954-journal-settings
Open

RCmerci wants to merge 6 commits into
mainfrom
devin/1796311954-journal-settings

Conversation

@RCmerci

@RCmerci RCmerci commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add Options → Settings with a live preview for System Default, Serif, and Monospaced. The choice persists across launches and applies to timeline, detail, and favorite block text, including already-mounted iOS graph panes.
  • Load the saved attachment window at startup and refresh it when the graph becomes active. Diagnostics reports graph-scoped download progress, an explicit off state for a zero-day window, and upload status with retries routed through the existing upload owner.
  • Verify Settings, Diagnostics, and preference persistence on iOS Simulator. See the PR comment for the recording and fixture coverage.

Link to Devin session: https://app.devin.ai/sessions/427defb975264a3092f801d10c787fcc
Open in Devin Desktop: https://app.devin.ai/desktop/session/427defb975264a3092f801d10c787fcc?variant=devin
Requested by: @RCmerci


🟢 Devin fixed all 2 findings · Follow Devin's work

Devin Review

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T15:40:47.570285Z cf39fcb PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cf39fcb112

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

}
.environment(\.journalStartupClock, platform.startupClock)
.environment(\.journalGraphScrollOffsets, graphScrollOffsets)
.environment(\.journalReadingFont, readingFont)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Forward the reading font into retained iOS graph hosts

On iOS, selecting Serif or Monospaced updates the Settings preview but leaves graph block text using the system font: source inspection shows that JournalChrome.GraphPages.Pane creates a separate UIHostingController, whose content(_:gate:) forwards selected environment values but not journalReadingFont. Its Style equality also omits this preference, so changing it does not refresh retained hosting roots. Forward the preference across that boundary and include it in the update comparison so both saved and live font selections reach lists and details.

Useful? React with 👍 / 👎.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 2 findings. Devin automatically fixed all 2 findings.

Fixed by Devin (2)
  • Reading font ignored on iOS — Forwarded the reading font through the iOS graph hosting boundary and included it in retained pane updates. Simulator testing confirmed live timeline and detail rendering.
  • Reading font skips favorite blocks — Favorite block titles now use the reading font via compact bounded text, with existing single-line layout and shared title lookup coverage.

View findings in Devin Review · Follow Devin's work

Devin Review

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Verified on iPhone 17 Pro (iOS 26.5) using ocaml-sync-test at 237314b. Options opens Settings and Diagnostics separately. Monospaced updates the preview, timeline, and block details. The reading font and zero-day attachment preference survive a full relaunch.

System Default and Monospaced in Settings

Simulator recording

Settings, font propagation, and Diagnostics on iOS

Favorite block rendering, active transfers, retry, and graph-switch refresh had no fixture coverage in the Simulator run. The app used the experimental host-restamped build. A test-only decoder workaround let the verifier read a truncated UTF-8 entry without changing the linker output or its hash.

Written by Devin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant