Commit Graph

531 Commits

Author SHA1 Message Date
Beverly Nguyen
108e889ac5 added example of fetch 2024-05-30 14:48:25 -07:00
Jonathan Bobel
8331456318 id update 2024-05-30 10:22:58 -04:00
Jonathan Bobel
f6e7402be9 Merge branch 'main' of https://github.com/GSA/notifications-admin into 1484-dashboard-visualizations
# Conflicts:
#	app/templates/new/components/head.html
2024-05-29 15:04:22 -04:00
Jonathan Bobel
5f4804f65a Creating a mid-width for the sent messages area so it's visible if the number is lower than 1% 2024-05-24 13:34:05 -04:00
Jonathan Bobel
473eefb5b0 Tentatively finished up the tabbed area with weekly/monthly/yearly stacked bar charts with dummy data 2024-05-24 10:29:01 -04:00
Beverly Nguyen
04f0a173ac added sms_sent and sms_remaining data to the bar chart 2024-05-23 18:12:57 -07:00
Beverly Nguyen
ad68c26450 installing socketIO and testing the WebSocket connection 2024-05-20 16:21:38 -07:00
Jonathan Bobel
e49ee06ffa 1544 - Data visualization for Total Message Allowance 2024-05-16 16:10:48 -04:00
Jonathan Bobel
c6a116c9bb Commit before branch switch 2024-05-16 11:38:22 -04:00
Beverly Nguyen
d4a46ae552 installing chart.js via npm 2024-05-15 15:40:15 -07:00
Jonathan Bobel
ccfc1166a7 commit before branch switch 2024-05-15 14:48:46 -04:00
Beverly Nguyen
5546de66c4 testing chart plain vanilla 2024-05-15 11:39:03 -07:00
Jonathan Bobel
f517180581 Experimenting with chart.js 2024-05-14 15:45:33 -04:00
Jonathan Bobel
afdc0ed58d 1484 - Dashboard visualizations 2024-05-03 11:10:41 -04:00
Carlo Costino
88c7f9590f Removing extraneous space 2024-03-15 13:07:50 -04:00
Jonathan Bobel
be2dc9a165 1319 - BUG - adjusting the js to only run when the targeted DOM element exists 2024-03-15 10:42:20 -04:00
Jonathan Bobel
0ae369d54b Updated the date to April 16th instead of April 9 2024-03-12 13:27:37 -04:00
Jonathan Bobel
507973f9ae Edited the test, updated content 2024-03-01 09:34:25 -05:00
Jonathan Bobel
d5f40dffe1 Commit before merge 2024-02-27 11:53:51 -05:00
Jonathan Bobel
f97bfa863f Updated button styles 2024-01-30 15:28:15 -05:00
Jonathan Bobel
0021d64253 1166 - Adjusting the card width and wrapping styles 2024-01-30 15:23:21 -05:00
stvnrlly
b23e0e2b41 remove vestigial cookie js 2023-12-20 12:27:45 -05:00
stvnrlly
73b367f4cf delete cookie stuff to even out js converage 2023-12-18 16:30:59 -05:00
stvnrlly
f600dd95d6 remove email branding 2023-12-18 16:10:12 -05:00
Jonathan Bobel
c611fe38c9 945 - Fixed the javascript so it's not breaking every page this element is not on 2023-11-27 16:19:54 -05:00
Jonathan Bobel
06a15c5afc 927 - Updates to math in Dashboard area 2023-11-16 12:02:59 -05:00
Carlo Costino
a46a21a519 Revert recent changes for window location updates
There are a few other things at play that will require more investigation at a future date:

- Why window.location.assign() or history.pushState() do not work
- If any other config or polyfills are needed with JSDOM

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-12 10:00:30 -04:00
Carlo Costino
4fff35590b Attempt at fixing sign-out link after session expires
Note that this still does not seem to work; needs more investigation, but not a showstopper for the feature going out!

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-11 17:10:53 -04:00
Carlo Costino
d4d36087d4 Swapped resetting window.location.href to using window.location.assign
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-10-11 15:48:30 -04:00
Andrew Shumway
76f9c5e6ab Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-678 2023-10-10 11:00:37 -06:00
Jonathan Bobel
fd196c6534 814 - Adding alert component to CSV error area 2023-10-05 16:20:37 -04:00
Andrew Shumway
efce22b171 Put timer back to 25 minutes 2023-10-02 15:21:00 -06:00
Andrew Shumway
93ac55ce35 Separate logout by user or inactivity 2023-10-02 15:20:23 -06:00
Andrew Shumway
00db493305 Clean up code/tests 2023-10-02 14:48:35 -06:00
Carlo Costino
57f2ee798b Made several adjustments for session timer tests
- Turned the timeoutPopup module into a proper module that is exported
- Pulled out the setInterval inner function to be its own method
- Adjusted the session timer tests to have additional setup and teardown pieces
- Added a few tests

There may be some additional adjustments needed, e.g., we may not have to expose all of the methods, but then we have to figure out how to make them accessible in the tests another way.

h/t @A-Shumway42 for pairing with me to review all of these changes and approach!

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-09-28 15:31:08 -04:00
Andrew Shumway
d7e7a082cd Put timer back to 25 minute kickoff 2023-09-27 11:37:43 -06:00
Andrew Shumway
25190117dc Remove attempts to export module 2023-09-27 11:24:46 -06:00
Andrew Shumway
9846379c0f Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-678 2023-09-27 11:15:46 -06:00
Jonathan Bobel
dedb41f67e Fixing styling issues on the send message flow 2023-09-15 12:26:31 -04:00
Andrew Shumway
d856e39484 Create export of session timer for tests 2023-09-14 08:56:46 -06:00
Andrew Shumway
f257a38084 Refactor code/initial tests 2023-09-13 12:44:40 -06:00
Jonathan Bobel
c6e356c315 Changed a few things for accessibility 2023-09-12 15:17:06 -04:00
Andrew Shumway
42cd3b4a0e Moved html to footer 2023-09-12 11:30:27 -06:00
Andrew Shumway
92953676c4 Added user authentication check to timer 2023-09-08 13:51:12 -06:00
Jonathan Bobel
1507199e6b Altered the modal a bit to use USWDS styling and the dialog element - still needs some cleanup but passing it back off to Andrew 2023-09-07 16:41:55 -04:00
Andrew Shumway
559965c479 Merge branch 'main' of https://github.com/GSA/notifications-admin into notify-678 2023-09-07 08:39:14 -06:00
Andrew Shumway
8712d7d822 Functionality for session timer display 2023-09-07 08:38:41 -06:00
Jonathan Bobel
8ab550a22f Radio buttons and list edits 2023-08-25 15:31:44 -04:00
Jonathan Bobel
a388178e2a Removing or changing more govuk styles 2023-08-25 10:40:56 -04:00
Jonathan Bobel
966e929d47 Got the tests to work 2023-08-23 11:24:35 -04:00