-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Backport to Quince: survey report changes #34044
Conversation
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 approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo 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:
🔘 Get a green buildIf 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 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:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
@luisfelipec95, the #34033 was merged; you can cherry-pick it. |
I'll be reviewing this as part of the BTR anytime soon. Thanks! |
The current treshhold to show the banner is one month but this can be redefined in the future | ||
|
||
""" | ||
months = settings.SURVEY_REPORT_CHECK_THRESHOLD |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
Hi there! Please let me know when this is ready for review. Thanks! |
* 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
08dee01
to
da74d0b
Compare
This is already for review @mariajgrimaldi |
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! |
@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! |
@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. |
Description
This is a backport to Quince.