Repository navigation
[COMMS-1100] Send the onboarding tour to the demo project by its identifier - #26604
Conversation
…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>
1 of 3 tasks
This branch has not been deployed
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.
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_packagesand gets a 404, because the demo project isDEMO.What approach did you choose and why?
The tour URLs were hardcoded to
demo-project. A smallProjects::DemoProjectmodule knows both demo identifiers (demo-project,DEMO): the layout exposes the existing one in ademo_project_identifiermeta tag,demoProjectUrl()builds the tour URLs from it, andUpdateDemoDatarecognizes either identifier. A semantic context inonboarding_tour_specchecks that the tour continues in theDEMOproject.Seeding the demo project as
DEMOin 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
🤖 Generated with Claude Code