Skip to content

Add handwritten notes filter (#120)#139

Open
SinhSinhAn wants to merge 2 commits intodevelopfrom
handwritten-notes-filter
Open

Add handwritten notes filter (#120)#139
SinhSinhAn wants to merge 2 commits intodevelopfrom
handwritten-notes-filter

Conversation

@SinhSinhAn
Copy link
Contributor

Summary

  • Added handwritten boolean column to the file schema (defaults to false), with migration
  • Created HandwrittenFilter client component with MUI Select dropdown (All Notes / Handwritten Only / Digital Only) that updates ?handwritten URL search param
  • Updated the notes page to accept searchParams, filter files by handwritten state server-side, and render the filter dropdown
  • Closes Handwritten notes filter #120

@vercel
Copy link

vercel bot commented Mar 20, 2026

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

Project Deployment Actions Updated (UTC)
utd-notebook Ready Ready Preview, Comment Mar 26, 2026 7:52pm

Request Review

Copy link
Member

@TyHil TyHil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good!

One thing would be maybe to rename src/components/sections/HandwrittenFilter.tsx to src/components/sections/Filters.tsx so we can put more filters in it in the future

@SinhSinhAn SinhSinhAn force-pushed the handwritten-notes-filter branch from 267dc12 to e118387 Compare March 26, 2026 19:44
@SinhSinhAn
Copy link
Contributor Author

SinhSinhAn commented Mar 26, 2026

Force pushed after rebasing on latest develop , was simpler than resolving merge conflicts from unrelated commits.

Add handwritten boolean column to file schema and a dropdown filter
on the notes page to filter by handwritten, digital, or all notes.
…ypes

- Rename HandwrittenFilter.tsx → Filters.tsx for future extensibility
- Update dark:bg-neutral-900 → dark:bg-neutral-800 per card color update
- Fix filterSections type to use SectionWithFilesWithUserMetadata
@SinhSinhAn SinhSinhAn force-pushed the handwritten-notes-filter branch from e118387 to bea9e3d Compare March 26, 2026 19:49
@SinhSinhAn
Copy link
Contributor Author

SinhSinhAn commented Mar 26, 2026

Cleaned up the branch , previous push had unrelated commits from search-api and save-notes that leaked in via the merge history. Recreated the branch fresh from develop with only the handwritten filter changes (4 files).

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.

Handwritten notes filter

2 participants