Problem
When opening a diff for a Markdown file in ThinkRail, it currently defaults to the Monaco split source view (apps/web/src/panels/DiffPane.tsx: tab.rendered ?? false). Users reviewing documentation, specifications, or changelogs have to notice and click the "Rendered" toggle on each diff tab to view formatted diffs (prose styling, headers, visual deletion/addition markers).
In contrast, opening an ordinary Markdown file in FilePane.tsx already defaults to the rendered preview (tab.view ?? "rendered").
Proposed solution
Make the Rendered diff view the default when opening Markdown diffs (tab.rendered ?? true when isMarkdownPath(tab.path)), matching the rendered-by-default behavior of FilePane.
Alternatives considered
Additional context
🤖 Generated by AI agent
Problem
When opening a diff for a Markdown file in ThinkRail, it currently defaults to the Monaco split source view (
apps/web/src/panels/DiffPane.tsx:tab.rendered ?? false). Users reviewing documentation, specifications, or changelogs have to notice and click the "Rendered" toggle on each diff tab to view formatted diffs (prose styling, headers, visual deletion/addition markers).In contrast, opening an ordinary Markdown file in
FilePane.tsxalready defaults to the rendered preview (tab.view ?? "rendered").Proposed solution
Make the Rendered diff view the default when opening Markdown diffs (
tab.rendered ?? truewhenisMarkdownPath(tab.path)), matching the rendered-by-default behavior ofFilePane.Alternatives considered
Additional context
🤖 Generated by AI agent