Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport to Quince: survey report changes #34044

Conversation

luisfelipec95
Copy link

@luisfelipec95 luisfelipec95 commented Jan 12, 2024

Description

This is a backport to Quince.

@openedx-webhooks
Copy link

openedx-webhooks commented Jan 12, 2024

Thanks for the pull request, @luisfelipec95!

What's next?

Please work through the following steps to get your changes ready for engineering review:

🔘 Get product approval

If you haven't already, check this list to see if your contribution needs to go through the product review process.

  • If it does, you'll need to submit a product proposal for your contribution, and have it reviewed by the Product Working Group.
    • This process (including the steps you'll need to take) is documented here.
  • If it doesn't, simply proceed with the next step.

🔘 Provide context

To help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:

  • Dependencies

    This PR must be merged before / after / at the same time as ...

  • Blockers

    This PR is waiting for OEP-1234 to be accepted.

  • Timeline information

    This PR must be merged by XX date because ...

  • Partner information

    This is for a course on edx.org.

  • Supporting documentation
  • Relevant Open edX discussion forum threads

🔘 Get a green build

If one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green.

🔘 Let us know that your PR is ready for review:

Who will review my changes?

This repository is currently maintained by @openedx/wg-maintenance-edx-platform. Tag them in a comment and let them know that your changes are ready for review.

Where can I find more information?

If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:

When can I expect my changes to be merged?

Our goal is to get community contributions seen and reviewed as efficiently as possible.

However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:

  • The size and impact of the changes that it introduces
  • The need for product review
  • Maintenance status of the parent repository

💡 As a result it may take up to several weeks or months to complete a review and merge your PR.

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Jan 12, 2024
@mphilbrick211 mphilbrick211 added backport PR backports a change from main to a named release. needs test run Author's first PR to this repository, awaiting test authorization from Axim labels Jan 12, 2024
@MaferMazu
Copy link
Contributor

@luisfelipec95, the #34033 was merged; you can cherry-pick it.

@mphilbrick211 mphilbrick211 removed the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Jan 19, 2024
@mariajgrimaldi
Copy link
Member

I'll be reviewing this as part of the BTR anytime soon. Thanks!

@mariajgrimaldi mariajgrimaldi self-requested a review January 22, 2024 13:54
The current treshhold to show the banner is one month but this can be redefined in the future

"""
months = settings.SURVEY_REPORT_CHECK_THRESHOLD
Copy link
Contributor

@georgebabey georgebabey Jan 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to request the ability to turn this banner off entirely. Some organizations/operators may not feel comfortable sharing this data back and there doesn't currently seem to be any ability to disable it entirely. Please correct me if I'm wrong.

From what I gather we can set the SURVEY_REPORT_ENDPOINT to a bogus endpoint but the banner will still appear. We could set the SURVEY_REPORT_CHECK_THRESHOLD to a very large number, but the banner will still appear until one report is sent. There seems to be no way to disable this entirely

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @georgebabey, you are right, completely disabling is not present at the moment. It was in the first draft and with the many reviews it was sidetracked. Still it is a completely reasonable request. We'll include that in master and add it to the backport.

@mariajgrimaldi
Copy link
Member

Hi there! Please let me know when this is ready for review. Thanks!

@mariajgrimaldi mariajgrimaldi self-assigned this Feb 20, 2024
@mphilbrick211 mphilbrick211 added the waiting for eng review PR is ready for review. Review and merge it, or suggest changes. label Feb 21, 2024
Asespinel and others added 7 commits February 29, 2024 09:22
* feat: added banner message for survey report

* refactor: addressed PR feedback and changes
* fix: fixed styles on admin templates
* refactor: changed script location to survey report block
* chore: removed whitespaces and renamed the context processor files
* feat: added banner message for survey report
* refactor: separated survey report template from admin and deleted base template
* refactor: changed months variable into a configurable setting


---------

Co-authored-by: Maria Fernanda Magallanes Zubillaga <[email protected]>
Co-authored-by: María Fernanda Magallanes <[email protected]>
* docs: add more details to the survey report README

* docs: improve the doc with numbered steps, bold and capitalize words

* docs: add more information about the survey report banner
…nedx#34092)

* feat: added setting to disable the survey report banner entirely

* fix: fixed unit test with new setting

* refactor: changed conditions for better code readability

* feat: added exception to stop the report from generating if the setting is set to false

* chore: updated the readme file to include the new setting

* refactor: move survey settings to common and disable admin by setting

* docs: typos in README

Co-authored-by: Tim McCormack <[email protected]>

* refactor: set default values to survey report settings

* refactor: rename ENABLE_SURVEY_REPORT setting to SURVEY_REPORT_ENABLE

* test: fix quality tests

---------

Co-authored-by: Alejandro Cardenas <[email protected]>
Co-authored-by: Tim McCormack <[email protected]>
* refactor: change survey report message location
* feat: add dismiss button to survey report banner

* refactor: move banner script to js file

* fix: remove not in conditional
@Alec4r Alec4r force-pushed the lfc/backport-survey-report-message branch from 08dee01 to da74d0b Compare February 29, 2024 14:55
@jalondonot jalondonot requested a review from felipemontoya March 3, 2024 01:29
@Alec4r
Copy link
Contributor

Alec4r commented Mar 6, 2024

Hi there! Please let me know when this is ready for review. Thanks!

This is already for review @mariajgrimaldi

@jalondonot jalondonot requested a review from georgebabey March 13, 2024 01:21
@mariajgrimaldi
Copy link
Member

mariajgrimaldi commented Jul 22, 2024

We usually try not to backport features in case is absolutely necessary. @Alec4r @luisfelipec95, is this still needed since it was already included in Redwood? if not, can we close this PR? Thanks!

@mphilbrick211 mphilbrick211 removed the waiting for eng review PR is ready for review. Review and merge it, or suggest changes. label Jul 30, 2024
@mphilbrick211
Copy link

We usually try not to backport features in case is absolutely necessary. @Alec4r @luisfelipec95, is this still needed since it was already included in Redwood? if not, can we close this PR? Thanks!

Friendly ping on this @Alec4r @luisfelipec95!

@Alec4r
Copy link
Contributor

Alec4r commented Aug 24, 2024

@mariajgrimaldi @mphilbrick211 Thank you for following up on this! Since the changes have already been included in Redwood, we no longer need this backport. You can go ahead and close the PR.

Thanks again for your support!

@openedx-webhooks
Copy link

@luisfelipec95 Even though your pull request wasn’t merged, please take a moment to answer a two question survey so we can improve your experience in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport PR backports a change from main to a named release. open-source-contribution PR author is not from Axim or 2U
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

9 participants