wg-build-test-release icon indicating copy to clipboard operation
wg-build-test-release copied to clipboard

[TC_AUTHOR_9] STUDIO: MAINTENANCE > Announcements are not appearing on learner dashboard

Open mariajgrimaldi opened this issue 2 years ago • 6 comments

Description

Announcements are not appearing after creating it on the maintenance Studio menu.

How to reproduce

  1. Enter studio with a global staff account
  2. Go to the maintenance dashboard: right menu > maintenance
  3. Enter Announcements
  4. Create an announcement
  5. Go to the learner dashboard as a student
  6. The announcement should appear on the right

This is how it's currently behaving: image image

Am I missing something here? is this how it's supposed to behave?

mariajgrimaldi avatar May 05 '23 15:05 mariajgrimaldi

Oh I thought Announcements should show up inside the course, but now I see that is the Notifications:

Screen Shot 2023-05-17 at 12 42 38

Both these features don't work.

We can either try find our how to fix these, or we can have them removed from the platform. I prefer option 1!

Maybe OpenCraft or RaccoonGang or Edly know how to resolve these.

DeanJayMathew avatar May 17 '23 05:05 DeanJayMathew

Thanks for checking that out! @DeanJayMathew: should we open a new issue for notifications?

mariajgrimaldi avatar May 31 '23 16:05 mariajgrimaldi

@mariajgrimaldi yes indeed let's open a new issue. I've added it here: https://github.com/openedx/wg-build-test-release/issues/293

DeanJayMathew avatar Jun 02 '23 07:06 DeanJayMathew

Should the release notes include this as a "known issue"? If so please propose some text on the release notes PR at https://github.com/openedx/docs.openedx.org/pull/321

pdpinch avatar Jun 14 '23 01:06 pdpinch

Was this feature removed? I don't even see the panel where announcements would appear anymore when trying to reproduce.

I'd like to look into fixing this.

jacobpradels avatar Sep 07 '23 01:09 jacobpradels

Announcements are not enabled by default: https://github.com/openedx/edx-platform/blob/master/openedx/features/announcements/settings/common.py#L19

    settings.FEATURES['ENABLE_ANNOUNCEMENTS'] = False

This is what my tutor dev looks like when reproducing the steps in this issue: tutor_dev_announcements_manager

tutor_dev_announcements_not_shown

I created the following plugin (cat "$(tutor plugins printroot)/myplugin.py"):

from tutor import hooks

hooks.Filters.ENV_PATCHES.add_item(
    (
        "openedx-lms-common-settings",
        "FEATURES['ENABLE_ANNOUNCEMENTS'] = True"
    )
)

And then enabled the plugin and reloaded the dev environment:

tutor plugins enable myplugin
tutor config save
tutor dev restart

Then logged in as both an admin and as a test user which both showed the announcements: tutor_dev_user_announcements tutor_dev_admin_annoucements

I'm new to tutor and openedx so sorry if I'm missing something obvious - but this seems like a problem with:

  1. Default setting being False which causes confusion since the admin interface is visible even though announcements are disabled?
  2. The documentation not being clear on how to properly enable announcements or how they should function?

bogdan3d avatar Dec 03 '23 03:12 bogdan3d

Thank you all for looking into this! I completely missed the configuration back then, and it's confusing as well since the UI is always available, but it doesn't work without the flag. I tested locally using the legacy learner dashboard, and it's working correctly. It looks like it's not supported in the learner dashboard MFE.

Thank you again!

mariajgrimaldi avatar Apr 29 '24 14:04 mariajgrimaldi