Repository navigation
Search and filter #3851
thristovska098
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Goals
1.Improve preview navigation for projects with many email templates, specifically the dev preview sidebar.
2.Add a search field that filters templates by file name and/or email subject (case-insensitive substring match is enough for v1).
3.Add a “Show by” control (e.g. dropdown) so users can choose whether list items are labeled by file name or email subject, without changing folder structure or routes.
Success looks like: designers, PMs, and QA can find the email they mean in seconds, without knowing TSX paths or kebab-case filenames.
Background
The React Email dev server sidebar is built around the file tree: directories and .tsx (or .jsx) filenames. That matches how engineers organize the repo, but it is not how most reviewers think about transactional email.
In larger monorepos or product teams (dozens to hundreds of templates, nested folders, multiple backends), the sidebar becomes hard to scan. There is no built-in way to filter the list or to surface subject lines—the label reviewers see in inboxes and test tools.
We hit this in production: people who review emails often do not know where templates live in the codebase. They know subjects, product areas, and copy. Search and subject-aware labels turn the preview app into something they can use without opening the repo in an IDE.
Proposal
Add to the preview sidebar
3.Empty state
4.Accessibility
All reactions