Commit Graph
41 Commits
Author SHA1 Message Date
jakeandClaude Sonnet 5.5 6d255ce822 refactor: move read queries into server-only lib/data and render post stats on the server
Reads no longer live in "use server" files (which made them public
endpoints). /notes stats come from one cached query pair rendered on the
server; the post page comment count streams in as a dynamic hole.
revalidateTag("views"/"comments") now invalidates the cached stats.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-03 08:40:14 -04:00
jake ed62c0cd6e feat: change main font to Schibsted Grotesk, adjust sizes 2026-09-26 13:17:25 -04:00
jake 9b19f9eb39 fix: make sitemap.xml prerenderable 2026-08-16 18:04:40 -04:00
jake 38a00cf203 chore: next 16.3, drizzle v1, other cleanup (#2620) 2026-08-16 16:17:10 -04:00
jake b2416ff0db refactor: overhaul view transitions with granular per-page animation components
- Replace single `<ViewTransition>` wrapper in layout with `FadeTransition` and `DirectionalTransition` components applied per page
- Add `components/page-transition.tsx` with reusable transition wrappers
- Expand view transition CSS with named classes: fade, slide, nav-forward/back, morph, text-morph, scale — all driven by CSS custom property durations
- Use React `<ViewTransition name=... share="text-morph">` for shared note title element between list and detail views
- Wrap comments suspense boundary with enter/exit slide transitions
- Add `persistent-nav` and `persistent-footer` view-transition-name groups to keep chrome static during navigation
- Fix reduced-motion override to target delay and duration instead of `animation: none`
- Add tracking-tight and letter-spacing tweaks to home page typography
2026-04-25 10:50:31 -04:00
jake 5a1636baa3 refactor: migrate from Biome to oxlint/oxfmt, remove contact form
- Replace Biome with oxlint + oxfmt (OXC toolchain) for linting and formatting
- Add .oxlintrc.json and .oxfmtrc.json configuration files
- Update VS Code settings and devcontainer to use oxc-vscode extension
- Remove contact form, Resend email integration, and related server action/schema
- Remove unused UI components (accordion, alert, card, tabs, toggle, etc.)
2026-04-05 19:45:18 -04:00
jake c30197ccc5 refactor: eslint/prettier ➡️ biome 2026-02-19 14:02:03 -05:00
jake 4dca81b58a fix: batch server requests from posts list 2026-01-28 14:37:37 -05:00
jake 5fc9efb181 fix: don't pre-render view and comment count components
- Introduced a new PostStats component to handle view and comment counts, replacing the previous async implementation with a client-side approach.
- Updated CommentCount component to use client-side state management for fetching comment counts.
- Removed unnecessary caching logic from view and comment fetching functions.
- Simplified date formatting by moving it inline, enhancing performance and readability.
2026-01-28 13:35:16 -05:00
jake 29487e6d5f refactor: simplify next link component usage 2026-01-28 12:40:59 -05:00
jake 928ec66cf6 fix: view transitions 2026-01-28 11:18:56 -05:00
jake b80768cab6 feat: enhance mobile navigation with simple dropdown menu 2026-01-28 10:57:34 -05:00
jake 7743976db8 fix: remove unnecessary flex classname from post titles 2026-01-28 09:35:46 -05:00
jake 2ece5c79fa 2026 Redesign (#2531) 2026-01-27 22:53:59 -05:00
jake 5ac49b9fe1 fix: disable prefetching for links across multiple components to improve performance 2025-11-27 11:21:40 -05:00
jake 8a09aa918c chore: Next.js 15 → 16 (#2503) 2025-11-22 17:11:42 -05:00
jake 2fa9b73f8d Enhance notes page with comment counts and display. Update data fetching to include comment counts alongside views, and integrate comment count badges in both the notes listing and individual post pages. 2025-09-07 16:26:45 -04:00
jake 879c2b9dbe fix flash of white in dark mode 2025-05-21 16:56:54 -04:00
jake f4c69292df do react types more better too 🧠 2025-05-19 17:58:03 -04:00
jake a9d83768ca re-enable comments on non-post pages 2025-05-18 14:38:10 -04:00
jake b196249f25 homebrew comments system 2025-05-14 09:49:55 -04:00
jake cce48e558f update cloudflare turnstile 2025-05-09 11:07:23 -04:00
jake eab84bfee9 correct some flex/grid spacings 2025-05-08 10:07:40 -04:00
jake a08ec532b3 add .github/copilot-instructions.md file
https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
2025-05-06 19:07:23 -04:00
jake bea2a55f77 display each post's view count in list 2025-05-06 15:26:24 -04:00
jake 27e6ca2a4b minor style tweaks 2025-05-05 12:55:12 -04:00
jake 5058382f71 Tailwind redesign (#2387) 2025-05-02 22:04:26 -04:00
jake 6c3cd0afe9 attempt to fix metadata merging 2025-04-22 22:17:32 -04:00
jake cfe77f98d6 experimental prefetching on hover for common links 2025-04-15 09:30:20 -04:00
jake 84702aeab1 remove css reset as a dependency 2025-04-08 19:52:54 -04:00
jake 87a24a98f0 sentry instrumentation 2025-03-29 20:37:28 -04:00
jake 264fd92379 refactor note processing functions 2025-03-28 09:22:04 -04:00
jake 8890c1d08d dayjs ➡️ date-fns 2025-03-21 13:20:42 -04:00
jake 5ca7e6cb22 extract metadata merging logic from each page into a helper function 2025-03-14 20:16:27 -04:00
jake 3932660acc pre-render optimizations 2025-03-14 12:51:18 -04:00
jake e61ca889a7 consistent arrow functions 2025-03-12 18:10:11 -04:00
jake 2d6fc82f71 fresh <PageTitle> look 2025-03-08 13:09:29 -05:00
jake 9229f92c0c a bit more cleanup 2025-03-07 14:56:49 -05:00
jake 354dade9aa move some non-post pages to mdx 2025-03-07 11:53:23 -05:00
jake 37375b766f server all the actions! 2025-02-08 12:37:41 -05:00
jake 8aabb4a66f Migrate to app router (#2254) 2025-02-07 11:33:38 -05:00