Commit Graph

4246 Commits

Author SHA1 Message Date
Beverly Nguyen
b60614ec6c Allow org admin to send messages within a service 2025-12-08 13:29:01 -08:00
Beverly Nguyen
dc14da9638 3110 dashboard design feedback & permission changes (#3142)
* update org dashboard

* allowing org admins to access serviecs within an org

* fix test
2025-12-08 20:26:00 +00:00
Beverly Nguyen
a81c9d0ff0 Remove SMS Total Message Limit from Org Dash (#3144)
* Remove SMS Total Message Limit from Org Dash

* update text

* pytest
2025-12-08 12:12:19 -05:00
Beverly Nguyen
4d8cc358b4 org test 2025-11-19 19:55:24 -08:00
Beverly Nguyen
21d0d1ffe1 add delete helper 2025-11-11 12:18:16 -08:00
Beverly Nguyen
d7e5a61142 EMAIL_REGEX complied and css updates 2025-11-07 07:23:01 -05:00
Beverly Nguyen
981216689a adding escaping 2025-11-07 07:22:54 -05:00
Beverly Nguyen
8ee2d386c7 Add service editing to organization dashboard with confirmation modal
- Add edit form for service name, primary contact, and status
- Add confirmation modal before saving changes
- Refactor dashboard actions into helper functions
- Add validation for service name and email format
2025-11-07 07:22:53 -05:00
Alex Janousek
634824b0d3 Merged in main 2025-11-06 14:36:04 -05:00
Alex Janousek
937417480e SCSS refactor, theme cleanup 2025-11-05 09:24:31 -05:00
Beverly Nguyen
820b6d2e78 fix test 2025-10-30 17:30:20 -07:00
Beverly Nguyen
fca008eba3 Merge branch 'main' into 3062-create-an-edit-modal 2025-10-30 14:59:09 -07:00
Beverly Nguyen
6e20ebb7fa Added new buttons for forms to be inline and visual highlight 2025-10-30 14:14:17 -07:00
Alex Janousek
32f82cce91 Removed dead code and dead depcrecated route 2025-10-30 14:36:30 -04:00
Beverly Nguyen
949f09bb70 Add inline forms to organization dashboard for creating services and inviting users 2025-10-30 10:00:52 -07:00
Alex Janousek
3a3458e184 Potential fix for code scanning alert no. 23: URL redirection from remote source (#3064)
* Potential fix for code scanning alert no. 23: URL redirection from remote source

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

* Removed helper function

---------

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-10-30 11:47:27 -04:00
Beverly Nguyen
f0ca651561 Merge branch 'main' into 3021-create-aggregate-table-of-services-per-org 2025-10-28 13:20:59 -07:00
Beverly Nguyen
304efabeec update test 2025-10-27 17:28:31 -07:00
Beverly Nguyen
9ead834492 adding templates and refactor to use dashboard data endpoint 2025-10-24 14:40:17 -07:00
Beverly Nguyen
06b4ecbbcf Bug Fix: One-off button is missing for users with only ‘send message’ permission. 2025-10-23 11:47:29 -07:00
Beverly Nguyen
b76ab1a679 update date format 2025-10-21 14:37:27 -07:00
Beverly Nguyen
0a3d21215c get service and usage 2025-10-21 12:26:56 -07:00
Beverly Nguyen
ba01e6e388 Merge branch 'main' of github.com:GSA/notifications-admin into 3021-create-aggregate-table-of-services-per-org 2025-10-21 11:13:01 -07:00
Beverly Nguyen
3127de7711 refactor 2025-10-20 12:26:07 -07:00
Beverly Nguyen
afef4978f9 refactor org model and removed enum 2025-10-20 12:11:01 -07:00
Beverly Nguyen
507c33a4db Add services overview table to organization dashboard 2025-10-16 17:42:42 -07:00
Beverly Nguyen
3e5bc0917c refactor 2025-10-16 14:44:45 -07:00
Beverly Nguyen
a8400c1881 add enums 2025-10-16 14:41:13 -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
8877087c28 Merge remote-tracking branch 'origin/main' into 2967-calculate-an-organizations-message-usage-for-current-agreement-period 2025-10-16 12:45:28 -07:00
Beverly Nguyen
69bee58170 adding todo 2025-10-15 16:45:35 -07:00
Beverly Nguyen
11d7f5839d Add Service Status and message usage count 2025-10-14 15:28:58 -07:00
Beverly Nguyen
2db7152bc4 sanitize 2025-10-14 13:37:04 -07:00
Beverly Nguyen
e041ea433f f-strings instead of .format() 2025-10-14 13:32:11 -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
ccostino
54fd592b28 Merge pull request #2991 from GSA/2986-remove-unused-notifications-routes-from-jobspy
Remove view_notifications unused code
2025-10-14 08:54:40 -04:00
Beverly Nguyen
9efc3b36b3 removing view_notifications from other templates 2025-10-09 17:57:59 -07:00
Kenneth Kehl
e8d8773351 fix so we only show up to current month 2025-10-09 07:31:15 -07:00
Beverly Nguyen
a013f30600 remove view_notifications unsed code 2025-10-08 16:37:42 -07:00
Kenneth Kehl
2dd73d195b reverse template usage 2025-10-08 12:10:01 -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
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