Repository: mdn/kuma

Issue:
Soapbox banner required for 2020 MDN Web DNA Survey
# Content Issue
<!-- Select the appropriate option -->
- [ ] Please close this issue, I accidentally submitted it without adding any details
- [ ] New documentation
- [x] Correction or update

# URL of page you are seeing the problem on:

All MDN pages!

# Details

We want to launch the 2020 MDN Web DNA Survey on September 18th, and to coincide with it, we want to put a soapbox banner on MDN, inviting people to fill it out.

Last year's call to action text was:

> We have an opportunity for you to influence how browser vendors like Mozilla, Google, Microsoft, and Samsung prioritize feature development.

> It’s easy to take part, just complete this survey that was designed in collaboration with those browser vendors and the W3C. It will take you approximately 20 minutes — this is your chance to make yourself heard. The results and learnings will be shared publicly on MDN.

> You must be 18 years old or over to participate. We handle your information as described in the Mozilla Privacy Policy.

The actual banner text will probably be similar to last year's, something like:

> MDN Web DNA
> Help us understand the top 10 needs of web designers and developers.
> Take the survey.

Let us know what else you need for this. Thanks!


Discussion:
@chrisdavidmills https://github.com/mdn/kuma/pull/7494

Note that we need the URL for the new survey. The above still uses last years
@schalkneethling thanks!
One small request; can we change the text of the banner to "Help us understand the top 10 needs of web developers.", ie. remove "designers and"? We've not had time to address designers in this year's survey.

Resolving patch:
diff --git a/kuma/core/migrations/0011_remove_browser_compat_report_banner_switch.py b/kuma/core/migrations/0011_remove_browser_compat_report_banner_switch.py
new file mode 100644
--- /dev/null
+++ b/kuma/core/migrations/0011_remove_browser_compat_report_banner_switch.py
@@ -0,0 +1,21 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import migrations
+
+
+def remove_browser_compat_report_banner_switch(apps, schema_editor):
+    Switch = apps.get_model("waffle", "Switch")
+    Switch.objects.filter(name="mdn_browser_compat_report").delete()
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ("core", "0010_create_browser_compat_report_banner_switch"),
+        # This is needed otherwise `apps.get_model('waffle', 'Flag')`
+        # will raise a Django app LookupError.
+        ("waffle", "0001_initial"),
+    ]
+
+    operations = [migrations.RunPython(remove_browser_compat_report_banner_switch)]
diff --git a/kuma/settings/common.py b/kuma/settings/common.py
--- a/kuma/settings/common.py
+++ b/kuma/settings/common.py
@@ -692,10 +692,6 @@ def pipeline_one_scss(slug, **kwargs):
         "source_filenames": ("styles/components/banners/developer-needs.scss",),
         "output_filename": "build/styles/developer-needs.css",
     },
-    "banner_browser_compat_report": {
-        "source_filenames": ("styles/components/banners/browser-compat-report.scss",),
-        "output_filename": "build/styles/browser-compat-report.css",
-    },
     "banner_mdn_subscriptions": {
         "source_filenames": ("styles/components/banners/mdn-subscriptions.scss",),
         "output_filename": "build/styles/mdn-subscriptions.css",


Test patch: