Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Add step for quick add menu to onboarding tour

Wieland Lindenthal21af36f56ad0
diff --git a/config/locales/js-en.yml b/config/locales/js-en.yml
index 910c3bd9f1f..585783cebea 100644
--- a/config/locales/js-en.yml
+++ b/config/locales/js-en.yml
@@ -506,6 +506,7 @@ en:
help_menu: 'In the <b>Help</b> menu you will find a user guide and additional help resources. <br> Enjoy your work with OpenProject!'
members: 'Invite new <b>Members</b> to join your project.'
project_selection: 'Please click on one of the projects with useful demo data to get started. <br> The <b>Demo project</b> suits best for classical project management, while the <b>Scrum project</b> is better for Agile project management.'
+ quick_add_button: 'Create a new project or invite coworkers.'
sidebar_arrow: "With the arrow you can navigate back to the project's <b>Main menu</b>."
welcome: 'Take a three minutes introduction tour to learn the most <b>important features</b>. <br> We recommend completing the steps until the end. You can restart the tour any time.'
wiki: 'Within the <b>Wiki</b> you can document and share knowledge together with your team.'
diff --git a/frontend/src/app/globals/onboarding/tours/menu_tour.ts b/frontend/src/app/globals/onboarding/tours/menu_tour.ts
index 983163ccc54..623f26c8064 100644
--- a/frontend/src/app/globals/onboarding/tours/menu_tour.ts
+++ b/frontend/src/app/globals/onboarding/tours/menu_tour.ts
@@ -10,6 +10,11 @@ export function menuTourSteps() {
'showSkip': false,
'nextButton': { text: I18n.t('js.onboarding.buttons.next') },
},
+ {
+ 'next .op-quick-add-menu': I18n.t('js.onboarding.steps.quick_add_button'),
+ 'showSkip': false,
+ 'nextButton': { text: I18n.t('js.onboarding.buttons.next') },
+ },
{
'next .op-app-help': I18n.t('js.onboarding.steps.help_menu'),
'shape': 'circle',
diff --git a/spec/support/onboarding_helper.rb b/spec/support/onboarding_helper.rb
index ea8b4f8683a..a4f6f619e22 100644
--- a/spec/support/onboarding_helper.rb
+++ b/spec/support/onboarding_helper.rb
@@ -60,6 +60,9 @@ module OnboardingHelper
next_button.click
expect(page).to have_text 'Within the Wiki you can document and share knowledge together with your team.'
+ next_button.click
+ expect(page).to have_text 'Create a new project or invite coworkers.'
+
next_button.click
expect(page).to have_text 'In the Help menu you will find a user guide and additional help resources.'