Commit Graph

5810 Commits

Author SHA1 Message Date
Beverly Nguyen
507c33a4db Add services overview table to organization dashboard 2025-10-16 17:42:42 -07:00
Beverly Nguyen
847101fbf6 add test 2025-10-16 16:56:29 -07:00
Beverly Nguyen
a89163ce28 updated the styling 2025-10-16 14:58:27 -07:00
Beverly Nguyen
fb528f03a8 Add organization message usage and service counts to dashboard
- Fetch organization message allowance from API endpoint
- Display messages sent, remaining, and total limit on dashboard
- Add service count statistics (total, live, trial, suspended)
- Pass message usage data to template for chart visualization
2025-10-16 14:39:01 -07:00
Beverly Nguyen
11d7f5839d Add Service Status and message usage count 2025-10-14 15:28:58 -07:00
Beverly Nguyen
14c4f3a726 we only need current financial year 2025-10-14 12:59:49 -07:00
Beverly Nguyen
f4d326738c added feature flag 2025-10-14 12:37:12 -07:00
Beverly Nguyen
1e58c3d9fa Merge branch 'main' into 2966-create-organization-dashboard-pageroutetemplate-page 2025-10-14 12:33:46 -07:00
Beverly Nguyen
08d39d7bad Moved usage to it's own route to not confuse with dashboard 2025-10-14 12:27:15 -07: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
d44d7e8c1f remove caseworker 2025-10-14 00:34:29 -07:00
Beverly Nguyen
a013f30600 remove view_notifications unsed code 2025-10-08 16:37:42 -07:00
Beverly Nguyen
6d84b38b1b css fix 2025-10-07 14:30:36 -07:00
Beverly Nguyen
b83416d281 Fix "Data available for X days" text disappearing on job details page 2025-10-07 13:33:25 -07:00
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
Beverly Nguyen
0168331390 adding total chart 2025-10-06 18:12:31 -07:00
Beverly Nguyen
68ebcf88f5 set up org dashboard 2025-10-06 14:12:46 -07: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