29 Commits

Author SHA1 Message Date
Alex Janousek
18d58c69ca Cleaned up readme, un-removed e2e test services, updated e2e test to cleanup better 2025-10-20 10:38:42 -04:00
Alex Janousek
f647b09ac2 Updates for govuk pr followup 2025-10-07 12:29:08 -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
Alex Janousek
8d33f28b76 Refactored reports to use pregenerated docs instead (#2831)
* Refactored reports to use pregenerated docs instead

* Fixed e2e test

* Fixed anothr bug

* Cleanup

* Fixed timezone conversion

* Updated ref files

* Updated reference files, refreshed ui/ux for report generation. Buttons toggle on and off based on if report exists

* Fixed linting errors, removed pytz

* Fixed test failure

* e2e test fix

* Speeding up unit tests

* Removed python time library that was causing performance issues with unit tests

* Updated poetry lock

* Unit test improvements

* Made change that ken reccomended
2025-08-15 15:02:54 -04:00
Beverly Nguyen
736e7c34f9 backstop reference and table scroll 2025-08-07 11:04:42 -07: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
alexjanousekGSA
a196827da8 Complete govuk-width-container migration and fix add-org template 2025-07-22 08:57:05 -04:00
alexjanousekGSA
6b2d783b37 Removed govuk header css and migrated to uswds 2025-07-11 16:32:59 -03:00
alexjanousekGSA
405b47a02e Cleaned up styles, removed more govuk unused styles 2025-07-11 13:08:33 -03:00
alexjanousekGSA
53a3143a8f Renamed methods from govuk 2025-07-11 11:59:28 -03:00
alexjanousekGSA
51dcdca047 Migrate checkbox template from GOV.UK to USWDS patterns
- Replace usaRadioLabel with usaLabel for checkbox labels
- Update hint classes from govuk-checkboxes__hint to usa-checkbox__label-description
- Change conditional reveal classes from govuk-specific to USWDS display-none utility
- Update template comments to reflect USWDS migration
- Add checkbox-specific routes to BackstopJS configuration for testing

This establishes a baseline for checkbox component migration with expected
spacing differences between GOV.UK and USWDS implementations.
2025-07-09 18:48:15 -03:00
alexjanousekGSA
ffc6d6c5b7 Add BackstopJS coverage for radio button pages 2025-07-09 16:48:52 -03:00
alexjanousekGSA
bee667a5e9 Set baseline with backstop reference files 2025-07-02 16:10:07 -04:00
alexjanousekGSA
3f58647dc9 Replace govuk link with usa-link and tested 2025-07-01 12:41:07 -04:00
alexjanousekGSA
856a68e7dc Updated backstop reference files 2025-06-18 12:36:12 -04:00
Beverly Nguyen
558753037f content updates 2025-03-13 15:43:21 -07:00
Beverly Nguyen
cb41d9e706 changing guidance to how-do 2025-01-22 10:41:29 -08:00
alexjanousekGSA
52791cab7b Updated navigation links and backstopjs 2025-01-13 14:47:41 -05:00
alexjanousekGSA
b6353c41e5 Removed best practices flag 2025-01-12 17:42:15 -05:00
Beverly Nguyen
5e114094c8 merge main 2024-11-27 09:56:13 -08:00
Beverly Nguyen
a5c65439b6 update e2e 2024-11-26 14:38:15 -08:00
Beverly Nguyen
276802a6c4 changed naming 2024-11-25 18:15:34 -08:00
alexjanousekGSA
12c28682df Added link to new guidance page that enables navigating 2024-11-04 11:44:45 -05:00
Beverly Nguyen
2bbc58c8af changed guidanced to best practices 2024-10-24 17:03:45 -07:00
alexjanousekGSA
035c4158f9 Added new reference files 2024-10-10 11:29:20 -04:00
alexjanousekGSA
e11b6376c2 Redid reference files 2024-10-02 10:37:04 -04:00
alexjanousekGSA
687372fd6c Added new reference images, removed a few custom pages 2024-09-30 09:58:44 -04:00
alexjanousekGSA
70c9801f1d Added script 2024-09-23 13:07:24 -04:00
alexjanousekGSA
c44084f325 Backstop is working locally 2024-09-18 13:59:16 -04:00