From 9a5a960e57201d52b8f27798180c7f2656408d10 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Mon, 18 Nov 2024 14:00:52 -0800 Subject: [PATCH 01/18] contact content --- app/main/views/index.py | 8 +++++ app/main/views/sub_navigation_dictionaries.py | 4 +++ app/templates/views/about/contact.html | 35 +++++++++++++++++++ tests/app/test_navigation.py | 1 + 4 files changed, 48 insertions(+) create mode 100644 app/templates/views/about/contact.html diff --git a/app/main/views/index.py b/app/main/views/index.py index 974e29211..5e7bff008 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -295,6 +295,14 @@ def about_notify(): ) +@main.route("/about/contact") +def contact(): + return render_template( + "views/about/contact.html", + navigation_links=about_notify_nav(), + ) + + @main.route("/using-notify/guidance/create-and-send-messages") @user_is_logged_in def create_and_send_messages(): diff --git a/app/main/views/sub_navigation_dictionaries.py b/app/main/views/sub_navigation_dictionaries.py index b9fb7f8ae..56505ca6e 100644 --- a/app/main/views/sub_navigation_dictionaries.py +++ b/app/main/views/sub_navigation_dictionaries.py @@ -113,4 +113,8 @@ def about_notify_nav(): "name": "About notify", "link": "main.about_notify", }, + { + "name": "Contact", + "link": "main.contact", + }, ] diff --git a/app/templates/views/about/contact.html b/app/templates/views/about/contact.html new file mode 100644 index 000000000..8b4a00250 --- /dev/null +++ b/app/templates/views/about/contact.html @@ -0,0 +1,35 @@ +{% extends "base.html" %} + +{% set page_title = "Contact" %} + +{% block per_page_title %} +{{page_title}} +{% endblock %} + +{% block content_column_content %} + +
+

{{page_title}}

+

Notify is designed to be easy to use.

+ +

If you have technical issues or questions, we are available at notify-support@gsa.gov.

+

You can expect a response within one business day.

+
+
+
+

For partnership inquiries see, Join Notify or contact us at
tts-notify@gsa.gov.

+
+
+
+
+{% endblock %} diff --git a/tests/app/test_navigation.py b/tests/app/test_navigation.py index 15be17081..8185afe82 100644 --- a/tests/app/test_navigation.py +++ b/tests/app/test_navigation.py @@ -61,6 +61,7 @@ EXCLUDED_ENDPOINTS = tuple( "conversation_reply", "conversation_reply_with_template", "conversation_updates", + "contact", "copy_template", "count_content_length", "create_and_send_messages", From 3a6295b7a2765d29b54f85b7a03178bd2570f8cf Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Tue, 19 Nov 2024 18:06:23 -0800 Subject: [PATCH 02/18] update contact --- app/templates/views/about/contact.html | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/app/templates/views/about/contact.html b/app/templates/views/about/contact.html index 8b4a00250..046732576 100644 --- a/app/templates/views/about/contact.html +++ b/app/templates/views/about/contact.html @@ -11,23 +11,16 @@

{{page_title}}

Notify is designed to be easy to use.

-
    -
  • For information on personalization and data preparation, see Using Notify. -
  • -
  • For help interpreting delivery reports, see Delivery Status.
  • -
  • For details on pricing and what counts as a message part, see Tracking - Messages. -
  • -

If you have technical issues or questions, we are available at notify-support@gsa.gov.

You can expect a response within one business day.

+ aria-label="For partnership inquiries">
-

For partnership inquiries see, Join Notify or contact us at
tts-notify@gsa.gov.

+

For partnership inquiries see, Join Notify or contact us at
tts-notify@gsa.gov.

From 9483c099db28a81a5dbd5ac26132ad3669541b72 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Wed, 20 Nov 2024 11:11:12 -0800 Subject: [PATCH 03/18] update content --- app/templates/views/about/contact.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/templates/views/about/contact.html b/app/templates/views/about/contact.html index 046732576..96c3a0895 100644 --- a/app/templates/views/about/contact.html +++ b/app/templates/views/about/contact.html @@ -10,17 +10,17 @@

{{page_title}}

-

Notify is designed to be easy to use.

-

If you have technical issues or questions, we are available at notify-support@gsa.gov.

+

Is your organization interested in using Notify.gov? Find more information at Join + Notify or contact us at tts-notify@gsa.gov.

You can expect a response within one business day.

-

For partnership inquiries see, Join Notify or contact us at
tts-notify@gsa.gov.

+

If you are a current Notify.gov partner and have technical issues or questions, we are available at notify-support@gsa.gov

From 35958769f48a191e49e62ec5dcf47722df4d1e16 Mon Sep 17 00:00:00 2001 From: Jonathan Bobel Date: Fri, 22 Nov 2024 16:45:25 -0500 Subject: [PATCH 04/18] Send Message A11Y Audit - Adjust headers in Send Message flow --- app/assets/sass/uswds/_uswds-theme-custom-styles.scss | 6 ++++++ app/main/views/send.py | 2 +- app/templates/components/folder-path.html | 2 +- app/templates/components/live-search.html | 2 +- app/templates/components/service_nav.html | 2 +- app/templates/views/dashboard/dashboard.html | 4 ++-- .../views/dashboard/write-first-messages.html | 10 ++++++---- app/templates/views/notifications/preview.html | 4 ++-- app/templates/views/templates/choose.html | 3 ++- app/templates/views/templates/template.html | 4 ++-- tests/app/main/views/test_send.py | 2 +- 11 files changed, 25 insertions(+), 16 deletions(-) diff --git a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss index cec48e82b..75712180d 100644 --- a/app/assets/sass/uswds/_uswds-theme-custom-styles.scss +++ b/app/assets/sass/uswds/_uswds-theme-custom-styles.scss @@ -265,6 +265,7 @@ td.table-empty-message { margin-bottom: units(2); .usa-form-group { @include u-width("mobile-lg"); + margin-top: units(2); } input#search { width: 100%; @@ -397,6 +398,11 @@ td.table-empty-message { background-image: url(../img/material-icons/description.svg); } } + .get-started { + border: 1px solid color("gray-90"); + padding: units(2); + margin-bottom: units(4); + } } .dashboard-table { diff --git a/app/main/views/send.py b/app/main/views/send.py index 3d83d10f3..a6601840d 100644 --- a/app/main/views/send.py +++ b/app/main/views/send.py @@ -739,7 +739,7 @@ def all_placeholders_in_session(placeholders): def get_send_test_page_title(template_type, entering_recipient, name=None): if entering_recipient: - return "Send ‘{}’".format(name) + return "Select recipients" return "Personalize this message" diff --git a/app/templates/components/folder-path.html b/app/templates/components/folder-path.html index b6615a2da..eb5bc2731 100644 --- a/app/templates/components/folder-path.html +++ b/app/templates/components/folder-path.html @@ -4,7 +4,7 @@ template_type, current_user, link_current_item=False, - root_element='h1' + root_element='h2' ) %} <{{ root_element }} class="font-body-lg folder-heading margin-bottom-0"{% if root_element == 'h1' %} id="page-header"{% endif %}> {% for folder in folders %} diff --git a/app/templates/components/live-search.html b/app/templates/components/live-search.html index 9df46fd1a..58683e957 100644 --- a/app/templates/components/live-search.html +++ b/app/templates/components/live-search.html @@ -17,7 +17,7 @@ {% endif %} {% if show %} -