Skip to content

feat: mdx support and scan/import progress indicators#27

Closed
mattbratos wants to merge 1 commit intogarrytan:masterfrom
mattbratos:feat/mdx-support-and-progress
Closed

feat: mdx support and scan/import progress indicators#27
mattbratos wants to merge 1 commit intogarrytan:masterfrom
mattbratos:feat/mdx-support-and-progress

Conversation

@mattbratos
Copy link
Copy Markdown
Contributor

Changes

MDX support

.mdx files are silently ignored by gbrain import. Next.js, Gatsby, and Astro projects store content as MDX — this adds them alongside .md.

Progress indicators

  • Scanning large directory trees showed no output, making it look frozen. Now shows a live Scanning... N dirs, M .md files found counter during traversal.
  • Import progress was reported every 100 files. For most users with <100 files, nothing printed until completion. Now reports every 10 files.

🤖 Generated with Claude Code

- Import .mdx files alongside .md (Next.js, Gatsby, Astro projects)
- Show live scanning progress every 10 dirs for large directory trees
- Report import progress every 10 files instead of 100, so small
  imports (<100 files) show progress instead of going silent

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mattbratos mattbratos marked this pull request as ready for review April 10, 2026 16:10
@garrytan
Copy link
Copy Markdown
Owner

Included in the community fix wave (PR #38, v0.6.1)! MDX support and progress indicators both landed. We also extended the fix to slugifyPath and isSyncable so .mdx files work end-to-end through the whole pipeline. Thank you @mattbratos! 🙌

@garrytan garrytan closed this Apr 11, 2026
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.

2 participants