Skip to content

[COMMS-1100] Send the onboarding tour to the demo project by its identifier - #26604

Draft
thykel wants to merge 1 commit into
bug/comms-1099-notification-split-view-title-differs-between-identifier-modesfrom
bug/comms-1100-onboarding-tour-opens-a-missing-demo-project-on-semantic-instances
Draft

thykel wants to merge 1 commit into
bug/comms-1099-notification-split-view-title-differs-between-identifier-modesfrom
bug/comms-1100-onboarding-tour-opens-a-missing-demo-project-on-semantic-instances

Conversation

@thykel

@thykel thykel commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Ticket

https://community.openproject.org/projects/COMMS/work_packages/COMMS-1100/activity

What are you trying to accomplish?

On an instance whose demo data was seeded with semantic identifiers, the onboarding tour opens /projects/demo-project/work_packages and gets a 404, because the demo project is DEMO.

What approach did you choose and why?

The tour URLs were hardcoded to demo-project. A small Projects::DemoProject module knows both demo identifiers (demo-project, DEMO): the layout exposes the existing one in a demo_project_identifier meta tag, demoProjectUrl() builds the tour URLs from it, and UpdateDemoData recognizes either identifier. A semantic context in onboarding_tour_spec checks that the tour continues in the DEMO project.

Seeding the demo project as DEMO in semantic mode is a separate follow-up; this PR only stops the tour from depending on the classic identifier.

Stacked on #26603.

AI involvement

Directed – I specified the requirements and AI implemented most of it; I validated via testing rather than a full line-by-line review.

Merge checklist

  • Added/updated tests
  • Added/updated documentation in Lookbook (patterns, previews, etc)
  • Tested major browsers (Chrome, Firefox, Edge, ...)

🤖 Generated with Claude Code

…tifier

The tour URLs were hardcoded to /projects/demo-project, which does not
exist when the demo data is seeded with semantic identifiers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@thykel
thykel added this pull request to stack #26605 November 3, 2026 15:15
@github-actions github-actions Bot added the ai: Directed 🪄 A human specified the requirements and AI implemented most of it; They validated via testing. label Nov 3, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai: Directed 🪄 A human specified the requirements and AI implemented most of it; They validated via testing.

Development

Successfully merging this pull request may close these issues.

1 participant