Commit Graph

44 Commits

Author SHA1 Message Date
Alex Janousek
937417480e SCSS refactor, theme cleanup 2025-11-05 09:24:31 -05: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
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
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
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
260a58986b Fix empty table display in My activity view when user has no jobs 2025-07-29 22:23:59 -07:00
alexjanousekGSA
f13ab20e93 Updated FE to allow stats by user 2025-03-18 11:09:09 -04:00
Alex Janousek
102d005e0d Merge pull request #2362 from GSA/feat/fe-tz-change
Added local/utc time conversion for text metrics
2025-02-26 14:59:44 -05:00
alexjanousekGSA
c37bb44e0a Added unit tests for new utc conversion logic 2025-02-26 11:11:47 -05:00
Beverly Nguyen
5020964fb1 height more visible for stacked bars 2025-01-30 09:56:53 -08:00
Beverly Nguyen
5f8d5996aa cleaning up dup codes 2025-01-29 18:23:26 -08:00
Beverly Nguyen
cae2ec1a6d refactor naming 2025-01-23 11:53:27 -08:00
Beverly Nguyen
8f30f9320a Merge branch 'main' into 2199-add-pending-message-data-to-daily-and-user_daily-stats 2025-01-23 11:26:53 -08:00
Beverly Nguyen
fb1609e71c merge main 2025-01-21 16:12:21 -08:00
Beverly Nguyen
dfe421b361 refactor code 2025-01-16 17:33:55 -08:00
Beverly Nguyen
607e112905 updated fetching interval 2025-01-15 12:07:40 -08:00
Beverly Nguyen
cd90682958 fixed drop down 2025-01-14 13:49:40 -08:00
Beverly Nguyen
5c0eb91dd4 poetry 2025-01-14 12:14:35 -08:00
Beverly Nguyen
2159a9ddc5 clean up 2025-01-14 11:48:23 -08:00
Beverly Nguyen
6d008d4e45 clean up 2025-01-13 15:54:04 -08:00
Beverly Nguyen
30293d9774 draft dash 2025-01-09 16:20:33 -08:00
Beverly Nguyen
a3db0a9fc0 first round 2025-01-06 16:31:52 -08:00
Jonathan Bobel
a65f9f9bbf Updates to the js and tests 2024-10-09 12:46:19 -04:00
Jonathan Bobel
98fb68ad14 Updated to table captions and hiding the legend on the dashboard if it's empty 2024-10-08 16:05:00 -04:00
Beverly Nguyen
1768a4bbd9 changed scale y 2024-08-23 18:31:05 -07:00
Jonathan Bobel
1eb54f8252 Activity chart updates 2024-08-16 11:27:48 -04:00
Beverly Nguyen
68fbdb2bb8 added fetch to jest 2024-08-14 15:59:44 -07:00
Beverly Nguyen
cbffcff1cd removed fetch on resize and redraw tooltip 2024-08-14 15:33:22 -07:00
Beverly Nguyen
b9d1ae5ad8 refactoring fetch for activity chart 2024-08-14 13:45:24 -07:00
Jonathan Bobel
0fabcabeb3 Merge branch 'main' of https://github.com/GSA/notifications-admin into 1674-match-recent-batches-to-wireframe
# Conflicts:
#	tests/app/main/views/test_dashboard.py
#	tests/javascripts/activityChart.test.js
2024-08-13 14:57:01 -04:00
Beverly Nguyen
a0e177b99b add comments 2024-08-12 11:51:20 -07:00
Beverly Nguyen
96d6415578 add comments 2024-08-12 11:47:56 -07:00
Beverly Nguyen
de27071112 fixed js errors 2024-08-09 14:49:16 -07:00
Beverly Nguyen
9e6f87ace1 removed socket io 2024-08-09 14:29:14 -07:00
Jonathan Bobel
064cae7c31 Merge branch 'main' of https://github.com/GSA/notifications-admin into 1674-match-recent-batches-to-wireframe
# Conflicts:
#	tests/javascripts/activityChart.test.js
2024-08-08 15:07:03 -04:00
Beverly Nguyen
ad2151b637 fix 400 errors 2024-08-06 17:28:14 -07:00
Jonathan Bobel
d6079a463d Adding the ability to switch tables in the js
Updating css
Testing updated js
2024-08-05 16:05:54 -04:00
Jonathan Bobel
7715e6b275 Removing commented code - PR comment 2024-07-31 12:15:55 -04:00
Jonathan Bobel
1912ffbbcf Merge branch 'main' of https://github.com/GSA/notifications-admin into 1484-dashboard-visualizations
# Conflicts:
#	app/assets/sass/uswds/_uswds-theme-custom-styles.scss
#	app/templates/views/dashboard/dashboard.html
#	gulpfile.js
#	tests/app/main/views/test_dashboard.py
2024-07-30 10:45:53 -04:00
Jonathan Bobel
5cf05bd4b6 Missing semicolons 2024-07-18 16:14:25 -04:00
Jonathan Bobel
5f5f6a948b Fixing build errors 2024-07-18 15:59:27 -04:00
Jonathan Bobel
c80645b11c Changes to fix a build error and removing dummy Failed data 2024-07-18 15:52:27 -04:00
Jonathan Bobel
afd82f3742 Separated the js to make it easier to test 2024-07-18 15:27:17 -04:00