GeezerVison is showing github.com — web-gen: extract web-gen-ui components crate (split step 2, #8961) by dezren39 · Pull Request #12918 · developing-today/code
Conversation
dezren39
commented
Nov 23, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Step 2 of the pkgs/web-gen crate split (#8961; umbrella #8958). Step 1 (#8960, web-gen-core) landed in #12876; the revival gate was discharged by #12369 (stable Leptos 0.8.23 build restored).
What moves: the five components — App, TestApp, ProgressBar, RandomMultiplierForm, DetailedFormExample — move verbatim from pkgs/web-gen/src/main.rs into the new member crate web-gen-ui (crates/web-gen-ui), which depends on web-gen-core. The commented-out historical FormExample block moves with them. The only source edits are pub on the three previously private components (App/TestApp/ProgressBar) so the facade can re-export them.
Facade: the bin keeps main (mount/bootstrap) and one re-export line, pub use web_gen_ui::{App, DetailedFormExample, ProgressBar, RandomMultiplierForm, TestApp}; — no component code remains in the bin crate (0 #[component] in src/main.rs).
Manifests: shared leptos/leptos_router/wasm-bindgen/web-sys versions pinned in [workspace.dependencies] (step-1 pattern); the bin drops the deps only the components used (leptos_router, wasm-bindgen, web-sys, web-gen-core). No dependency version bumps. Cargo.lock diff: +12/−4 (new path-only member).
Verification (laptop worktree off origin/main):
cargo test --workspace --offline — all suites ok: web-gen-core 10 passed / 0 failed; ui + bin compile and run 0-test suites; doc-tests ok. No failures anywhere.
cargo check --locked --offline — Finished, exit 0.
cargo fmt -- --check — exit 0.
- Warning profile unchanged in substance: the same five pre-existing unused-import warnings (they serve commented-out code), now split across the two crates (ui 2, bin 3); web-gen-core's 2 pre-existing warnings untouched.
Closes #8961.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
Move the five Leptos components (App, TestApp, ProgressBar,
RandomMultiplierForm, DetailedFormExample) verbatim from the bin's
main.rs into the new member crate web-gen-ui, which depends on
web-gen-core. The three previously private components become pub so
the facade bin can re-export the ui surface; the bin keeps only
main (mount/bootstrap) plus the re-export line.
Shared leptos/leptos_router/wasm-bindgen/web-sys versions move to
[workspace.dependencies] (the step-1 pattern); the bin drops the
deps only the components used (leptos_router, wasm-bindgen,
web-sys, web-gen-core). Behavior-preserving; no version bumps.
Gate: cargo test --workspace green (web-gen-core 10/10, no
failures), cargo check --locked clean, cargo fmt --check clean.
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 27 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
40a92aae-777e-409e-8572-5ca0c10ff574
Commits
-
Reviewing files that changed from the base of the PR and between 91272de and 65a32bd.
Files ignored due to path filters: 1
-
pkgs/web-gen/Cargo.lock is excluded by !**/*.lock
Files selected for processing: 4
-
pkgs/web-gen/Cargo.toml
pkgs/web-gen/crates/web-gen-ui/Cargo.toml
pkgs/web-gen/crates/web-gen-ui/src/lib.rs
pkgs/web-gen/src/main.rs
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-11-23T05:05:34.026321Z |
65a32bd |
PR opened |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 23, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
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.
|