feat(docs): guided start pages and landing UX for Drupal workspaces#157
feat(docs): guided start pages and landing UX for Drupal workspaces#157jameswilson wants to merge 14 commits into
Conversation
Add pick-card controls, dark tokens, and logo assets; document patterns on /components.html.
Replace inline CSS on index, access-denied, and the default Jekyll layout with coder-ddev-start.css.
Use pick-card fields for version, profile, and site visibility; launch workspaces via mode=auto with prefilled params.
Point users at the issue picker and Drupal core start flows instead of a raw Open in Coder link.
Add a three-column hero layout, callout variants, and move sign-in guidance below the primary entry tiles.
Style footnote links with target flash, move access details to a second footnote, and fix notes section markup.
Fall back to issue NID when branch-based names exceed the limit and show inline field errors before launch.
Use announce callouts for ddev-drupal-dev and ddev-drupal-contrib documentation.
Point the Drupal Core tile at /drupal-core and remove a stray closing anchor tag.
Resolve module vs theme from the Drupal.org project node API so drupal-contrib launch URLs symlink themes into web/themes instead of web/modules.
|
This is great. Would you mind just dropping the middle one for simplicity, assuming people don't actually need a drupal HEAD build? |
|
@rfay thanks for the review. Do you mean removing only the homepage card that links to /drupal-core, or removing the /drupal-core endpoint entirely? |
I can see a few valid cases where they might:
That last case is where After spending several hours on this yesterday, I think the better long-term answer is a single consolidated Slightly related: |
|
In all of those cases (I think) every single workspace can be used any way the owner wants to use it. It's just like your own computer. You But you're closer to this than I am... |
|
Also note that we're not taking anything away here. You can still just go to coder.ddev.com and create a new workspace, don't fill in the issue fork, and go on your way. |
|
Tests aren't set up to be used on forks :( |






Fixes #156
Summary
Users landing on
start.coder.ddev.comwere often sent straight to the rawdrupal-coreCoder template in manual mode, where version/branch mismatches and opaque parameter choices caused confusion. This PR steers people through guided entry points on the start site, consolidates shared styling, and prefills workspace creation viamode=autoso the right template parameters are locked in before Coder opens.Landing page (
docs/index.html)/drupal-core(not/drupal-issue)</a>)New guided start pages
/drupal-core(docs/drupal-core.html)coder/drupal-corewithmode=autoanddisable_paramsso version, profile, and visibility are prefilled and not accidentally changed in Coder/drupal-issue(docs/drupal-issue.html)drupal-corevsdrupal-contribtemplate automatically<select>dropdowns for version, profile, and site visibility (matches drupal-core)mode=auto+disable_paramson all three forms (result, plain, manual)param.project_type(modulevstheme) from the Drupal.org project node API (project_theme/project_module) so contrib themes symlink intoweb/themescorrectlyShared infrastructure
docs/coder-ddev-start.css.cds-namespace.<style>blocks previously duplicated across pagesdocs/coder-workspace-name.js{version}-{profile}-{branch}would exceed the limitdocs/components.htmlLayout consolidation
docs/_layouts/default.html,docs/access-denied.html— drop inline CSS in favor of shared stylesheetdocs/logo-coder-on-dark.svg,docs/logo-ddev-on-dark.svgDocumentation updates
docs/user/quickstart.md/drupal-issueand/drupal-coreREADME.mdTemplate tweak (requires separate template push)
drupal-core/template.tfDemo Umami,Minimal,Standard)Test plan
start.coder.ddev.com/— three tiles render; Core tile goes to/drupal-core; footnotes link and scroll correctly/drupal-core— pick version/profile/visibility, launch URL containsmode=autoand expectedparam.*values/drupal-issue— core issue (e.g. drupal.org core issue NID): loads branches, launchesdrupal-coretemplate/drupal-issue— contrib module issue: launchesdrupal-contribwithparam.project_type=module/drupal-issue— contrib theme (e.g.oliveroor theme issue): launches withparam.project_type=theme/drupal-issue— plain contrib machine name: plain-dev form, correct project type in URLterraform fmt/ validate ondrupal-coreif template push is included in this release