Commit Graph

131 Commits

Author SHA1 Message Date
Beverly Nguyen
6d84b38b1b css fix 2025-10-07 14:30:36 -07:00
Beverly Nguyen
b83416d281 Fix "Data available for X days" text disappearing on job details page 2025-10-07 13:33:25 -07:00
Alex Janousek
6f5750f095 Removed all govuk css (#2814)
* Removed all govuk css

* Updated reference files

* Removing govuk js

* Fixed casing for modules, removed unused page

* Got more reference images

* Updated template page

* Removed govuk padding util

* Updated hint to uswds hint

* More govuk cleanup

* Commiting backstopjs ref files

* Fixed all unit tests that broke due to brittleness around govuk styling

* Added new ref images

* Final removal of govuk

* Officially removed all govuk references

* Updated reference file

* Updated link to button

* UI modernization

* Cleanup

* removed govuk escaping tests since they are no longer needed

* Fix CodeQL security issue in escapeElementName function

- Escape backslashes first before other special characters
- Prevents potential double-escaping vulnerability
- Addresses CodeQL alert about improper string escaping

* Found more govuk removal. Fixed unit tests

* Add missing pipeline check to pre-commit

* updated test

* Updated e2e test

* More update to e2e test

* Fixed another e2e test

* Simple PR comments addressed

* More updates

* Updated backstop ref files

* Refactored folder selection for non-admins

* Updated redundant line

* Updated tests to include correct mocks

* Added more ref files

* Addressing carlos comments

* Addressing Carlo comments, cleanup of window initing

* More cleanup and addressing carlo comments

* Fixing a11 scan

* Fixed a few issues with javascript

* Fixed for pr

* Fixing e2e tests

* Tweaking e2e test

* Added more ref files and cleaned up urls.js

* Fixed bug with creating new template

* Removed brittle test - addressed code ql comment

* e2e race condition fix

* More e2e test fixes

* Updated e2e tests to not wait for text sent

* Updated test to not wait for button click response

* Made tear down more resilent if staging is down

* reverted e2e test to what was working before main merge

* Updated backstopRef images

* Updated gulp to include job-polling differently
2025-10-06 09:38:54 -04:00
Beverly Nguyen
6ccf1bb983 fixed arrived from preview page 2025-01-30 10:24:11 -08:00
Beverly Nguyen
229842b8c9 pluralization and fixing conditionals 2025-01-29 16:32:21 -08:00
Beverly Nguyen
2ab7244beb fix test and arrival session 2025-01-21 10:46:30 -08:00
Beverly Nguyen
f91af94001 removed comments 2025-01-20 16:00:21 -08:00
Beverly Nguyen
9942ecf53e ajax applied to status 2025-01-17 16:30:59 -08:00
Beverly Nguyen
7c5179994b update verbage 2025-01-16 12:09:09 -08:00
Beverly Nguyen
ae083f4b52 update banner with different status states 2025-01-15 17:08:21 -08:00
Jonathan Bobel
1a9408aeba Additional a11y updates 2024-12-11 10:30:16 -05:00
Beverly Nguyen
7a63fcfc08 fix a11y errors 2024-11-05 14:35:22 -08:00
Kenneth Kehl
a11c567de3 fix moderate axe-core accessibility violation 2024-10-07 11:45:14 -07:00
Kenneth Kehl
f7f449ff07 try h2 2024-10-07 11:31:02 -07:00
Kenneth Kehl
22f9ff603a try using h3 instead of h4 2024-10-07 09:11:10 -07:00
Kenneth Kehl
3f7e600ac1 try using h3 instead of h4 2024-10-07 08:37:34 -07:00
Jonathan Bobel
9638067e63 Merge branch 'main' of https://github.com/GSA/notifications-admin into 1676-individual-job-table-updates
# Conflicts:
#	app/templates/partials/jobs/notifications.html
2024-07-29 15:55:59 -04:00
Jonathan Bobel
99493acb86 Updates to Job status page 2024-07-29 15:32:53 -04:00
Jonathan Bobel
765920ef0a Change to the table width on overflow to have less wrapping text 2024-07-26 10:38:00 -04:00
Jonathan Bobel
dfcd71a6d3 Updates to table wrappers across the application
Grid update to dashboard
Small style updates
2024-07-25 15:36:31 -04:00
Beverly Nguyen
84aada22f0 added conditionals to datetime in status banner 2024-07-11 12:32:08 -07:00
Beverly Nguyen
43a6bdaf5c updating the timestamp to showcase time job sent 2024-07-10 16:40:38 -07:00
Beverly Nguyen
e743ab41ff merge main and fixed conflicts 2024-03-26 10:53:01 -07:00
Beverly Nguyen
e9b9072ae6 updated datetimes based on style guide 2024-03-18 15:10:26 -07:00
Beverly Nguyen
10c9b86547 updating datetimes to match styleguides 2024-03-18 14:32:32 -07:00
Beverly Nguyen
02ee1a81d1 Merge branch 'main' into 1210-create-confirmation-status-page-the-last-page-in-the-preview-send-flow 2024-03-14 15:07:20 -07:00
Kenneth Kehl
e35168bd40 hide csv reports in job view if no data available 2024-03-14 08:57:58 -07:00
Beverly Nguyen
b1b416db8c update datetime naming 2024-03-08 11:43:54 -08:00
Kenneth Kehl
8661a22353 fix date format in batch review (notify-admin-1171) 2024-02-29 08:24:53 -08:00
Beverly Nguyen
58e252f092 updated Delivery Status title 2024-02-26 12:25:53 -08:00
Beverly Nguyen
7fc5b88ea3 updated testing 2024-02-23 13:26:46 -08:00
Beverly Nguyen
1e60da1a37 add job status 2024-02-22 11:59:12 -08:00
Beverly Nguyen
c2d7828138 created an alert for confirmation during send flow 2024-02-13 17:48:06 -08:00
Jonathan Bobel
8b3807da3c Removing the govuk-body class 2023-08-25 11:49:13 -04:00
Jonathan Bobel
a388178e2a Removing or changing more govuk styles 2023-08-25 10:40:56 -04:00
Jonathan Bobel
348e29fb40 - Removed links to the gov uk stylesheets
- Deleted /stylesheets folder
- Removed sass build from gulpfile
- Changed gov links to usa links
- Changed other govuk styles, like breadcrumbs
- Changed name of uk_components file to us_components
- Fixed a few tests that broke on account of the changes
2023-08-08 16:19:17 -04:00
Jonathan Bobel
242c7acd34 Changing U.S. Notify to Notify.gov (#656) 2023-07-28 11:12:46 -04:00
Jonathan Bobel
e0d2d74067 Update dashboard and template flow (#514)
* Updated header and footer
* Moved files around and updated gulpfile to correct the build process when it goes to production
* Updated fonts
* Adjusted grid templating
* Adding images to assets
* Updated account pages, dashboard, and pages in message sending flow
* Updated the styling for the landing pages in the account section once logged in
2023-06-08 13:12:00 -04:00
Kenneth Kehl
c9576f9a1d notify-300 change error message to show total message limit (#489) 2023-05-31 20:10:10 -04:00
stvnrlly
40368fe819 Merge branch 'main' into stvnrlly-paperless 2022-12-09 12:33:16 -05:00
stvnrlly
b6bc02eb6b us → u.s. 2022-12-06 11:03:47 -05:00
stvnrlly
944715ac46 big commit with letters removal 2022-12-05 15:33:44 -05:00
stvnrlly
9689aaf89b more test fixes & letter trimming 2022-11-28 11:15:41 -05:00
stvnrlly
ca1897973a test time fixes and bonus letter removal 2022-11-22 17:03:42 -05:00
James Moffet
e53d12733a branding 2022-07-20 15:23:54 -07:00
Katie Smith
cdfe852d25 Add filetype to all links to download user reports / examples 2022-05-24 10:27:27 +01:00
Rebecca Law
cca94e956b Update content 2021-07-14 09:55:20 +01:00
Rebecca Law
af7882e5a4 Show status when job has exceeded the daily sending limit
If a job exceeds the daily sending limit, show that on the job page. The job is only created if the sending limit has been reached when the delivery app is processing the job, usually this error is caught at the time the CSV is uploaded and the job is not created.
2021-07-14 09:55:20 +01:00
Chris Hill-Scott
24b579418f Replace message count macros with formatters
We prefer formatters now. Removing uses of the aliasing macro lets
remove it entirely.
2021-01-07 14:53:12 +00:00
Tom Byers
51033d57fb Make jobs notification partial a role of region
Previously attempted in this commit by changing
the element to a <section>:

e815a73233

This broke the updateContent.js, that polls the
JSON endpoint for the partial and updates its
content with changes sent back. From what I could
tell, it broke it because the JS that does the
update gets the diff between the current partial
and the one sent in JSON and applies it to the
current one.

If the notification hasn't completed before the
page loads, the partial added to the page has a
<div> wrapping it, to initalise the
updateContent.js JS. This means the diff ends up
being between elements with a different level of
hierarchy:

Element 1:

  <div data-module="update-content">
    <div class="ajax-block-container">
    ...
    </div>
  </div>

Element 2:
  <div class="ajax-block-container">
  ...
  </div>

This seems to work OK when the partial
is a <div>, I assume because it's the same type of
element as the wrapper, but not when it's a
<section>:

Element 1:

  <div data-module="update-content">
    <section class="ajax-block-container">
    ...
    </section>
  </div>

Element 2:
  <section class="ajax-block-container">
  ...
  </section>

Because of all this, it's easier to just give it
the role of 'region'.
2020-09-10 23:12:29 +01:00