Skip to content

refactor: remove SEO/SSR hydration and add shared todo id util - #6

Merged
palmithor merged 1 commit into
mainfrom
remove-seo-ssr-add-todo-id-util
Apr 28, 2026
Merged

refactor: remove SEO/SSR hydration and add shared todo id util#6
palmithor merged 1 commit into
mainfrom
remove-seo-ssr-add-todo-id-util

Conversation

@palmithor

@palmithor palmithor commented Apr 28, 2026

Copy link
Copy Markdown
Member

Summary

  • Removes the edge-side SEO landing page route and all related SSR/hydration infrastructure
  • Adds a shared todo-id-util.ts with todo_<ULID> generation
  • Cleans up README structure and clarifies setup prompts

Changes

Removed

  • apps/worker/src/features/seo/seo-route.ts — edge-side rendered landing page with meta tags, JSON-LD, Open Graph, etc.
  • apps/web/src/ssr-classes.ts — Tailwind scan helper for SSR classes
  • rootElement.innerHTML = "" hydration cleanup in main.tsx
  • SEO/SSR sections from README

Added

  • apps/worker/src/features/todo/todo-id-util.tsgenerateTodoId() using ulid package
  • ulid to apps/worker dependencies (via catalog)

Refactored

  • todo-trpc.ts and todo-route.ts now use generateTodoId() instead of crypto.randomUUID()

Docs

  • Removed redundant Prerequisites section
  • Merged setup steps into explicit ### After Setup subsection with code blocks
  • Updated setup prompt table: GitHub orgGitHub org or username with note to use username if no org

Verification

  • All tests pass (bun run test)

View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews

@github-actions

github-actions Bot commented Apr 28, 2026

Copy link
Copy Markdown

🚀 Preview Environment Deployed

Preview URL: https://cloudflare-worker-app-pr-6.coding-cowboys.workers.dev
Database: cloudflare-worker-app-db-pr-6

This preview environment will be automatically cleaned up when the PR is closed.

@palmithor
palmithor force-pushed the remove-seo-ssr-add-todo-id-util branch 11 times, most recently from dafb171 to 47db714 Compare April 28, 2026 12:50
- Delete edge-side SEO landing page route and related SSR infra
- Remove ssr-classes.ts and hydration cleanup in main.tsx
- Add todo-id-util.ts with todo_<ULID> generation via ulid package
- Refactor todo-trpc and todo-route to use generateTodoId()
- Clean README: remove SEO section, merge prereqs into After Setup,
  clarify GitHub org/username prompt
@palmithor
palmithor force-pushed the remove-seo-ssr-add-todo-id-util branch from 47db714 to 5591653 Compare April 28, 2026 14:35
@palmithor
palmithor merged commit 60502df into main Apr 28, 2026
3 checks passed
@github-actions

Copy link
Copy Markdown

🧹 Preview Environment Cleaned Up

The preview environment and database have been deleted.

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