refactor: remove SEO/SSR hydration and add shared todo id util - #6
Merged
Conversation
🚀 Preview Environment DeployedPreview URL: https://cloudflare-worker-app-pr-6.coding-cowboys.workers.dev This preview environment will be automatically cleaned up when the PR is closed. |
palmithor
force-pushed
the
remove-seo-ssr-add-todo-id-util
branch
11 times, most recently
from
April 28, 2026 12:50
dafb171 to
47db714
Compare
- 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
force-pushed
the
remove-seo-ssr-add-todo-id-util
branch
from
April 28, 2026 14:35
47db714 to
5591653
Compare
🧹 Preview Environment Cleaned UpThe preview environment and database have been deleted. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
todo-id-util.tswithtodo_<ULID>generationChanges
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 classesrootElement.innerHTML = ""hydration cleanup inmain.tsxAdded
apps/worker/src/features/todo/todo-id-util.ts—generateTodoId()usingulidpackageulidtoapps/workerdependencies (via catalog)Refactored
todo-trpc.tsandtodo-route.tsnow usegenerateTodoId()instead ofcrypto.randomUUID()Docs
GitHub org→GitHub org or usernamewith note to use username if no orgVerification
bun run test)Need help on this PR? Tag
@codesmithwith what you need.