Merge branch 'release/11.0' into dev

pull/8754/head
ulferts 4 years ago
commit 9f0502b887
No known key found for this signature in database
GPG Key ID: A205708DE1284017
  1. 5
      frontend/src/app/globals/onboarding/tours/boards_tour.ts
  2. 2
      frontend/src/app/globals/onboarding/tours/work_package_tour.ts

@ -37,7 +37,10 @@ export function boardTourSteps() {
'nextButton': { text: I18n.t('js.onboarding.buttons.next') },
'containerClass': '-dark -hidden-arrow',
onNext: function () {
jQuery('.main-menu--arrow-left-to-project')[0].click();
const backArrows = Array.from(document.getElementsByClassName('main-menu--arrow-left-to-project'));
const boardsBackArrow = backArrows.find((backArrow) => (backArrow.nextElementSibling as HTMLElement).innerText === 'Boards') as HTMLElement;
boardsBackArrow && boardsBackArrow.click();
}
}
];

@ -47,7 +47,7 @@ export function wpOnboardingTourSteps():any[] {
'next #wp-view-toggle-button': I18n.t('js.onboarding.steps.wp.timeline_button'),
'showSkip': false,
'nextButton': { text: I18n.t('js.onboarding.buttons.next') },
'bottom': '-100',
'bottom': '-64',
onNext: function () {
jQuery('#wp-view-context-menu .icon-view-timeline')[0].click();
}

Loading…
Cancel
Save