Skip to content

feat(app): add file tree image asset toggle#378

Merged
murongg merged 1 commit into
mainfrom
feature/hide-image-assets
Jun 22, 2026
Merged

feat(app): add file tree image asset toggle#378
murongg merged 1 commit into
mainfrom
feature/hide-image-assets

Conversation

@murongg

@murongg murongg commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a file tree toolbar toggle for hiding and showing image assets without changing native file scanning.
  • Persist the image asset visibility preference in workspace state.
  • Add localized labels for all supported languages and coverage for the visibility behavior.

Why

  • Keeps generated image asset files out of the file tree when users want a cleaner Markdown workspace structure.

Validation

  • pnpm --filter @markra/app test -- MarkdownFileTreeDrawer.test.tsx useMarkdownFileTree.test.tsx passed (90 files, 1357 tests)
  • pnpm --filter @markra/app typecheck:test passed
  • pnpm --filter @markra/app build passed
  • pnpm --filter @markra/shared build passed
  • git diff --check passed

Risk

  • Low: the filtering is UI-only, and native file listing plus image asset handling remain unchanged.

Related Issues

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
markra-web Ready Ready Preview, Comment Jun 22, 2026 9:30am

@murongg murongg marked this pull request as ready for review June 22, 2026 09:34
@murongg murongg merged commit 02ad627 into main Jun 22, 2026
4 checks passed
@murongg murongg deleted the feature/hide-image-assets branch June 22, 2026 09:35
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.

[Feature]: 关于assets文件夹的隐藏

1 participant