Skip to content

fix(tutorials): tag/level chips link to /tutorial-navigator/ not /tutorials/ - #2928

Merged
jung-thomas merged 11 commits into
DEVfrom
worktree-fix-tag-chip-links
Oct 25, 2026
Merged

jung-thomas merged 11 commits into
DEVfrom
worktree-fix-tag-chip-links

Conversation

@jung-thomas

Copy link
Copy Markdown
Contributor

Problem

Clicking a tag or experience-level chip on a tutorial (both the object-page header chips and the Overview meta tags) produced Cannot GET /content/tutorials/.

The chips deep-linked to /tutorials/?tag=<slug> and /tutorials/?level=<slug>, but there is no listing route at /tutorials/ — the AppRouter forwards /tutorials/* to CAP /content/tutorials/:slug, so an empty slug 404s.

Fix

Point all five chip anchors at /tutorial-navigator/, which already reads ?tag= and ?level= as issue #161 deep-link entry params (hugo-apps/src/navigator/url-params.ts:20,30) and seeds its product/level filters from them.

Files:

  • hugo/layouts/tutorials/u1-object-page.html — 2 level chips + 2 tag chips (displayTags + primaryTag)
  • hugo/layouts/partials/tutorial-meta.html — Overview tag chips
  • test/smoke/clickable-chips.smoke.test.ts — was asserting the broken /tutorials/ target; updated to /tutorial-navigator/

Verification

Isolated Hugo render of the exact chip blocks confirms output:

  • /tutorial-navigator/?level=beginner
  • /tutorial-navigator/?tag=software-product%3Ejoule-studio
  • /tutorial-navigator/?tag=tutorial%3Ebeginner

License label still suppressed; > still URL-encodes to %3E.

jung-thomas and others added 11 commits October 25, 2026 12:44
release v1.41.1 DEV to main promotion
# Conflicts:
#	.deploy/mta.yaml
#	hugo/data/whats_new.json
#	mta-mcp.yaml
release v1.41.2 DEV to main promotion
I would not say that TypeScript is preferred for CAP. Also, "in this
codebase" seems a bit disconnected generally, so I removed it.
# Conflicts:
#	.deploy/mta.yaml
#	hugo/data/whats_new.json
#	mta-mcp.yaml
release v1.41.3 DEV to main promotion
…orials/

The clickable tag and experience chips on the tutorial object page (and the
Overview meta tags) deep-linked to /tutorials/?tag=<slug> and /tutorials/?level=,
but there is no listing route at /tutorials/ — the AppRouter forwards /tutorials/*
to CAP /content/tutorials/:slug, so an empty slug returned 'Cannot GET
/content/tutorials/'. Point the chips at /tutorial-navigator/, which reads ?tag=
and ?level= as issue #161 deep-link entry params (hugo-apps/src/navigator/
url-params.ts). Update the clickable-chips smoke test, which was asserting the
broken /tutorials/ target.

Verified with an isolated Hugo render of the chip blocks.
@jung-thomas
jung-thomas merged commit e30709b into DEV Oct 25, 2026
6 checks passed
@jung-thomas
jung-thomas deleted the worktree-fix-tag-chip-links branch October 25, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants