Repository navigation
feat(web): pilot Effect UI on /news - #370
Merged
Merged
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
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.
Pilots Effect UI on
/newsand/news/latestonly. Both pages server-render with@effect/uiand hydrate in the browser. Every other route stays on Foldkit 0.170.0, and Effect stays 4.1.4.Joel: "effect ui works btw" and "yes fucking add the dep".
@effect/uiis pinned to the exact pkg.pr.new commit snapshote2cb60ec, with an exactminimumReleaseAgeExcludeentry.vendor/README.mdrecords when that entry comes out.Size
HTML for the ranked page goes from 34,910 to 32,437 bytes gzipped, handoff included. CSS is unchanged.
Review
A blind cross-family review raised 27 findings, and the nine blocking ones are fixed:
HtmlServer.ts:227–231escapes<, U+2028 and U+2029, pinned by a real hostile-render test./src/.<head>, and the reader CSP test now covers news.Checks
pnpm turbo run check test build --summarize --forcepassed 106/106 with nothing cached.pnpm devhydrates, and WebMCPlistCafeNewsanswers.Not covered
The page has no interactive state yet, so hydration buys DOM adoption only. The next step would be client-side order switching. A cold install depends on pkg.pr.new keeping the snapshot; the desk monitors that URL.