WikiEduDashboard icon indicating copy to clipboard operation
WikiEduDashboard copied to clipboard

Added 'Get Help' button to training modules

Open omChauhanDev opened this issue 1 year ago • 5 comments

What this PR does

Fixes #5486 This pr mainly aims to show the 'Get Help' button on training modules. The button's purpose is to send alerts to the Wiki Expert for the user's course.

Tasks :

  • [x] Refactor the training pages such that the training navbar will render in React

  • [x] For logged-in users, in wiki_education mode, the 'Get Help' button should appear when going through training modules.

  • [x] Defined behaviour of this button on the training navbar.

omChauhanDev avatar Apr 15 '24 16:04 omChauhanDev

@ragesoss Sir, based on the issue details, this 'Get Help' button on the training navbar should default to sending alerts to the Wiki Expert for the user's course. My question is about clarifying whether "Wiki Expert" refers to the wikipediaHelpUser, programHelpUser, dashboardHelpUser, or any other term I might be missing.

Till now, this button has the course.id from where the user reached the training module.

omChauhanDev avatar Apr 15 '24 17:04 omChauhanDev

@om-chauhan1 it refers to wikipediaHelpUser.

ragesoss avatar Apr 15 '24 19:04 ragesoss

Before : Before

After :

After.webm

omChauhanDev avatar Apr 17 '24 12:04 omChauhanDev

Testing this out, I only see part of the expected content in the popover.

get help

Also, I think the color of the button needs to be changed in this context. It does not look good against the green.

ragesoss avatar Jun 20 '24 19:06 ragesoss