Commit Graph

606 Commits

Author SHA1 Message Date
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
f765f19c3b improve polling performance and remove unused updateContent module 2025-09-15 13:16:13 -07:00
alexjanousekGSA
aa18d1447e Reran reference tests and merged in main to fix conflicts 2025-07-31 17:07:17 -04:00
alexjanousekGSA
29d050a0b8 Fixed unit tests 2025-07-31 09:54:08 -04:00
alexjanousekGSA
6942a2843d Tweaked a few more issues 2025-07-31 09:24:44 -04:00
alexjanousekGSA
31a9e39846 Formatting and linting changes 2025-07-31 07:49:12 -04:00
alexjanousekGSA
be93596075 More cleanup and changes for stable pr 2025-07-30 15:46:53 -04:00
alexjanousekGSA
9e97a797b9 Migrate GOV.UK components to USWDS
- Convert previous/next navigation to USWDS pagination component
  - Update radio buttons and checkboxes to use USWDS classes
  - Migrate guest list inputs with proper USWDS styling
  - Replace GOV.UK button patterns with USWDS button variants
  - Update form field spacing to use USWDS utilities
  - Scope fieldset legend styles to specific form contexts
  - Update visual regression test references for new components
2025-07-30 15:24:21 -04:00
Beverly Nguyen
ce4829b717 new enum view_activity, _manage_users, send_emails 2025-07-21 14:24:11 -07:00
Beverly Nguyen
1bf55e7fa3 Replace send_messages and manage_service strings across application with ServicePermission.SEND_MESSAGES and ServicePermission.MANAGE_SERVICE types 2025-07-15 23:56:58 -07:00
alexjanousekGSA
793e51a3a2 Updated checkboxes to uswds 2025-07-11 10:32:00 -03:00
alexjanousekGSA
a691f5c0dd Migrate radio buttons from GOV.UK to USWDS
- Replace .multiple-choice with .usa-radio classes
- Update radio templates to use USWDS patterns
- Remove GOV.UK dependencies from radio components
- Convert nested lists to flat divs with USWDS margin utilities
- Update tests to use new radio classes
2025-07-09 16:40:34 -03:00
alexjanousekGSA
3e2fe8be04 Updated and tested all buttons 2025-07-02 21:30:00 -04:00
Beverly Nguyen
65d13701c7 remove nav before login 2025-06-02 13:10:00 -07:00
Beverly Nguyen
8722ae8dd9 - Replace homepage content with sunset messaging for May 30, 2025 service end
- Convert inline SVGs to external files for better maintainability
-Removed Login buttons except for /sign-in page
-Removed header navs
2025-06-02 12:56:47 -07:00
Jonathan Bobel
63d96d46b8 2554 - Adding cancel button to Send Message flow 2025-05-07 11:08:03 -04:00
Alex Janousek
b9c50c1e5d Merge pull request #2424 from GSA/fix-existing-e2e-tests
Fix existing end-to-end tests
2025-05-02 14:04:47 -04:00
alexjanousekGSA
eff92773cc e2e tests pass locally 2025-05-02 10:43:07 -04:00
Beverly Nguyen
0e48ed2716 Merge pull request #2536 from GSA/2123-back-button-context
2123 back button context
2025-05-01 09:48:50 -07:00
Jonathan Bobel
86b4547499 Merge branch 'main' of https://github.com/GSA/notifications-admin into 2515-remove-autofocus-js 2025-04-29 11:56:49 -04:00
Jonathan Bobel
cd40580231 Working through some tests 2025-04-25 16:20:21 -04:00
Beverly Nguyen
ae305227bb Merge pull request #2440 from GSA/2138-cancel-button-CSV
2138 - Change cancel button to uploading button for CSV
2025-04-23 12:01:06 -07:00
Jonathan Bobel
5d3364a114 Adjusting input types 2025-04-18 15:11:07 -04:00
Jonathan Bobel
70b149476c 2510 - adding additional context to phone numbers 2025-04-18 14:51:22 -04:00
Jonathan Bobel
5f258cb699 2515 - Remove autofocus.js 2025-04-17 14:46:00 -04:00
Jonathan Bobel
38d8bdea0a Small content updates 2025-04-10 15:41:27 -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
7813ce7914 Accessibility updates 2025-03-28 10:36:17 -04:00
Beverly Nguyen
5507891d8f Merge branch 'main' into 2410-bug-radio-buttons-cannot-be-selected 2025-03-24 12:49:04 -07:00
Beverly Nguyen
7e2a2bad8e update validation code 2025-03-24 12:33:01 -07:00
Beverly Nguyen
3a38b8bf31 fixed validation for radio and text input fields 2025-03-21 18:53:49 -07:00
Beverly Nguyen
965db9cd7e revert change back to params.for in order for user to select radio option 2025-03-17 13:45:19 -07:00
Beverly Nguyen
02a188a080 fixed e2e 2025-03-14 13:47:02 -07:00
Beverly Nguyen
558753037f content updates 2025-03-13 15:43:21 -07:00
Jonathan Bobel
94f881477e Focusing validation on individual form with one input 2025-03-03 13:33:45 -05:00
Jonathan Bobel
f031f4bf18 Update template.njk
Experimenting with setting the "for"
2025-02-26 12:53:06 -05:00
Jonathan Bobel
2bb318493a Fixing tests, adding dynamic slug 2025-02-24 16:11:42 -05:00
Jonathan Bobel
91c2ae6733 Update template.njk
Reverting this change
2025-02-24 15:27:51 -05:00
Jonathan Bobel
adab5f1338 2214 Client-side validation 2025-02-24 12:29:58 -05:00
Beverly Nguyen
7776f9900a added id and required field 2025-01-27 19:15:37 -08:00
Beverly Nguyen
084a5e37fc Revert "Send Message A11Y Audit - Unique IDs and also refactor error message on templates page" 2025-01-21 22:20:44 -08:00
Beverly Nguyen
6615d4fccb Merge pull request #2206 from GSA/2125-send-message-a11y-audit-unique-ids
Send Message A11Y Audit - Unique IDs and also refactor error message on templates page
2025-01-21 15:30:13 -08:00
Beverly Nguyen
92935867ea Merge pull request #2247 from GSA/2227-acceptable-use-policy
2227 - Adding Acceptable Use Policy page
2025-01-15 10:12:33 -08:00
alexjanousekGSA
ac211f3da1 Fixed one minor active state bug 2025-01-14 12:56:32 -05:00
Jonathan Bobel
c59039d61d Merge branch 'feature/sidenav-expand-sublinks' of https://github.com/GSA/notifications-admin into feature/sidenav-expand-sublinks 2025-01-13 15:59:14 -05:00
alexjanousekGSA
52791cab7b Updated navigation links and backstopjs 2025-01-13 14:47:41 -05:00
Jonathan Bobel
ecadc49a55 Style and format updates 2025-01-13 13:57:59 -05:00
Jonathan Bobel
50eeac806a Small content update 2025-01-13 10:32:49 -05:00
alexjanousekGSA
b6353c41e5 Removed best practices flag 2025-01-12 17:42:15 -05:00
alexjanousekGSA
6441ae8ca7 Fixed missing login button on sublinks 2025-01-12 16:56:22 -05:00