Skip to content

pdf pinning, thumbnails panel, and sidebar uploads#749

Merged
moehdotdev merged 1 commit into
mainfrom
home-uiux-changes
May 13, 2026
Merged

pdf pinning, thumbnails panel, and sidebar uploads#749
moehdotdev merged 1 commit into
mainfrom
home-uiux-changes

Conversation

@moehdotdev

Copy link
Copy Markdown
Member

what changed (fun stuff)

pinned pdfs

  • added favorite field to the pdfs schema so uploads can be pinned just like notes
  • updatePdf now accepts favorite as an optional arg
  • pinned uploads bubble to the top of the workspace list (sorted before recency)
  • new PinnedUploadsList + PinnedUploadItem components in the sidebar, with the same double-click-to-rename and lazy-load-more behavior as pinned notes
  • getFavPdfs paginated query fetches only the user's pinned pdfs

pdf settings panel

  • pulled the old inline PdfCardMenu out and replaced it with a shared PdfSettings component used in three places: grid card, list card, and the top header bar when you're viewing a pdf
  • PdfSettingsSidebar used in the sidebar pinned item
  • header bar now shows pdf settings (pin, rename, delete, etc.) when on a pdf route, matching how note settings work

thumbnails panel in the pdf viewer

  • new ThumbnailsPanel sidebar in the viewer, toggled with a "Pg" button in the toolbar
  • auto-scrolls to the active page thumbnail as you navigate
  • panel mode is now a union type ("search" | "thumbnails" | null) instead of a boolean, so search and thumbnails are mutually exclusive
  • removed the old manual scroll-offset-based page tracking usePdf state handles current page directly now
  • toolbar moved to fixed right-4 top-20 so it doesn't overlap the side panels

drop upload idempotency

  • GlobalFolderDropUpload now calls getOrCreateTable instead of createTable, so dropping files into a workspace that already has a "uploads" table won't create a duplicate
  • dialog copy updated to reflect the upsert behavior

layout fixes

  • main content area gets min-h-0 so the pdf viewer can fill the full height without overflowing
  • note settings in the header are hidden on pdf routes (pdf settings show instead)
  • PdfSettingsSidebar added to AppSidebar imports
  • added movePdf mutation for moving a pdf between workspaces/tables (backend only for now)

@vercel

vercel Bot commented May 13, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
notevo Building Building Preview, Comment May 13, 2026 5:38am

@moehdotdev moehdotdev merged commit 8a4732d into main May 13, 2026
1 of 2 checks passed
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.

1 participant