Commit Graph

5794 Commits

Author SHA1 Message Date
ccostino
fe5428efe8 Merge pull request #2984 from GSA/remove-socketio
Remove Socket.IO dependencies and Socket infrastructure
2025-10-07 14:06:54 -04:00
Beverly Nguyen
705952cc30 Remove Socket.IO dependencies and Socket infrastructure
- Remove socket.io-client npm package
- Remove Socket.IO from gulpfile.js
- Remove API_PUBLIC_WS_URL config variable from all environments
- Remove Socket CSP directives (cdn.socket.io, wss:// URLs)
- Remove unused data-host attribute from job template
- Update test_headers.py to remove Socket.IO assertions
- Update deployment configs (manifest.yml, deploy-config/*.yml, .github/workflows/*.yml)
2025-10-07 10:44:45 -07: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
a4e1cc0d38 Removing csp console error (#2963)
* Removing csp console error

* Fixed activity page console error as well
2025-10-01 16:50:35 -07:00
Alex Janousek
24a735ffc2 Refactored polling for status page 2025-10-01 10:58:44 -04:00
Alex Janousek
5b4a1820a9 Removed polling logic from status page and added button instead 2025-09-26 16:21:50 -04:00
Alex Janousek
557d85f57d Optimizing polling 2025-09-25 16:26:00 -04:00
Beverly Nguyen
f765f19c3b improve polling performance and remove unused updateContent module 2025-09-15 13:16:13 -07:00
Beverly Nguyen
5ae6cf7abf removing updatecontent function and using socketio 2025-09-15 00:49:01 -07: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
Alex Janousek
9e2dc55500 Updated activity chart to include additional day (#2862) 2025-08-25 17:45:14 -04:00
Alex Janousek
c6da0448fa Fixed disable button, formated time to include time zone (#2850) 2025-08-21 07:05:41 -07:00
Beverly Nguyen
1740c57f08 labeling admin users and jest test 2025-08-19 14:16:19 -07:00
Beverly Nguyen
b1b63c7d5e seperated admin and regular users from ui 2025-08-19 13:00:43 -07:00
Beverly Nguyen
00497b918d fix and update to template manage 2025-08-18 18:14:42 -07: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
0a25d75146 fix filtering to use processing_started time 2025-08-07 18:31:53 -07:00
Beverly Nguyen
e8fb7117c0 Merge branch 'main' into 2813-add-quick-filters 2025-08-07 14:50:01 -07:00
Beverly Nguyen
b6b8223eb2 removed sort 2025-08-07 12:30:25 -07:00
Beverly Nguyen
c779f38258 Refactored the activity table to use meaningful data attributes instead of CSS classes for JavaScript functionality. 2025-08-07 12:29:15 -07:00
Beverly Nguyen
736e7c34f9 backstop reference and table scroll 2025-08-07 11:04:42 -07:00
Beverly Nguyen
43aa02d6f2 no text wrap 2025-08-07 10:55:40 -07:00
Beverly Nguyen
c4c1cc6046 font c hanges 2025-08-07 10:15:11 -07:00
Beverly Nguyen
894e8c7d1b adding status column 2025-08-07 09:57:44 -07:00
Beverly Nguyen
7fc6be815a Merge branch 'main' into 2802-making-the-data-more-scannable-through-better-formatting-and-status-indicators 2025-08-06 13:41:33 -07:00
Beverly Nguyen
463be2a46b add quick filters for easy data consumption without scrolling through many pages 2025-08-06 13:24:28 -07:00
Beverly Nguyen
95421c6d1e cleaning up css and add better visual for pagination 2025-08-05 22:46:49 -07:00
alexjanousekGSA
aa18d1447e Reran reference tests and merged in main to fix conflicts 2025-07-31 17:07:17 -04:00
alexjanousekGSA
1203546a97 Merge branch 'main' into 2589-may-19-zap-scan-fixes
Resolved conflicts by:
- Taking all backstop images from main branch
- Taking .ds.baseline from main (with updated line numbers)
- Keeping template literal security fixes in listEntry.js while incorporating main's styling changes
- Taking main's config.py updates (LOGO_CDN_DOMAIN and formatting)
2025-07-31 16:08:12 -04:00
alexjanousekGSA
611ada696f Security scan updates 2025-07-31 12:47:40 -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
ab7b262c01 Fixed more unit tests 2025-07-31 08:14:58 -04:00
alexjanousekGSA
b1e5b8d110 Fixed merge conflict 2025-07-31 07:53:37 -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
e828f78853 fixing pagination and download links along with tests 2025-07-28 17:04:53 -07:00
Alex Janousek
4d467fdb99 Merge pull request #2762 from GSA/migrate/govuk-width-container
Complete govuk-width-container migration and fix add-org template
2025-07-22 15:36:22 -04:00
alexjanousekGSA
45607148aa Migrate 4 govuk utility components to USWDS equivalents 2025-07-22 15:17:01 -04:00
alexjanousekGSA
a196827da8 Complete govuk-width-container migration and fix add-org template 2025-07-22 08:57:05 -04:00
Beverly Nguyen
ce4829b717 new enum view_activity, _manage_users, send_emails 2025-07-21 14:24:11 -07:00
Beverly Nguyen
126188cea1 added manage_templates to enum 2025-07-16 22:30:48 -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
6b2d783b37 Removed govuk header css and migrated to uswds 2025-07-11 16:32:59 -03:00
alexjanousekGSA
793e51a3a2 Updated checkboxes to uswds 2025-07-11 10:32:00 -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
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