Skip to content

feat(app): rich preview for new project sessions#20229

Draft
anduimagui wants to merge 1 commit intoanomalyco:devfrom
anduimagui:anduimagui/rich-preview-new-session
Draft

feat(app): rich preview for new project sessions#20229
anduimagui wants to merge 1 commit intoanomalyco:devfrom
anduimagui:anduimagui/rich-preview-new-session

Conversation

@anduimagui
Copy link
Copy Markdown
Contributor

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

This adds an optional rich preview for the new session empty state in the app. When the setting is enabled, the app looks for a top-level README, extracts a small markdown preview, and renders that as the full empty-state page; otherwise it keeps the existing default title view.

The setting is off by default, so the current experience stays unchanged unless a user enables it. The preview logic is isolated in session-new-rich-preview.tsx, while session-new-view.tsx now routes to that page when the setting is on.

How did you verify your code works?

  • Ran bun typecheck in packages/app
  • The commit hook also ran the repo typecheck (bun turbo typecheck) successfully during commit

Screenshots / recordings

Not included.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@anduimagui anduimagui changed the title feat(app): add optional rich preview for new sessions feat(app): add optional rich project preview for new sessions Mar 31, 2026
@anduimagui anduimagui changed the title feat(app): add optional rich project preview for new sessions feat(app): rich preview for new project sessions Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant