Repository navigation
feat(view): redesign congratulations page for v4.0 - #2098
Merged
Merged
Conversation
Replace static welcome text with dashboard-style page showing runtime info (engine, database, environment), CLI detection with platform-aware install instructions (Homebrew/Chocolatey), quick-start action cards, and v4.0 feature highlights grid. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 of 4 tasks
This was referenced May 12, 2026
Merged
This was referenced May 21, 2026
bpamiri
added a commit
that referenced
this pull request
Jun 26, 2026
…te (#3260) * feat(cli): show onboarding content on the scaffolded home page `wheels new` generated a bare two-line placeholder at `/`, while the redesigned welcome page (Public.index -> congratulations.cfm) sat orphaned at `/wheels` where nobody lands. Port the first-run essentials into the generated app/views/main/index.cfm: a runtime status line (Wheels version, engine, database, environment) and a Next-steps command guide, as semantic HTML styled by the template's simple.css. Leaves framework-internal chrome, the CLI install banner, and the version-pinned "What's New" grid on the /wheels page. Resync the scaffoldProject mirror in ProjectScaffoldTest.cfc (it mirrors Module.cfc exactly) and strengthen the view assertion to lock in the new content and the ## -> # escaping. Signed-off-by: Peter Amiri <peter@alurium.com> * fix(security): defense-in-depth gate the /wheels welcome page Public.index (the congratulations/welcome page at the /wheels namespace root) was the only Public.cfc handler without a $blockInProduction() guard, a deliberate #2233 exception that relied on enablePublicComponent=false to hide /wheels in production by default. The redesigned page (#2098/#2272) surfaces version/engine/database/ environment, the same class of detail every other gated handler protects. Add $blockInProduction() as the first statement so it no longer renders outside development when enablePublicComponent is manually enabled. Development still renders (the gate is an allowlist). Flip PublicComponentProductionSpec.cfc: add "index" to the gated-handler list and drop the now-contradictory "NOT gated" exception test. Signed-off-by: Peter Amiri <peter@alurium.com> * docs: flag starter home page as dev-facing, fix stale index() comment Address wheels-bot review feedback on PR #3260: - The generated starter home page now carries a comment warning that it is a development/first-run landing page which surfaces environment details (Wheels version, engine, database, environment) and should be replaced with a real homepage before production. Mirrored in the scaffoldProject test helper. - InvokeMethodSpec.cfc described index() as "ungated"; fix the stale comment now that index() calls $blockInProduction(). Signed-off-by: Peter Amiri <peter@alurium.com> --------- Signed-off-by: Peter Amiri <peter@alurium.com>
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
Test plan
cli/lucli/Module.cfcpresent → "Wheels CLI detected" line; without → install banner_header.cfm)🤖 Generated with Claude Code