Commit Graph

615 Commits

Author SHA1 Message Date
Beverly Nguyen
77d9bfb870 added encoded for defense 2025-11-12 11:03:51 -08:00
Beverly Nguyen
63d65c0305 add js delete function 2025-11-12 10:57:32 -08:00
Beverly Nguyen
d7e5a61142 EMAIL_REGEX complied and css updates 2025-11-07 07:23:01 -05:00
Beverly Nguyen
f57ad08007 ove organization dashboard JS to separate file 2025-11-07 07:22:53 -05:00
Alex Janousek
937417480e SCSS refactor, theme cleanup 2025-11-05 09:24:31 -05:00
Alex Janousek
bb43d81a0e One last tweak 2025-10-29 09:49:44 -04:00
Alex Janousek
3ec039cdf7 PR changes 2025-10-28 17:42:25 -04:00
Alex Janousek
950ff9ae35 Removed jquery 2025-10-27 12:42:58 -04:00
Alex Janousek
21a8b1784e Updated template folder form to not use jquery 2025-10-24 13:19:02 -04:00
Alex Janousek
cedfd4fe04 Another file converted 2025-10-23 12:04:26 -04:00
Alex Janousek
2fdb0e30f9 Another converted file 2025-10-22 14:38:01 -04:00
Alex Janousek
51c7587637 Converted another js file 2025-10-22 08:49:49 -04:00
Alex Janousek
d119ac9c18 2 more files converted 2025-10-21 16:38:35 -04:00
Alex Janousek
5e32691393 More javascript converted 2025-10-21 11:06:08 -04:00
Alex Janousek
2ba8779c9b Converted more files 2025-10-21 09:35:41 -04:00
Alex Janousek
c53c9f5c91 Removed jquery from a few simple javascript files 2025-10-20 18:44:33 -04:00
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
Beverly Nguyen
809c5b5dee fix timeout-popup 2025-10-08 11:59:30 -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
bc474c9206 Bugfix/polling improvements - Pointing polling to new backend endpoint designed for status only (#2949)
* Optimizing polling

* Fixed formatting issue

* Pointed new endpoint to new backend polling endpoint

* Missed a unit test update

* Fixed flake issue
2025-09-26 14:51:29 -04:00
Alex Janousek
a40c8861bf Optimizing polling (#2946)
* Optimizing polling

* Fixed formatting issue
2025-09-26 06:57:18 -04:00
Beverly Nguyen
d8424e954d Add missing 'finished' field 2025-09-22 12:13:15 -07:00
Beverly Nguyen
714db97b97 adding retry 2025-09-22 11:09:51 -07:00
Alex Janousek
8057c7f8dc Consolidating code ql findings (#2920)
* Consolidating code ql findings

* Added ref files for backstop to set baseline for removing custom js file

* Potential fix for code scanning alert no. 32: URL redirection from remote source

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Removed unused large file

* Fixed import order

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-09-18 16:42:39 -04:00
Beverly Nguyen
4fc131de66 update error handling 2025-09-17 10:00:29 -07:00
Beverly Nguyen
42c5d6183e fix jest testing 2025-09-15 13:37:48 -07:00
Beverly Nguyen
f765f19c3b improve polling performance and remove unused updateContent module 2025-09-15 13:16:13 -07:00
Beverly Nguyen
c8be3d37bd rm updateContent.js 2025-09-15 00:44:07 -07:00
Beverly Nguyen
728038f161 prevent click event bubbling up 2025-08-19 13:16:52 -07:00
Beverly Nguyen
e8fb7117c0 Merge branch 'main' into 2813-add-quick-filters 2025-08-07 14:50:01 -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
463be2a46b add quick filters for easy data consumption without scrolling through many pages 2025-08-06 13:24:28 -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
Beverly Nguyen
cb84fba9f6 Merge pull request #2794 from GSA/2085-conditional-within-the-my-activity-page-needs-to-be-fixed
Fix empty table display in My activity view when user has no jobs
2025-07-31 12:15:28 -07:00
alexjanousekGSA
611ada696f Security scan updates 2025-07-31 12:47:40 -04:00
alexjanousekGSA
6942a2843d Tweaked a few more issues 2025-07-31 09:24:44 -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
260a58986b Fix empty table display in My activity view when user has no jobs 2025-07-29 22:23:59 -07:00
alexjanousekGSA
3e2fe8be04 Updated and tested all buttons 2025-07-02 21:30:00 -04:00
Beverly Nguyen
9414929b8a Improve folder permissions on invite team member page:
- Default folder permissions to unchecked instead of all selected
- Add Select all/Deselect all toggle button that appears when expanded
2025-06-23 15:05:36 -07:00
Beverly Nguyen
3354b38b8e adding choose 2025-06-11 14:12:49 -07:00
Beverly Nguyen
97c1093de7 dynamically update title and page descriptions 2025-06-11 14:09:17 -07:00
Beverly Nguyen
312cdf08fa added no results found and no live search on /template page 2025-06-09 17:58:43 -07:00
Beverly Nguyen
fa158cd762 - Clears any selected checkboxes to prevent form submission issues
- Fix search functionality to respect .template-list-item-hidden-by-default
- Add missing "No templates found" message to template search
- Ensure nested template items remain hidden when searching and clearing search
- Hides all template items when clicking "New template" button
- Shows everything again when exiting the "new template" state
2025-06-09 16:35:01 -07:00
Beverly Nguyen
f5690c3384 Added a "No results found" 2025-05-28 11:59:54 -07:00