Commit Graph

147 Commits

Author SHA1 Message Date
Alex Janousek
3a39d910b3 Feat/webpack (#2998)
* First commit

* Removed govuk for webpack. Modernized javascript importing. Removed dead js

* Fixed tests, a few styling bugs

* Fixed some table errors and regenerated backstop ref images

* Updated tests for coverage

* Changes from carlo suggestions
2025-10-14 13:20:58 -04: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
d724cc382e update href 2025-09-04 15:03:52 -07:00
Beverly Nguyen
5e8da220ec added 'change csv button on preview page' 2025-09-04 15:00:06 -07:00
Jonathan Bobel
9b8d0c2b2f Update ok.html 2025-05-07 15:26:14 -04:00
Jonathan Bobel
63d96d46b8 2554 - Adding cancel button to Send Message flow 2025-05-07 11:08:03 -04:00
Jonathan Bobel
4279467b16 Update preview.html
Missed some test code
2025-04-29 12:27:01 -04:00
Jonathan Bobel
cd40580231 Working through some tests 2025-04-25 16:20:21 -04:00
Jonathan Bobel
2d6afb7904 Merge branch 'main' of https://github.com/GSA/notifications-admin into 2123-back-button-context 2025-04-25 10:27:25 -04:00
Jonathan Bobel
670d82b72c Adjusting back text for all steps in send message process 2025-04-25 10:23:28 -04:00
Jonathan Bobel
f8c7f6b817 Merge conflict - poetry.lock 2025-04-02 11:44:39 -04:00
Jonathan Bobel
38451d77ad Test updates, js fixes 2025-04-01 16:22:46 -04:00
Jonathan Bobel
2064fc864a Added an sr-only alert to the site for upload errors (and any other errors we might want to only announce to the screen reader) 2025-04-01 10:46:56 -04:00
Jonathan Bobel
f55d47e3d1 Update column-errors.html 2025-03-28 11:00:13 -04:00
Jonathan Bobel
7813ce7914 Accessibility updates 2025-03-28 10:36:17 -04:00
Beverly Nguyen
e007571ac8 Merge pull request #2427 from GSA/1134-change-brackets-to-parenthesis
1134 - Changing all instances of the word "brackets" to "parenthesis"
2025-03-27 13:34:49 -07:00
Jonathan Bobel
fe098eca22 1134 - Changing all instances of the word "brackets" to "parenthesis" 2025-03-20 10:29:29 -04:00
Beverly Nguyen
02a188a080 fixed e2e 2025-03-14 13:47:02 -07:00
Jonathan Bobel
e0738dd9bf Merge branch 'main' of https://github.com/GSA/notifications-admin into 2133-small-a11y-updates 2024-12-17 11:34:30 -05:00
Jonathan Bobel
1a9408aeba Additional a11y updates 2024-12-11 10:30:16 -05:00
Beverly Nguyen
2fb4b7538c added errors focus 2024-12-09 18:47:34 -08: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
63bc85d8d4 added format_datetime_scheduled_notification to formatters and removed unneccesary format changes 2024-04-09 12:52:45 -07:00
Carlo Costino
de0aed60f9 Merge pull request #1375 from GSA/1373-bug-single-job---preview-does-not-display-variable-information
Bug: Single Job - Preview does not display variable information
2024-04-08 17:44:59 -04:00
Carlo Costino
2cf3ddb6ff Merge pull request #1371 from GSA/1365-update-date-on-preview-page-and-status-page
Update datetime on preview to be more human readable
2024-04-03 19:12:27 -04:00
Beverly Nguyen
acdd2806fc added force_hide_sender 2024-04-01 18:03:38 -07:00
Beverly Nguyen
5854176ec8 add prase_dt function 2024-03-28 18:01:42 -07:00
Beverly Nguyen
bc71549d12 added a conditional to limit only 5 rows to display 2024-03-15 10:33:39 -07:00
Beverly Nguyen
a05e09d345 fixed testing 2024-03-14 11:02:02 -07:00
Beverly Nguyen
86a6b4ff8e marco to table 2024-03-12 13:41:05 -07:00
Beverly Nguyen
7479a6c4ea made changes to the token and removed extra handling errors 2024-03-08 15:05:44 -08:00
Beverly Nguyen
58a067358e with reivew request 2024-03-08 10:32:29 -08:00
Beverly Nguyen
c383884017 fixed test 2024-02-16 17:19:03 -08:00
Beverly Nguyen
eccf8cb3e7 added new change from ux meeting as requested 2024-02-16 11:44:25 -08:00
Beverly Nguyen
01eac988f1 fixed testing 2024-02-13 14:02:05 -08:00
Beverly Nguyen
49d270521a revision requestsed changes 2024-02-13 13:29:38 -08:00
Beverly Nguyen
b019dc3fe9 updated pytest 2024-02-08 18:43:17 -08:00
Beverly Nguyen
fbf902e168 fixed style checks 2024-02-06 17:14:46 -08:00
Beverly Nguyen
15105bf506 fixed style checks 2024-02-06 17:06:18 -08:00
Beverly Nguyen
d6f012ee9e editing and creating new preview functions and backlinks 2024-02-06 16:08:14 -08:00
Beverly Nguyen
c073d2efac revising message preview 2024-02-02 16:14:50 -08:00
Beverly Nguyen
3ac65b122c inital preview page 2024-02-02 14:52:48 -08:00
Kenneth Kehl
5a173330ca merge from main 2023-12-20 10:26:50 -08:00
Kenneth Kehl
14f70620f9 code review feedback 2023-12-20 10:26:14 -08:00
Kenneth Kehl
9855856aba fix flake8 2023-12-19 08:08:02 -08:00
stvnrlly
506ef0484d remove alert component 2023-12-17 22:17:49 -05:00
Jonathan Bobel
af2da54ffc Decided not to use the template and include the USWDS alert one-by-one 2023-10-06 11:31:28 -04:00
Jonathan Bobel
fd196c6534 814 - Adding alert component to CSV error area 2023-10-05 16:20:37 -04:00
Jonathan Bobel
dedb41f67e Fixing styling issues on the send message flow 2023-09-15 12:26:31 -04:00